pax_global_header 0000666 0000000 0000000 00000000064 14716276021 0014520 g ustar 00root root 0000000 0000000 52 comment=427f517f1f5446617b2bf5d4bc24504a941a7074 freeRtr-24.11.16/ 0000775 0000000 0000000 00000000000 14716276021 0013365 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/.github/ 0000775 0000000 0000000 00000000000 14716276021 0014725 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/.github/workflows/ 0000775 0000000 0000000 00000000000 14716276021 0016762 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/.github/workflows/codeql.yml 0000664 0000000 0000000 00000002162 14716276021 0020755 0 ustar 00root root 0000000 0000000 name: CodeQL on: push: branches: [ master ] pull_request: branches: [ master ] schedule: - cron: '43 15 * * 3' jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: [ 'cpp', 'java', 'python' ] steps: - name: Checkout repository uses: actions/checkout@v3 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} - if: matrix.language == 'cpp' name: build cpp run: | sudo apt-get -y update || true for a in gcc clang libpcap-dev libssl-dev dpdk-dev libbpf-dev libmnl-dev ; do sudo apt-get -y install $a || true done cd misc/native ./c.sh - if: matrix.language == 'java' name: build cpp run: | sudo apt-get update sudo apt-get -y install default-jdk-headless cd src ./c.sh - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 freeRtr-24.11.16/.github/workflows/sonarqube.yml 0000664 0000000 0000000 00000000716 14716276021 0021510 0 ustar 00root root 0000000 0000000 name: SonarQube on: #disabled until fixed # push: # branches: [ master ] # pull_request: # branches: [ master ] schedule: - cron: '43 15 * * 3' jobs: sonarQubeTrigger: name: SonarQube Trigger runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: SonarQube Scan uses: kitabisa/sonarqube-action@v1.1.1 with: host: ${{ secrets.SONARQUBE_HOST }} login: ${{ secrets.SONARQUBE_TOKEN }} freeRtr-24.11.16/backup.sh 0000775 0000000 0000000 00000002626 14716276021 0015177 0 ustar 00root root 0000000 0000000 #!/bin/sh chmod -x `find . -executable -name "*.class"` 2> /dev/null chmod -x `find . -executable -name "*.java"` 2> /dev/null chmod -x `find . -executable -name "*.tmpl"` 2> /dev/null chmod -x `find . -executable -name "*.asm"` 2> /dev/null chmod -x `find . -executable -name "*.pas"` 2> /dev/null chmod -x `find . -executable -name "*.tcl"` 2> /dev/null chmod -x `find . -executable -name "*.pyc"` 2> /dev/null chmod -x `find . -executable -name "*.lua"` 2> /dev/null chmod -x `find . -executable -name "*.zip"` 2> /dev/null chmod -x `find . -executable -name "*.tst"` 2> /dev/null chmod -x `find . -executable -name "*.ini"` 2> /dev/null chmod -x `find . -executable -name "*.txt"` 2> /dev/null chmod -x `find . -executable -name "*.p4"` 2> /dev/null chmod -x `find . -executable -name "*.py"` 2> /dev/null chmod -x `find . -executable -name "*.c"` 2> /dev/null chmod -x `find . -executable -name "*.h"` 2> /dev/null echo -n `cd misc/trackmap;./d.sh` echo -n `cd misc/android;./d.sh` echo -n `cd misc/gallery;./d.sh` echo -n `cd misc/applet;./d.sh` echo -n `cd misc/p4bmv2;./d.sh` echo -n `cd misc/player;./d.sh` echo -n `cd misc/temper;./d.sh` echo -n `cd misc/mailer;./d.sh` echo -n `cd misc/paster;./d.sh` echo -n `cd misc/motion;./d.sh` echo -n `cd misc/voice;./d.sh` echo -n `cd misc/rfcs;./d.sh` echo `cd src;./d.sh` rm ipv*.mrt 2> /dev/null rm rtr.zip 2> /dev/null zip -r rtr.zip src cfg misc *.sh *.txt *.md >/dev/null freeRtr-24.11.16/cfg/ 0000775 0000000 0000000 00000000000 14716276021 0014124 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/cfg/basic01.tst 0000664 0000000 0000000 00000001007 14716276021 0016100 0 ustar 00root root 0000000 0000000 description dummy test addrouter r1 ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit ! r1 send sh ver r1 read place r1 read # r1 send sh plat r1 tping 100 5 1.1.1.1 vrf v1 rep 1 r1 output show version r1 output show platform output ../binTmp/basic1.html
here is the version information:show:0here is the platform information:
show:1! freeRtr-24.11.16/cfg/basic02.tst 0000664 0000000 0000000 00000000417 14716276021 0016105 0 ustar 00root root 0000000 0000000 description interface with slot addrouter r1 ! vrf def v1 rd 1:1 exit int lo1/1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int lo0/0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.1 vrf v1 rep 1 r1 tping 100 5 2.2.2.2 vrf v1 rep 1 freeRtr-24.11.16/cfg/basic03.tst 0000664 0000000 0000000 00000000466 14716276021 0016112 0 ustar 00root root 0000000 0000000 description subinterface with slot addrouter r1 ! vrf def v1 rd 1:1 exit int lo1/1 exit int lo1/1.1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int lo0/0 exit int lo0/0.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.1 vrf v1 rep 1 r1 tping 100 5 2.2.2.2 vrf v1 rep 1 freeRtr-24.11.16/cfg/conn-amt01.tst 0000664 0000000 0000000 00000002023 14716276021 0016532 0 ustar 00root root 0000000 0000000 description amt over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode amt tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode amt tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-amt.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-amt02.tst 0000664 0000000 0000000 00000001470 14716276021 0016540 0 ustar 00root root 0000000 0000000 description amt over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode amt tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode amt tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-amt03.tst 0000664 0000000 0000000 00000002110 14716276021 0016531 0 ustar 00root root 0000000 0000000 description amt over amt addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode amt tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode amt tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode amt tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode amt tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-amt04.tst 0000664 0000000 0000000 00000001741 14716276021 0016543 0 ustar 00root root 0000000 0000000 description amt over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode amt tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode amt tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-anyconn.tst 0000664 0000000 0000000 00000002665 14716276021 0017271 0 ustar 00root root 0000000 0000000 description ip over anyconnect addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit aaa userlist usr username c password c exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 ipv6 pool p6 2222::1 ::1 254 int di1 enc raw vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ipv6 addr 2222::0 ffff:ffff:ffff:ffff:: ipv4 pool p4 ipv6 pool p6 exit server http h host * path ./ host * anyconn dialer1 host * authen usr vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc raw vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.0 ipv6 route v1 :: :: 2222::0 vpdn anyconn int di1 proxy p1 tar http://1.1.1.1/ user c pass c prot anyconn exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 60 2222::0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-anyconn.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-arcnet.tst 0000664 0000000 0000000 00000001277 14716276021 0017076 0 ustar 00root root 0000000 0000000 description arcnet encapsulation addrouter r1 int arcnet1 arc - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int arcnet1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int arcnet1 arc - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int arcnet1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show interface arcnet1 full output ../binTmp/conn-arcnet.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-atmdxi.tst 0000664 0000000 0000000 00000001400 14716276021 0017074 0 ustar 00root root 0000000 0000000 description atmdxi encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show interface ser1 full output ../binTmp/conn-atmdxi.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-atmsar.tst 0000664 0000000 0000000 00000001362 14716276021 0017104 0 ustar 00root root 0000000 0000000 description atmsar encapsulation addrouter r1 int atm1 atm - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int atm1 atmsar vpi 123 atmsar vci 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int atm1 atm - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int atm1 atmsar vpi 123 atmsar vci 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show interface atm1 full output ../binTmp/conn-atmsar.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ax2501.tst 0000664 0000000 0000000 00000002254 14716276021 0016536 0 ustar 00root root 0000000 0000000 description ppp with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 r1 output show inter dia1 full output ../binTmp/conn-ax25.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ax2502.tst 0000664 0000000 0000000 00000001617 14716276021 0016541 0 ustar 00root root 0000000 0000000 description hdlc with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ax2503.tst 0000664 0000000 0000000 00000001636 14716276021 0016543 0 ustar 00root root 0000000 0000000 description lapb with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc lapb vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ax2504.tst 0000664 0000000 0000000 00000002012 14716276021 0016531 0 ustar 00root root 0000000 0000000 description framerelay with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ax2505.tst 0000664 0000000 0000000 00000001715 14716276021 0016543 0 ustar 00root root 0000000 0000000 description atmdxi with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ax2506.tst 0000664 0000000 0000000 00000001636 14716276021 0016546 0 ustar 00root root 0000000 0000000 description isdn with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc isdn vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ax2507.tst 0000664 0000000 0000000 00000001614 14716276021 0016543 0 ustar 00root root 0000000 0000000 description sep with ax25 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol ax25 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol ax25 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-bridge01.tst 0000664 0000000 0000000 00000004142 14716276021 0017211 0 ustar 00root root 0000000 0000000 description chain bridged ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.4 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r1 tping 100 5 1234::4 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.4 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::4 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1.1.1.4 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1234::4 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.2 vrf v1 r4 tping 100 5 1.1.1.3 vrf v1 r4 tping 100 5 1234::1 vrf v1 r4 tping 100 5 1234::2 vrf v1 r4 tping 100 5 1234::3 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-bridge.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-bridge02.tst 0000664 0000000 0000000 00000003305 14716276021 0017212 0 ustar 00root root 0000000 0000000 description chain bridged ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1.11 bridge-gr 1 exit int eth2.12 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1.12 bridge-gr 1 exit int eth2.13 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.13 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.4 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r1 tping 100 5 1234::4 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.4 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::4 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1.1.1.4 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1234::4 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.2 vrf v1 r4 tping 100 5 1.1.1.3 vrf v1 r4 tping 100 5 1234::1 vrf v1 r4 tping 100 5 1234::2 vrf v1 r4 tping 100 5 1234::3 vrf v1 freeRtr-24.11.16/cfg/conn-bridge03.tst 0000664 0000000 0000000 00000003315 14716276021 0017214 0 ustar 00root root 0000000 0000000 description star bridged ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.4 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r1 tping 100 5 1234::4 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.4 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::4 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1.1.1.4 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1234::4 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.2 vrf v1 r4 tping 100 5 1.1.1.3 vrf v1 r4 tping 100 5 1234::1 vrf v1 r4 tping 100 5 1234::2 vrf v1 r4 tping 100 5 1234::3 vrf v1 freeRtr-24.11.16/cfg/conn-bridge04.tst 0000664 0000000 0000000 00000002116 14716276021 0017213 0 ustar 00root root 0000000 0000000 description bridged ethernet over hdlc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int ser1 enc hdlc bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int ser1 enc hdlc bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge05.tst 0000664 0000000 0000000 00000002100 14716276021 0017205 0 ustar 00root root 0000000 0000000 description bridged ethernet over ppp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int ser1 enc ppp bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int ser1 enc ppp bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge06.tst 0000664 0000000 0000000 00000002224 14716276021 0017215 0 ustar 00root root 0000000 0000000 description bridged ethernet over framerelay addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int ser1 enc framerelay framerelay dlci 123 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge07.tst 0000664 0000000 0000000 00000002201 14716276021 0017211 0 ustar 00root root 0000000 0000000 description bridged ethernet over atmdxi addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge08.tst 0000664 0000000 0000000 00000002151 14716276021 0017216 0 ustar 00root root 0000000 0000000 description bridged ethernet over atmsar addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int atm1 atm - $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int atm1 atmsar vpi 1 atmsar vci 2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int atm1 atm - $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int atm1 atmsar vpi 1 atmsar vci 2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge09.tst 0000664 0000000 0000000 00000002642 14716276021 0017224 0 ustar 00root root 0000000 0000000 description bridged ethernet over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet2 tunnel destination 9999::2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge10.tst 0000664 0000000 0000000 00000002054 14716276021 0017211 0 ustar 00root root 0000000 0000000 description bridge with spantree addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 stp-priority 40960 stp-mode ieee mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ int eth3 eth 0000.0000.2222 $4a$ $4b$ int eth4 eth 0000.0000.2222 $4b$ $4a$ ! vrf def v1 rd 1:1 exit bridge 1 stp-priority 20480 stp-mode ieee mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bridge11.tst 0000664 0000000 0000000 00000002232 14716276021 0017210 0 ustar 00root root 0000000 0000000 description bridged ethernet over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit bridge 2 mac-learn exit bridge 3 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 2 exit int bvi1 bridge-gr 3 exit int bvi2 bridge-gr 3 exit int bvi3 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge12.tst 0000664 0000000 0000000 00000001773 14716276021 0017222 0 ustar 00root root 0000000 0000000 description bridge split horizon addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn private exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.4444 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 0 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 0 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 0 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bridge13.tst 0000664 0000000 0000000 00000001770 14716276021 0017220 0 ustar 00root root 0000000 0000000 description bridge mac learning addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.4444 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge14.tst 0000664 0000000 0000000 00000003401 14716276021 0017212 0 ustar 00root root 0000000 0000000 description bridge mac rewrite addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 bridge-ports 0000.1234.1234 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 bridge-macre 0000.1234.1234 exit int eth2 bridge-gr 1 bridge-macre 0000.1234.1234 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.4 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r1 tping 100 5 1234::4 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.4 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::4 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1.1.1.4 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1234::4 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.2 vrf v1 r4 tping 100 5 1.1.1.3 vrf v1 r4 tping 100 5 1234::1 vrf v1 r4 tping 100 5 1234::2 vrf v1 r4 tping 100 5 1234::3 vrf v1 freeRtr-24.11.16/cfg/conn-bridge15.tst 0000664 0000000 0000000 00000003321 14716276021 0017214 0 ustar 00root root 0000000 0000000 description bridge port security addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 bridge-ports 0000.0000.3333 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 macaddr 0000.0000.3333 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 0 5 1.1.1.4 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r1 tping 0 5 1234::4 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 0 5 1.1.1.4 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 0 5 1234::4 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1.1.1.4 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1234::4 vrf v1 r4 tping 0 5 1.1.1.1 vrf v1 r4 tping 0 5 1.1.1.2 vrf v1 r4 tping 100 5 1.1.1.3 vrf v1 r4 tping 0 5 1234::1 vrf v1 r4 tping 0 5 1234::2 vrf v1 r4 tping 100 5 1234::3 vrf v1 freeRtr-24.11.16/cfg/conn-bridge16.tst 0000664 0000000 0000000 00000003271 14716276021 0017221 0 ustar 00root root 0000000 0000000 description bridge static address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 bridge-stat 0000.0000.4444 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 0 5 1.1.1.4 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r1 tping 0 5 1234::4 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 0 5 1.1.1.4 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 0 5 1234::4 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1.1.1.4 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1234::4 vrf v1 r4 tping 0 5 1.1.1.1 vrf v1 r4 tping 0 5 1.1.1.2 vrf v1 r4 tping 100 5 1.1.1.3 vrf v1 r4 tping 0 5 1234::1 vrf v1 r4 tping 0 5 1234::2 vrf v1 r4 tping 100 5 1234::3 vrf v1 freeRtr-24.11.16/cfg/conn-bridge17.tst 0000664 0000000 0000000 00000004431 14716276021 0017221 0 ustar 00root root 0000000 0000000 description bridge port split horizon addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 bridge-fi private exit int eth2 bridge-gr 1 bridge-fi private exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.4444 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.4 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::4 vrf v1 r2 tping 100 5 1234::5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 0 5 1.1.1.3 vrf v1 r1 tping 0 5 1.1.1.4 vrf v1 r1 tping 0 5 1.1.1.5 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 1234::3 vrf v1 r1 tping 0 5 1234::4 vrf v1 r1 tping 0 5 1234::5 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 0 5 1.1.1.1 vrf v1 r3 tping 0 5 1.1.1.4 vrf v1 r3 tping 0 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 0 5 1234::1 vrf v1 r3 tping 0 5 1234::4 vrf v1 r3 tping 0 5 1234::5 vrf v1 r4 tping 0 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.2 vrf v1 r4 tping 0 5 1.1.1.3 vrf v1 r4 tping 100 5 1.1.1.5 vrf v1 r4 tping 0 5 1234::1 vrf v1 r4 tping 100 5 1234::2 vrf v1 r4 tping 0 5 1234::3 vrf v1 r4 tping 100 5 1234::5 vrf v1 r5 tping 0 5 1.1.1.1 vrf v1 r5 tping 100 5 1.1.1.2 vrf v1 r5 tping 0 5 1.1.1.3 vrf v1 r5 tping 100 5 1.1.1.4 vrf v1 r5 tping 0 5 1234::1 vrf v1 r5 tping 100 5 1234::2 vrf v1 r5 tping 0 5 1234::3 vrf v1 r5 tping 100 5 1234::4 vrf v1 freeRtr-24.11.16/cfg/conn-bridge18.tst 0000664 0000000 0000000 00000004440 14716276021 0017222 0 ustar 00root root 0000000 0000000 description bridge port unsplit horizon addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn private exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 bridge-fi public exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.4444 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.4 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::4 vrf v1 r2 tping 100 5 1234::5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 0 5 1.1.1.3 vrf v1 r1 tping 0 5 1.1.1.4 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 1234::3 vrf v1 r1 tping 0 5 1234::4 vrf v1 r1 tping 100 5 1234::5 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 0 5 1.1.1.1 vrf v1 r3 tping 0 5 1.1.1.4 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 0 5 1234::1 vrf v1 r3 tping 0 5 1234::4 vrf v1 r3 tping 100 5 1234::5 vrf v1 r4 tping 0 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.2 vrf v1 r4 tping 0 5 1.1.1.3 vrf v1 r4 tping 100 5 1.1.1.5 vrf v1 r4 tping 0 5 1234::1 vrf v1 r4 tping 100 5 1234::2 vrf v1 r4 tping 0 5 1234::3 vrf v1 r4 tping 100 5 1234::5 vrf v1 r5 tping 100 5 1.1.1.1 vrf v1 r5 tping 100 5 1.1.1.2 vrf v1 r5 tping 100 5 1.1.1.3 vrf v1 r5 tping 100 5 1.1.1.4 vrf v1 r5 tping 100 5 1234::1 vrf v1 r5 tping 100 5 1234::2 vrf v1 r5 tping 100 5 1234::3 vrf v1 r5 tping 100 5 1234::4 vrf v1 freeRtr-24.11.16/cfg/conn-bridge19.tst 0000664 0000000 0000000 00000002645 14716276021 0017230 0 ustar 00root root 0000000 0000000 description bridged ethernet over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet2 tunnel destination 9999::2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 9999::1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bridge20.tst 0000664 0000000 0000000 00000002712 14716276021 0017213 0 ustar 00root root 0000000 0000000 description bridged ethernet over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel key 1234 tunnel mode l2tp3 tunnel source ethernet2 tunnel destination 9999::2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel key 1234 tunnel mode l2tp3 tunnel source ethernet1 tunnel destination 9999::1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r2 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-bstun.tst 0000664 0000000 0000000 00000002544 14716276021 0016753 0 ustar 00root root 0000000 0000000 description ppp over bstun addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit aaa userlist usr username c password c username c privilege 14 exit server bstun bs vrf v1 login authen usr group 123 exec int di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit chat-script login recv 5000 .*ser send c binsend 13 recv 5000 .*ass send c binsend 13 send ppp binsend 13 exit vpdn bs interface di1 proxy p1 script login target 3.3.3.1 vcid 123 protocol bstun exit ! r2 tping 100 30 2.2.2.0 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-bstun.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-bundle01.tst 0000664 0000000 0000000 00000001713 14716276021 0017227 0 ustar 00root root 0000000 0000000 description bundle of ethernet port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bundle 1 exit int eth1 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show bundle 1 r1 output show inter bun1 full r1 output show ipv4 arp bun1 r1 output show ipv6 neigh bun1 output ../binTmp/conn-bundle.html here is the bundle:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-bundle02.tst 0000664 0000000 0000000 00000001017 14716276021 0017225 0 ustar 00root root 0000000 0000000 description bundle of serial port addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit bundle 1 no ether exit int ser1 enc hdlc bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle03.tst 0000664 0000000 0000000 00000001307 14716276021 0017230 0 ustar 00root root 0000000 0000000 description bundle of ethernet ports addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle04.tst 0000664 0000000 0000000 00000001245 14716276021 0017232 0 ustar 00root root 0000000 0000000 description bundle of serial ports addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 no ether exit int ser1 bundle-gr 1 exit int ser2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit bundle 1 no ether exit int ser1 bundle-gr 1 exit int ser2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle05.tst 0000664 0000000 0000000 00000001075 14716276021 0017234 0 ustar 00root root 0000000 0000000 description bundle over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bundle 1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle06.tst 0000664 0000000 0000000 00000001075 14716276021 0017235 0 ustar 00root root 0000000 0000000 description bridge over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bundle 1 exit bridge 1 exit int eth1 bundle-gr 1 exit int bun1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle07.tst 0000664 0000000 0000000 00000001345 14716276021 0017236 0 ustar 00root root 0000000 0000000 description replicating bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 repl exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bundle 1 repl exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 400 5 1.1.1.2 vrf v1 multi r2 tping 400 5 1.1.1.1 vrf v1 multi r1 tping 400 5 1234::2 vrf v1 multi r2 tping 400 5 1234::1 vrf v1 multi freeRtr-24.11.16/cfg/conn-bundle08.tst 0000664 0000000 0000000 00000001337 14716276021 0017240 0 ustar 00root root 0000000 0000000 description unreplicating bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 repl sequ 8 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bundle 1 repl sequ 8 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle09.tst 0000664 0000000 0000000 00000001773 14716276021 0017245 0 ustar 00root root 0000000 0000000 description dejittering bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 repl sequ 8 deji 300 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bundle 1 repl sequ 8 deji 300 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 0 5 1.1.1.2 vrf v1 tim 100 r2 tping 0 5 1.1.1.1 vrf v1 tim 100 r1 tping 0 5 1234::2 vrf v1 tim 100 r2 tping 0 5 1234::1 vrf v1 tim 100 r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-bundle10.tst 0000664 0000000 0000000 00000002400 14716276021 0017221 0 ustar 00root root 0000000 0000000 description loadbalancing bundle addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 no ethernet loadbalance layer3 exit int ser1 bundle-gr 1 exit int ser2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 exit ! addrouter r3 int ser1 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 send telnet 1.1.1.2 vrf v1 r1 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::1 vrf v1 r1 send exit r1 read closed r1 send telnet 1234::2 vrf v1 r1 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::1 vrf v1 r1 send exit r1 read closed freeRtr-24.11.16/cfg/conn-bundle11.tst 0000664 0000000 0000000 00000002701 14716276021 0017226 0 ustar 00root root 0000000 0000000 description multichassis bundle addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 no ethernet exit int ser1 bundle-gr 1 exit int ser2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int eth1 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bundle 1 no ethernet peer eth1 2 exit int ser1 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 exit ! addrouter r3 int ser1 ser 0000.0000.2222 $2b$ $2a$ int eth1 eth 0000.0000.2222 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bundle 1 no ethernet peer eth1 3 exit int ser1 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 send telnet 1.1.1.2 vrf v1 r1 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::1 vrf v1 r1 send exit r1 read closed r1 send telnet 1234::2 vrf v1 r1 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::1 vrf v1 r1 send exit r1 read closed freeRtr-24.11.16/cfg/conn-bundle12.tst 0000664 0000000 0000000 00000001425 14716276021 0017231 0 ustar 00root root 0000000 0000000 description backup bundle addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bundle 1 no ethernet backup 3000 exit int ser1 bundle-gr 1 exit int ser2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 30 1.1.1.1 vrf v1 r2 tping 100 30 1234::1 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap01.tst 0000664 0000000 0000000 00000002511 14716276021 0017226 0 ustar 00root root 0000000 0000000 description capwap over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.2 protocol capwap exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.1 protocol capwap exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-capwap.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-capwap02.tst 0000664 0000000 0000000 00000001577 14716276021 0017242 0 ustar 00root root 0000000 0000000 description capwap over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::2 protocol capwap exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::1 protocol capwap exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap03.tst 0000664 0000000 0000000 00000002114 14716276021 0017227 0 ustar 00root root 0000000 0000000 description capwap over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.102 protocol capwap exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.101 protocol capwap exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap04.tst 0000664 0000000 0000000 00000002060 14716276021 0017230 0 ustar 00root root 0000000 0000000 description hdlc tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap05.tst 0000664 0000000 0000000 00000002157 14716276021 0017240 0 ustar 00root root 0000000 0000000 description ppp tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap06.tst 0000664 0000000 0000000 00000002116 14716276021 0017234 0 ustar 00root root 0000000 0000000 description lapb tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap07.tst 0000664 0000000 0000000 00000002440 14716276021 0017235 0 ustar 00root root 0000000 0000000 description framerelay tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap08.tst 0000664 0000000 0000000 00000002252 14716276021 0017237 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap09.tst 0000664 0000000 0000000 00000002116 14716276021 0017237 0 ustar 00root root 0000000 0000000 description isdn tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap10.tst 0000664 0000000 0000000 00000002053 14716276021 0017227 0 ustar 00root root 0000000 0000000 description sep tunneling with capwap addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 capwap 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 capwap 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap11.tst 0000664 0000000 0000000 00000002100 14716276021 0017221 0 ustar 00root root 0000000 0000000 description ethernet tunneling with capwap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 capwap 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 capwap 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap12.tst 0000664 0000000 0000000 00000002114 14716276021 0017227 0 ustar 00root root 0000000 0000000 description vlan tunneling with capwap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 capwap 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 capwap 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-capwap13.tst 0000664 0000000 0000000 00000001572 14716276021 0017237 0 ustar 00root root 0000000 0000000 description tunnel interface with capwap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod capwap vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod capwap vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dhcp01.tst 0000664 0000000 0000000 00000001756 14716276021 0016703 0 ustar 00root root 0000000 0000000 description dhcp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv6 prefix-suppress exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server dhcp4 dh4 pool 1.1.1.2 1.1.1.199 gateway 1.1.1.1 netmask 255.255.255.0 interface ethernet1 vrf v1 exit server dhcp6 dh6 netmask ffff:ffff:ffff:ffff:: gateway 1234::1 interface ethernet1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-dhcp02.tst 0000664 0000000 0000000 00000002053 14716276021 0016673 0 ustar 00root root 0000000 0000000 description dhcp with arp/nd security addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv6 prefix-suppress no ipv4 host-learn no ipv6 host-learn exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server dhcp4 dh4 pool 1.1.1.2 1.1.1.199 gateway 1.1.1.1 netmask 255.255.255.0 interface ethernet1 vrf v1 exit server dhcp6 dh6 netmask ffff:ffff:ffff:ffff:: gateway 1234::1 interface ethernet1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-dhcp03.tst 0000664 0000000 0000000 00000002212 14716276021 0016671 0 ustar 00root root 0000000 0000000 description dhcp with static allocation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv6 prefix-suppress exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server dhcp4 dh4 pool 1.1.1.2 1.1.1.199 gateway 1.1.1.1 netmask 255.255.255.0 static 0000.0000.2222 1.1.1.111 interface ethernet1 vrf v1 exit server dhcp6 dh6 netmask ffff:ffff:ffff:ffff:: gateway 1234::1 static 0000.0000.2222 1234::111 interface ethernet1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 r1 tping 100 20 1.1.1.111 vrf v1 r1 tping 100 20 1234::111 vrf v1 freeRtr-24.11.16/cfg/conn-dhcp04.tst 0000664 0000000 0000000 00000003134 14716276021 0016676 0 ustar 00root root 0000000 0000000 description dhcp with excluded address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv6 prefix-suppress exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server dhcp4 dh4 pool 1.1.1.2 1.1.1.199 gateway 1.1.1.1 netmask 255.255.255.0 forbid 0000.0000.2222 interface bvi1 vrf v1 exit server dhcp6 dh6 netmask ffff:ffff:ffff:ffff:: gateway 1234::1 forbid 0000.0000.2222 interface bvi1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r3 tping 100 5 4.4.4.4 vrf v1 r3 tping 100 5 4444::4 vrf v1 r2 tping 0 20 1.1.1.1 vrf v1 r2 tping 0 20 1234::1 vrf v1 r2 tping 0 5 4.4.4.4 vrf v1 r2 tping 0 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-dhcp05.tst 0000664 0000000 0000000 00000001755 14716276021 0016706 0 ustar 00root root 0000000 0000000 description dhcp with upgraded server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv6 prefix-suppress exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server dhcp4 dh4 vrf v1 inter eth1 pool 1.1.1.2 1.1.1.199 gateway 1.1.1.1 netmask 255.255.255.0 exit server dhcp6 dh6 vrf v1 inter eth1 netmask ffff:ffff:ffff:ffff:: gateway 1234::1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-dhcp06.tst 0000664 0000000 0000000 00000001726 14716276021 0016705 0 ustar 00root root 0000000 0000000 description dhcp with interface server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv6 prefix-suppress dhcp4 enable dhcp4 pool 1.1.1.2 1.1.1.199 dhcp4 gateway 1.1.1.1 dhcp4 netmask 255.255.255.0 dhcp6 enable dhcp6 netmask ffff:ffff:ffff:ffff:: dhcp6 gateway 1234::1 exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 gateway-prefix p6 exit ! r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw01.tst 0000664 0000000 0000000 00000002525 14716276021 0016731 0 ustar 00root root 0000000 0000000 description dlsw over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol dlsw exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol dlsw exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-dlsw.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-dlsw02.tst 0000664 0000000 0000000 00000001615 14716276021 0016731 0 ustar 00root root 0000000 0000000 description dlsw over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol dlsw exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol dlsw exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw03.tst 0000664 0000000 0000000 00000002132 14716276021 0016725 0 ustar 00root root 0000000 0000000 description dlsw over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol dlsw exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol dlsw exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw04.tst 0000664 0000000 0000000 00000002050 14716276021 0016725 0 ustar 00root root 0000000 0000000 description hdlc tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw05.tst 0000664 0000000 0000000 00000002147 14716276021 0016735 0 ustar 00root root 0000000 0000000 description ppp tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw06.tst 0000664 0000000 0000000 00000002106 14716276021 0016731 0 ustar 00root root 0000000 0000000 description lapb tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw07.tst 0000664 0000000 0000000 00000002430 14716276021 0016732 0 ustar 00root root 0000000 0000000 description framerelay tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw08.tst 0000664 0000000 0000000 00000002242 14716276021 0016734 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw09.tst 0000664 0000000 0000000 00000002106 14716276021 0016734 0 ustar 00root root 0000000 0000000 description isdn tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw10.tst 0000664 0000000 0000000 00000002043 14716276021 0016724 0 ustar 00root root 0000000 0000000 description sep tunneling with dlsw addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 dlsw 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 dlsw 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw11.tst 0000664 0000000 0000000 00000002070 14716276021 0016725 0 ustar 00root root 0000000 0000000 description ethernet tunneling with dlsw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 dlsw 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 dlsw 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw12.tst 0000664 0000000 0000000 00000002104 14716276021 0016724 0 ustar 00root root 0000000 0000000 description vlan tunneling with dlsw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 dlsw 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 dlsw 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-dlsw13.tst 0000664 0000000 0000000 00000001562 14716276021 0016734 0 ustar 00root root 0000000 0000000 description tunnel interface with dlsw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod dlsw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod dlsw vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan01.tst 0000664 0000000 0000000 00000002535 14716276021 0017251 0 ustar 00root root 0000000 0000000 description erspan over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-erspan.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-erspan02.tst 0000664 0000000 0000000 00000001623 14716276021 0017247 0 ustar 00root root 0000000 0000000 description erspan over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan03.tst 0000664 0000000 0000000 00000002140 14716276021 0017243 0 ustar 00root root 0000000 0000000 description erspan over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan04.tst 0000664 0000000 0000000 00000002056 14716276021 0017252 0 ustar 00root root 0000000 0000000 description hdlc tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan05.tst 0000664 0000000 0000000 00000002155 14716276021 0017253 0 ustar 00root root 0000000 0000000 description ppp tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan06.tst 0000664 0000000 0000000 00000002114 14716276021 0017247 0 ustar 00root root 0000000 0000000 description lapb tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan07.tst 0000664 0000000 0000000 00000002436 14716276021 0017257 0 ustar 00root root 0000000 0000000 description framerelay tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan08.tst 0000664 0000000 0000000 00000002250 14716276021 0017252 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan09.tst 0000664 0000000 0000000 00000002114 14716276021 0017252 0 ustar 00root root 0000000 0000000 description isdn tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan10.tst 0000664 0000000 0000000 00000002051 14716276021 0017242 0 ustar 00root root 0000000 0000000 description sep tunneling with erspan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 erspan 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 erspan 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan11.tst 0000664 0000000 0000000 00000002076 14716276021 0017252 0 ustar 00root root 0000000 0000000 description ethernet tunneling with erspan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 erspan 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 erspan 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan12.tst 0000664 0000000 0000000 00000002112 14716276021 0017242 0 ustar 00root root 0000000 0000000 description vlan tunneling with erspan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 erspan 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 erspan 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-erspan13.tst 0000664 0000000 0000000 00000001570 14716276021 0017252 0 ustar 00root root 0000000 0000000 description tunnel interface with erspan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod erspan vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod erspan vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth01.tst 0000664 0000000 0000000 00000001531 14716276021 0016534 0 ustar 00root root 0000000 0000000 description ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show inter eth1 full r1 output show ipv4 arp eth1 r1 output show ipv6 neigh eth1 output ../binTmp/conn-eth.html here is the interface:
show:0here is the arp:
show:1here are the neighbors:
show:2! freeRtr-24.11.16/cfg/conn-eth02.tst 0000664 0000000 0000000 00000001075 14716276021 0016540 0 ustar 00root root 0000000 0000000 description point2point ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit ! r1 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-eth03.tst 0000664 0000000 0000000 00000000767 14716276021 0016550 0 ustar 00root root 0000000 0000000 description ethernet dot1q encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth04.tst 0000664 0000000 0000000 00000001071 14716276021 0016536 0 ustar 00root root 0000000 0000000 description ethernet qinq encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1.22 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1.11 exit int eth1.11.22 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth05.tst 0000664 0000000 0000000 00000001056 14716276021 0016542 0 ustar 00root root 0000000 0000000 description ethernet dot1ad encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc dot1ad exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc dot1ad exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth06.tst 0000664 0000000 0000000 00000001056 14716276021 0016543 0 ustar 00root root 0000000 0000000 description ethernet dot1ah encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc dot1ah exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc dot1ah exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth07.tst 0000664 0000000 0000000 00000001053 14716276021 0016541 0 ustar 00root root 0000000 0000000 description ethernet qinq1 encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc qinq1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc qinq1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth08.tst 0000664 0000000 0000000 00000001053 14716276021 0016542 0 ustar 00root root 0000000 0000000 description ethernet qinq2 encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc qinq2 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc qinq2 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth09.tst 0000664 0000000 0000000 00000001053 14716276021 0016543 0 ustar 00root root 0000000 0000000 description ethernet qinq3 encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc qinq3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc qinq3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth10.tst 0000664 0000000 0000000 00000001536 14716276021 0016541 0 ustar 00root root 0000000 0000000 description ethernet qinqX encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc qinqx exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth1.111111 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit int eth1 enc qinqx exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth11.tst 0000664 0000000 0000000 00000001605 14716276021 0016537 0 ustar 00root root 0000000 0000000 description ethernet qinqX custom encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc qinqx qinqx eth 1234 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth1.111111 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit int eth1 enc qinqx qinqx eth 1234 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth12.tst 0000664 0000000 0000000 00000001045 14716276021 0016536 0 ustar 00root root 0000000 0000000 description ethernet isl encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc isl exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc isl exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth13.tst 0000664 0000000 0000000 00000002767 14716276021 0016553 0 ustar 00root root 0000000 0000000 description proxy remote arp/nd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1.1.1.6 vrf v1 r1 tping 100 5 1234::6 vrf v1 r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234::5 vrf v1 r2 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1.1.1.6 vrf v1 r2 tping 100 5 1234::6 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1234::5 vrf v1 freeRtr-24.11.16/cfg/conn-eth14.tst 0000664 0000000 0000000 00000001564 14716276021 0016546 0 ustar 00root root 0000000 0000000 description proxy local arp/nd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.255 ipv6 addr 1234::9 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 proxy-local ipv6 proxy-local exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1.1.1.9 vrf v1 r1 tping 100 5 1234::9 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1.1.1.9 vrf v1 r2 tping 100 5 1234::9 vrf v1 freeRtr-24.11.16/cfg/conn-eth15.tst 0000664 0000000 0000000 00000001274 14716276021 0016545 0 ustar 00root root 0000000 0000000 description static arp/nd entry addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 macaddr 0000.0000.1111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 host-static 1.1.1.2 0000.0000.2222 ipv6 host-static 1234::2 0000.0000.2222 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 macaddr 0000.0000.2222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 host-static 1.1.1.1 0000.0000.1111 ipv6 host-static 1234::1 0000.0000.1111 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth16.tst 0000664 0000000 0000000 00000001055 14716276021 0016543 0 ustar 00root root 0000000 0000000 description loss detection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 macaddr 0000.0000.1111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: loss-detect exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 macaddr 0000.0000.2222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: loss-detect exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth17.tst 0000664 0000000 0000000 00000001054 14716276021 0016543 0 ustar 00root root 0000000 0000000 description eapol addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: eapol client c c exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: eapol server usr exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth18.tst 0000664 0000000 0000000 00000001023 14716276021 0016540 0 ustar 00root root 0000000 0000000 description lacp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: lacp 0000.0000.1234 12345 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: lacp 0000.0000.4321 12345 2 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth19.tst 0000664 0000000 0000000 00000002750 14716276021 0016551 0 ustar 00root root 0000000 0000000 description monitor session rx addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir rx monitor-sess eth2 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir rx monitor-sess eth1 exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 1.1.1.6 vrf v1 r1 tping 0 5 1234::6 vrf v1 r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234::5 vrf v1 r2 tping 0 5 1.1.1.2 vrf v1 r2 tping 0 5 1234::2 vrf v1 r2 tping 100 5 1.1.1.6 vrf v1 r2 tping 100 5 1234::6 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1234::5 vrf v1 freeRtr-24.11.16/cfg/conn-eth20.tst 0000664 0000000 0000000 00000002241 14716276021 0016534 0 ustar 00root root 0000000 0000000 description monitor session tx addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir tx monitor-sess eth2 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 200 5 1.1.1.1 vrf v1 multi r3 tping 200 5 1234::1 vrf v1 multi r3 tping 100 5 1.1.1.5 vrf v1 multi r3 tping 100 5 1234::5 vrf v1 multi freeRtr-24.11.16/cfg/conn-eth21.tst 0000664 0000000 0000000 00000002266 14716276021 0016544 0 ustar 00root root 0000000 0000000 description monitor session sampled addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir tx monitor-samp 5 monitor-sess eth2 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 120 5 1.1.1.1 vrf v1 multi r3 tping 120 5 1234::1 vrf v1 multi r3 tping 100 5 1.1.1.5 vrf v1 multi r3 tping 100 5 1234::5 vrf v1 multi freeRtr-24.11.16/cfg/conn-eth22.tst 0000664 0000000 0000000 00000002271 14716276021 0016541 0 ustar 00root root 0000000 0000000 description monitor session truncated addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir tx monitor-trun 16 monitor-sess eth2 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 multi r3 tping 100 5 1234::1 vrf v1 multi r3 tping 100 5 1.1.1.5 vrf v1 multi r3 tping 100 5 1234::5 vrf v1 multi freeRtr-24.11.16/cfg/conn-eth23.tst 0000664 0000000 0000000 00000001716 14716276021 0016545 0 ustar 00root root 0000000 0000000 description secondary addresses over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 secondary-addr 1.1.1.111 ipv4 secondary-addr 1.1.1.112 ipv4 secondary-addr 1.1.1.113 ipv6 secondary-addr 1234::111 ipv6 secondary-addr 1234::112 ipv6 secondary-addr 1234::113 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.111 vrf v1 r2 tping 100 5 1.1.1.112 vrf v1 r2 tping 100 5 1.1.1.113 vrf v1 r2 tping 100 5 1234::111 vrf v1 r2 tping 100 5 1234::112 vrf v1 r2 tping 100 5 1234::113 vrf v1 r1 output show inter eth1 full r1 output show ipv4 arp eth1 r1 output show ipv6 neigh eth1 freeRtr-24.11.16/cfg/conn-eth24.tst 0000664 0000000 0000000 00000001730 14716276021 0016542 0 ustar 00root root 0000000 0000000 description secondary addresses over dot1q vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 secondary-addr 1.1.1.111 ipv4 secondary-addr 1.1.1.112 ipv4 secondary-addr 1.1.1.113 ipv6 secondary-addr 1234::111 ipv6 secondary-addr 1234::112 ipv6 secondary-addr 1234::113 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1.123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.111 vrf v1 r2 tping 100 5 1.1.1.112 vrf v1 r2 tping 100 5 1.1.1.113 vrf v1 r2 tping 100 5 1234::111 vrf v1 r2 tping 100 5 1234::112 vrf v1 r2 tping 100 5 1234::113 vrf v1 r1 output show inter eth1 full r1 output show ipv4 arp eth1 r1 output show ipv6 neigh eth1 freeRtr-24.11.16/cfg/conn-eth25.tst 0000664 0000000 0000000 00000004012 14716276021 0016537 0 ustar 00root root 0000000 0000000 description monitor session over tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ipv4 route v1 1.1.1.1 255.255.255.252 1.1.1.6 ipv6 route v1 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc 1234::6 ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun key 123 tun mod erspan exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir rx monitor-sess tun1 exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 multi r1 tping 100 5 1234::2 vrf v1 multi r1 tping 100 5 1.1.1.6 vrf v1 multi r1 tping 100 5 1234::6 vrf v1 multi r1 tping 100 5 1.1.1.1 vrf v1 multi r1 tping 100 5 1234::1 vrf v1 multi r1 tping 200 5 1.1.1.5 vrf v1 multi r1 tping 200 5 1234::5 vrf v1 multi r2 tping 200 5 1.1.1.2 vrf v1 multi r2 tping 200 5 1234::2 vrf v1 multi r2 tping 200 5 1.1.1.6 vrf v1 multi r2 tping 200 5 1234::6 vrf v1 multi r2 tping 200 5 1.1.1.1 vrf v1 multi r2 tping 200 5 1234::1 vrf v1 multi r2 tping 100 5 1.1.1.5 vrf v1 multi r2 tping 100 5 1234::5 vrf v1 multi freeRtr-24.11.16/cfg/conn-eth26.tst 0000664 0000000 0000000 00000003762 14716276021 0016553 0 ustar 00root root 0000000 0000000 description monitor session over pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol erspan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit ipv4 route v1 1.1.1.1 255.255.255.252 1.1.1.6 ipv6 route v1 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc 1234::6 ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc ipv4 proxy-remote ipv6 proxy-remote exit int pweth1 vrf for v1 pseudo v1 eth1 erspan 1.1.1.1 123 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc monitor-dir rx monitor-sess pweth1 exit ! r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::2 vrf v1 r3 tping 100 5 1.1.1.6 vrf v1 r3 tping 100 5 1234::6 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 multi r1 tping 100 5 1234::2 vrf v1 multi r1 tping 100 5 1.1.1.6 vrf v1 multi r1 tping 100 5 1234::6 vrf v1 multi r1 tping 100 5 1.1.1.1 vrf v1 multi r1 tping 100 5 1234::1 vrf v1 multi r1 tping 200 5 1.1.1.5 vrf v1 multi r1 tping 200 5 1234::5 vrf v1 multi r2 tping 200 5 1.1.1.2 vrf v1 multi r2 tping 200 5 1234::2 vrf v1 multi r2 tping 200 5 1.1.1.6 vrf v1 multi r2 tping 200 5 1234::6 vrf v1 multi r2 tping 200 5 1.1.1.1 vrf v1 multi r2 tping 200 5 1234::1 vrf v1 multi r2 tping 100 5 1.1.1.5 vrf v1 multi r2 tping 100 5 1234::5 vrf v1 multi freeRtr-24.11.16/cfg/conn-eth27.tst 0000664 0000000 0000000 00000001204 14716276021 0016541 0 ustar 00root root 0000000 0000000 description verify source with ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 verify rx ipv6 verify rx exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 verify rx ipv6 verify rx exit ! r1 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-eth28.tst 0000664 0000000 0000000 00000001216 14716276021 0016545 0 ustar 00root root 0000000 0000000 description loose verify source with ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 verify any ipv6 verify any exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 verify any ipv6 verify any exit ! r1 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-eth29.tst 0000664 0000000 0000000 00000001411 14716276021 0016543 0 ustar 00root root 0000000 0000000 description secure arp/nd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: no ipv4 host-learn no ipv6 host-learn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 0 5 1.1.1.2 vrf v1 r1 tping 0 5 1234::2 vrf v1 r2 tping 0 5 1.1.1.1 vrf v1 r2 tping 0 5 1234::1 vrf v1 r1 send conf t r1 send int eth1 r1 send ipv4 host-static 1.1.1.2 0000.0000.2222 r1 send ipv6 host-static 1234::2 0000.0000.2222 r1 send end r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth30.tst 0000664 0000000 0000000 00000001064 14716276021 0016537 0 ustar 00root root 0000000 0000000 description ethernet trill-mt encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc trill-mt exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc trill-mt exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth31.tst 0000664 0000000 0000000 00000001067 14716276021 0016543 0 ustar 00root root 0000000 0000000 description ethernet trill-fgl encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 enc trill-fgl exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 enc trill-fgl exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-eth32.tst 0000664 0000000 0000000 00000003456 14716276021 0016550 0 ustar 00root root 0000000 0000000 description secondary networks over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 secondary-net 1.1.2.111 255.255.255.0 ipv4 secondary-net 1.1.3.112 255.255.255.0 ipv4 secondary-net 1.1.4.113 255.255.255.0 ipv6 secondary-net 1235::111 ffff:: ipv6 secondary-net 1236::112 ffff:: ipv6 secondary-net 1237::113 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $3a$ $3b$ int eth5 eth 0000.0000.2222 $4a$ $4b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int eth5 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.5 255.255.255.0 ipv6 addr 1237::5 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.2.111 vrf v1 r4 tping 100 5 1.1.3.112 vrf v1 r5 tping 100 5 1.1.4.113 vrf v1 r3 tping 100 5 1235::111 vrf v1 r4 tping 100 5 1236::112 vrf v1 r5 tping 100 5 1237::113 vrf v1 r1 output show inter eth1 full r1 output show ipv4 arp eth1 r1 output show ipv6 neigh eth1 freeRtr-24.11.16/cfg/conn-eth33.tst 0000664 0000000 0000000 00000003470 14716276021 0016545 0 ustar 00root root 0000000 0000000 description secondary networks over dot1q vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 secondary-net 1.1.2.111 255.255.255.0 ipv4 secondary-net 1.1.3.112 255.255.255.0 ipv4 secondary-net 1.1.4.113 255.255.255.0 ipv6 secondary-net 1235::111 ffff:: ipv6 secondary-net 1236::112 ffff:: ipv6 secondary-net 1237::113 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $3a$ $3b$ int eth5 eth 0000.0000.2222 $4a$ $4b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1.123 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int eth5 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.5 255.255.255.0 ipv6 addr 1237::5 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.2.111 vrf v1 r4 tping 100 5 1.1.3.112 vrf v1 r5 tping 100 5 1.1.4.113 vrf v1 r3 tping 100 5 1235::111 vrf v1 r4 tping 100 5 1236::112 vrf v1 r5 tping 100 5 1237::113 vrf v1 r1 output show inter eth1 full r1 output show ipv4 arp eth1 r1 output show ipv6 neigh eth1 freeRtr-24.11.16/cfg/conn-etherip01.tst 0000664 0000000 0000000 00000002541 14716276021 0017416 0 ustar 00root root 0000000 0000000 description etherip over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-etherip.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-etherip02.tst 0000664 0000000 0000000 00000001626 14716276021 0017422 0 ustar 00root root 0000000 0000000 description etherip over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip03.tst 0000664 0000000 0000000 00000002143 14716276021 0017416 0 ustar 00root root 0000000 0000000 description etherip over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip04.tst 0000664 0000000 0000000 00000002061 14716276021 0017416 0 ustar 00root root 0000000 0000000 description hdlc tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip05.tst 0000664 0000000 0000000 00000002160 14716276021 0017417 0 ustar 00root root 0000000 0000000 description ppp tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip06.tst 0000664 0000000 0000000 00000002117 14716276021 0017422 0 ustar 00root root 0000000 0000000 description lapb tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip07.tst 0000664 0000000 0000000 00000002441 14716276021 0017423 0 ustar 00root root 0000000 0000000 description framerelay tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip08.tst 0000664 0000000 0000000 00000002253 14716276021 0017425 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip09.tst 0000664 0000000 0000000 00000002117 14716276021 0017425 0 ustar 00root root 0000000 0000000 description isdn tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip10.tst 0000664 0000000 0000000 00000002054 14716276021 0017415 0 ustar 00root root 0000000 0000000 description sep tunneling with etherip addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 etherip 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 etherip 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip11.tst 0000664 0000000 0000000 00000002101 14716276021 0017407 0 ustar 00root root 0000000 0000000 description ethernet tunneling with etherip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 etherip 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 etherip 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip12.tst 0000664 0000000 0000000 00000002115 14716276021 0017415 0 ustar 00root root 0000000 0000000 description vlan tunneling with etherip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 etherip 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 etherip 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip13.tst 0000664 0000000 0000000 00000001573 14716276021 0017425 0 ustar 00root root 0000000 0000000 description tunnel interface with etherip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod etherip vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod etherip vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-etherip14.tst 0000664 0000000 0000000 00000001577 14716276021 0017432 0 ustar 00root root 0000000 0000000 description etherip server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol etherip exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit server etherip ei bridge 1 vrf v1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-forti.tst 0000664 0000000 0000000 00000002127 14716276021 0016740 0 ustar 00root root 0000000 0000000 description ppp over forti addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit aaa userlist usr username c password c exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:: exit server http h host * path ./ host * forti dialer1 host * authen usr vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:: exit vpdn forti int di1 proxy p1 tar http://1.1.1.1/ user c pass c prot forti exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-forti.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-frag01.tst 0000664 0000000 0000000 00000002124 14716276021 0016672 0 ustar 00root root 0000000 0000000 description fragmentation and reassembly addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 reassembly 16 ipv4 fragmentation 1400 ipv6 reassembly 16 ipv6 fragmentation 1400 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 reassembly 16 ipv4 fragmentation 1400 ipv6 reassembly 16 ipv6 fragmentation 1400 exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 222 r2 tping 100 15 1.1.1.1 vrf v1 siz 222 r1 tping 100 15 1234::2 vrf v1 siz 222 r2 tping 100 15 1234::1 vrf v1 siz 222 r1 tping 100 15 1.1.1.2 vrf v1 siz 2222 r2 tping 100 15 1.1.1.1 vrf v1 siz 2222 r1 tping 100 15 1234::2 vrf v1 siz 2222 r2 tping 100 15 1234::1 vrf v1 siz 2222 r1 tping -100 5 1.1.1.2 vrf v1 siz 2222 dont error r2 tping -100 5 1.1.1.1 vrf v1 siz 2222 dont error r1 tping -100 5 1234::2 vrf v1 siz 2222 dont error r2 tping -100 5 1234::1 vrf v1 siz 2222 dont error freeRtr-24.11.16/cfg/conn-frag02.tst 0000664 0000000 0000000 00000001316 14716276021 0016675 0 ustar 00root root 0000000 0000000 description no fragmentation nor reassembly addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 222 r2 tping 100 15 1.1.1.1 vrf v1 siz 222 r1 tping 100 15 1234::2 vrf v1 siz 222 r2 tping 100 15 1234::1 vrf v1 siz 222 r1 tping 0 15 1.1.1.2 vrf v1 siz 2222 r2 tping 0 15 1.1.1.1 vrf v1 siz 2222 r1 tping 0 15 1234::2 vrf v1 siz 2222 r2 tping 0 15 1234::1 vrf v1 siz 2222 freeRtr-24.11.16/cfg/conn-frag03.tst 0000664 0000000 0000000 00000001312 14716276021 0016672 0 ustar 00root root 0000000 0000000 description precise mtu enforcement addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1500 r2 tping 100 15 1.1.1.1 vrf v1 siz 1500 r1 tping 100 15 1234::2 vrf v1 siz 1500 r2 tping 100 15 1234::1 vrf v1 siz 1500 r1 tping 0 15 1.1.1.2 vrf v1 siz 1501 r2 tping 0 15 1.1.1.1 vrf v1 siz 1501 r1 tping 0 15 1234::2 vrf v1 siz 1501 r2 tping 0 15 1234::1 vrf v1 siz 1501 freeRtr-24.11.16/cfg/conn-frag04.tst 0000664 0000000 0000000 00000001367 14716276021 0016705 0 ustar 00root root 0000000 0000000 description pmtud in addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 pmtud-in 1400 ipv6 pmtud-in 1400 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 pmtud-in 1400 ipv6 pmtud-in 1400 exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1400 r2 tping 100 15 1.1.1.1 vrf v1 siz 1400 r1 tping 100 15 1234::2 vrf v1 siz 1400 r2 tping 100 15 1234::1 vrf v1 siz 1400 r1 tping -100 15 1.1.1.2 vrf v1 siz 1401 error r2 tping -100 15 1.1.1.1 vrf v1 siz 1401 error r1 tping -100 15 1234::2 vrf v1 siz 1401 error r2 tping -100 15 1234::1 vrf v1 siz 1401 error freeRtr-24.11.16/cfg/conn-frag05.tst 0000664 0000000 0000000 00000001374 14716276021 0016704 0 ustar 00root root 0000000 0000000 description pmtud out addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 pmtud-out 1400 ipv6 pmtud-out 1400 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 pmtud-out 1400 ipv6 pmtud-out 1400 exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1400 r2 tping 100 15 1.1.1.1 vrf v1 siz 1400 r1 tping 100 15 1234::2 vrf v1 siz 1400 r2 tping 100 15 1234::1 vrf v1 siz 1400 r1 tping -100 15 1.1.1.2 vrf v1 siz 1401 error r2 tping -100 15 1.1.1.1 vrf v1 siz 1401 error r1 tping -100 15 1234::2 vrf v1 siz 1401 error r2 tping -100 15 1234::1 vrf v1 siz 1401 error freeRtr-24.11.16/cfg/conn-frag06.tst 0000664 0000000 0000000 00000002647 14716276021 0016711 0 ustar 00root root 0000000 0000000 description tcp mss in addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 1.1.1.1 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 1234::1 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 30 2.2.2.0 vrf v2 siz 3000 r2 tping 100 30 2.2.2.0 vrf v3 siz 3000 freeRtr-24.11.16/cfg/conn-frag07.tst 0000664 0000000 0000000 00000002654 14716276021 0016710 0 ustar 00root root 0000000 0000000 description tcp mss out addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 tcp-mss-out 1280 ipv6 tcp-mss-out 1280 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int ser1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 tcp-mss-out 1280 ipv6 tcp-mss-out 1280 exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 1.1.1.1 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 1234::1 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 30 2.2.2.0 vrf v2 siz 3000 r2 tping 100 30 2.2.2.0 vrf v3 siz 3000 freeRtr-24.11.16/cfg/conn-frag08.tst 0000664 0000000 0000000 00000014343 14716276021 0016707 0 ustar 00root root 0000000 0000000 description ip ttl exceed addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.2.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1236::1 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.3.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1236::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.3.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.3.1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.3.1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 3 r1 tping 100 10 4321::2 vrf v1 sou lo0 ttl 3 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 3 r1 tping 100 10 4321::3 vrf v1 sou lo0 ttl 3 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 3 r1 tping 100 10 4321::4 vrf v1 sou lo0 ttl 3 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 3 r2 tping 100 10 4321::1 vrf v1 sou lo0 ttl 3 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 3 r2 tping 100 10 4321::3 vrf v1 sou lo0 ttl 3 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 3 r2 tping 100 10 4321::4 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::1 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::2 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::4 vrf v1 sou lo0 ttl 3 r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 3 r4 tping 100 10 4321::1 vrf v1 sou lo0 ttl 3 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 3 r4 tping 100 10 4321::2 vrf v1 sou lo0 ttl 3 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 3 r4 tping 100 10 4321::3 vrf v1 sou lo0 ttl 3 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 4321::2 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 4321::3 vrf v1 sou lo0 ttl 2 error r1 tping -100 10 2.2.2.4 vrf v1 sou lo0 ttl 2 error r1 tping -100 10 4321::4 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 4321::1 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 4321::3 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 4321::4 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 4321::1 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 4321::2 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 4321::4 vrf v1 sou lo0 ttl 2 error r4 tping -100 10 2.2.2.1 vrf v1 sou lo0 ttl 2 error r4 tping -100 10 4321::1 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 4321::2 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 4321::3 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 1 error r1 tping 100 10 4321::2 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 2.2.2.3 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 4321::3 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 2.2.2.4 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 4321::4 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 4321::1 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 4321::3 vrf v1 sou lo0 ttl 1 error r2 tping -100 10 2.2.2.4 vrf v1 sou lo0 ttl 1 error r2 tping -100 10 4321::4 vrf v1 sou lo0 ttl 1 error r3 tping -100 10 2.2.2.1 vrf v1 sou lo0 ttl 1 error r3 tping -100 10 4321::1 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 4321::2 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 4321::4 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 2.2.2.1 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 4321::1 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 2.2.2.2 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 4321::2 vrf v1 sou lo0 ttl 1 error r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 1 error r4 tping 100 10 4321::3 vrf v1 sou lo0 ttl 1 error freeRtr-24.11.16/cfg/conn-frag09.tst 0000664 0000000 0000000 00000016304 14716276021 0016707 0 ustar 00root root 0000000 0000000 description mpls ttl exceed addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.2.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1236::1 ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.3.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1236::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.3.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.3.1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.3.1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1236::1 ! r2 tping 0 10 1.1.1.1 vrf v1 r2 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 10 1.1.2.1 vrf v1 r3 tping 0 10 1.1.3.2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 3 r1 tping 100 10 4321::2 vrf v1 sou lo0 ttl 3 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 3 r1 tping 100 10 4321::3 vrf v1 sou lo0 ttl 3 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 3 r1 tping 100 10 4321::4 vrf v1 sou lo0 ttl 3 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 3 r2 tping 100 10 4321::1 vrf v1 sou lo0 ttl 3 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 3 r2 tping 100 10 4321::3 vrf v1 sou lo0 ttl 3 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 3 r2 tping 100 10 4321::4 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::1 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::2 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::4 vrf v1 sou lo0 ttl 3 r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 3 r4 tping 100 10 4321::1 vrf v1 sou lo0 ttl 3 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 3 r4 tping 100 10 4321::2 vrf v1 sou lo0 ttl 3 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 3 r4 tping 100 10 4321::3 vrf v1 sou lo0 ttl 3 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 4321::2 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 4321::3 vrf v1 sou lo0 ttl 2 error r1 tping -100 10 2.2.2.4 vrf v1 sou lo0 ttl 2 error r1 tping -100 10 4321::4 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 4321::1 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 4321::3 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 2 error r2 tping 100 10 4321::4 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 4321::1 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 4321::2 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 2 error r3 tping 100 10 4321::4 vrf v1 sou lo0 ttl 2 error r4 tping -100 10 2.2.2.1 vrf v1 sou lo0 ttl 2 error r4 tping -100 10 4321::1 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 4321::2 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 2 error r4 tping 100 10 4321::3 vrf v1 sou lo0 ttl 2 error r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 1 error r1 tping 100 10 4321::2 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 2.2.2.3 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 4321::3 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 2.2.2.4 vrf v1 sou lo0 ttl 1 error r1 tping -100 10 4321::4 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 4321::1 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 1 error r2 tping 100 10 4321::3 vrf v1 sou lo0 ttl 1 error r2 tping -100 10 2.2.2.4 vrf v1 sou lo0 ttl 1 error r2 tping -100 10 4321::4 vrf v1 sou lo0 ttl 1 error r3 tping -100 10 2.2.2.1 vrf v1 sou lo0 ttl 1 error r3 tping -100 10 4321::1 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 4321::2 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 ttl 1 error r3 tping 100 10 4321::4 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 2.2.2.1 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 4321::1 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 2.2.2.2 vrf v1 sou lo0 ttl 1 error r4 tping -100 10 4321::2 vrf v1 sou lo0 ttl 1 error r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 ttl 1 error r4 tping 100 10 4321::3 vrf v1 sou lo0 ttl 1 error freeRtr-24.11.16/cfg/conn-frag10.tst 0000664 0000000 0000000 00000003205 14716276021 0016673 0 ustar 00root root 0000000 0000000 description bridge tcp mss in addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 1.1.1.1 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 1234::1 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! bridge 1 exit int eth1 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit int eth2 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 30 2.2.2.0 vrf v2 siz 3000 r2 tping 100 30 2.2.2.0 vrf v3 siz 3000 freeRtr-24.11.16/cfg/conn-frag11.tst 0000664 0000000 0000000 00000003212 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bridge tcp mss out addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 1.1.1.1 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 1234::1 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! bridge 1 exit int eth1 bridge-gr 1 bridge-tcp-mss ipv4out 1280 bridge-tcp-mss ipv6out 1280 exit int eth2 bridge-gr 1 bridge-tcp-mss ipv4out 1280 bridge-tcp-mss ipv6out 1280 exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 30 2.2.2.0 vrf v2 siz 3000 r2 tping 100 30 2.2.2.0 vrf v3 siz 3000 freeRtr-24.11.16/cfg/conn-frag12.tst 0000664 0000000 0000000 00000001765 14716276021 0016706 0 ustar 00root root 0000000 0000000 description bridge pmtud in addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! bridge 1 exit int eth1 bridge-gr 1 bridge-pmtud ipv4in 1400 3.3.3.3 bridge-pmtud ipv6in 1400 3333::3 exit int eth2 bridge-gr 1 bridge-pmtud ipv4in 1400 3.3.3.3 bridge-pmtud ipv6in 1400 3333::3 exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1400 r2 tping 100 15 1.1.1.1 vrf v1 siz 1400 r1 tping 100 15 1234::2 vrf v1 siz 1400 r2 tping 100 15 1234::1 vrf v1 siz 1400 r1 tping -100 15 1.1.1.2 vrf v1 siz 1401 error r2 tping -100 15 1.1.1.1 vrf v1 siz 1401 error r1 tping -100 15 1234::2 vrf v1 siz 1401 error r2 tping -100 15 1234::1 vrf v1 siz 1401 error freeRtr-24.11.16/cfg/conn-frag13.tst 0000664 0000000 0000000 00000001772 14716276021 0016705 0 ustar 00root root 0000000 0000000 description bridge pmtud out addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! bridge 1 exit int eth1 bridge-gr 1 bridge-pmtud ipv4out 1400 3.3.3.3 bridge-pmtud ipv6out 1400 3333::3 exit int eth2 bridge-gr 1 bridge-pmtud ipv4out 1400 3.3.3.3 bridge-pmtud ipv6out 1400 3333::3 exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1400 r2 tping 100 15 1.1.1.1 vrf v1 siz 1400 r1 tping 100 15 1234::2 vrf v1 siz 1400 r2 tping 100 15 1234::1 vrf v1 siz 1400 r1 tping -100 15 1.1.1.2 vrf v1 siz 1401 error r2 tping -100 15 1.1.1.1 vrf v1 siz 1401 error r1 tping -100 15 1234::2 vrf v1 siz 1401 error r2 tping -100 15 1234::1 vrf v1 siz 1401 error freeRtr-24.11.16/cfg/conn-frag14.tst 0000664 0000000 0000000 00000001560 14716276021 0016701 0 ustar 00root root 0000000 0000000 description precise mac enforcement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 enforce-mac vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 host-static 1.1.1.3 0000.0000.4321 ipv6 host-static 1234::3 0000.0000.4321 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 0 5 2.2.2.1 vrf v1 r2 tping 0 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-frag15.tst 0000664 0000000 0000000 00000001636 14716276021 0016706 0 ustar 00root root 0000000 0000000 description bridge mac enforcement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1 enforce-mac bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 host-static 1.1.1.3 0000.0000.4321 ipv6 host-static 1234::3 0000.0000.4321 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-framerelay01.tst 0000664 0000000 0000000 00000001452 14716276021 0020105 0 ustar 00root root 0000000 0000000 description framerelay ansi addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-framerelay.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-framerelay02.tst 0000664 0000000 0000000 00000001113 14716276021 0020100 0 ustar 00root root 0000000 0000000 description framerelay cisco addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay mode dce framerelay lmi cisco framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay lmi cisco framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-framerelay03.tst 0000664 0000000 0000000 00000001110 14716276021 0020076 0 ustar 00root root 0000000 0000000 description framerelay q933 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay mode dce framerelay lmi q933 framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay lmi q933 framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-framerelay04.tst 0000664 0000000 0000000 00000001470 14716276021 0020110 0 ustar 00root root 0000000 0000000 description framerelay fragmentation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay mode dce framerelay lmi ansi framerelay dlci 123 framerelay frag 256 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay lmi ansi framerelay dlci 123 framerelay frag 256 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 siz 128 r2 tping 100 5 1.1.1.1 vrf v1 siz 128 r1 tping 100 5 1234::2 vrf v1 siz 128 r2 tping 100 5 1234::1 vrf v1 siz 128 r1 tping 100 5 1.1.1.2 vrf v1 siz 1024 r2 tping 100 5 1.1.1.1 vrf v1 siz 1024 r1 tping 100 5 1234::2 vrf v1 siz 1024 r2 tping 100 5 1234::1 vrf v1 siz 1024 freeRtr-24.11.16/cfg/conn-framerelay05.tst 0000664 0000000 0000000 00000001456 14716276021 0020115 0 ustar 00root root 0000000 0000000 description framerelay asymmetric fragmentation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay mode dce framerelay lmi ansi framerelay dlci 123 framerelay frag 256 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frame framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 siz 128 r2 tping 100 5 1.1.1.1 vrf v1 siz 128 r1 tping 100 5 1234::2 vrf v1 siz 128 r2 tping 100 5 1234::1 vrf v1 siz 128 r1 tping 100 5 1.1.1.2 vrf v1 siz 1024 r2 tping 100 5 1.1.1.1 vrf v1 siz 1024 r1 tping 100 5 1234::2 vrf v1 siz 1024 r2 tping 100 5 1234::1 vrf v1 siz 1024 freeRtr-24.11.16/cfg/conn-framerelay06.tst 0000664 0000000 0000000 00000001042 14716276021 0020105 0 ustar 00root root 0000000 0000000 description ppp over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frppp framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frppp framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-framerelay07.tst 0000664 0000000 0000000 00000001041 14716276021 0020105 0 ustar 00root root 0000000 0000000 description ip over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc frrfc framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc frrfc framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve01.tst 0000664 0000000 0000000 00000002535 14716276021 0017232 0 ustar 00root root 0000000 0000000 description geneve over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol geneve exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol geneve exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-geneve.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-geneve02.tst 0000664 0000000 0000000 00000001623 14716276021 0017230 0 ustar 00root root 0000000 0000000 description geneve over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol geneve exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol geneve exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve03.tst 0000664 0000000 0000000 00000002140 14716276021 0017224 0 ustar 00root root 0000000 0000000 description geneve over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol geneve exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol geneve exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve04.tst 0000664 0000000 0000000 00000002060 14716276021 0017226 0 ustar 00root root 0000000 0000000 description hdlc tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve05.tst 0000664 0000000 0000000 00000002157 14716276021 0017236 0 ustar 00root root 0000000 0000000 description ppp tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve06.tst 0000664 0000000 0000000 00000002116 14716276021 0017232 0 ustar 00root root 0000000 0000000 description lapb tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve07.tst 0000664 0000000 0000000 00000002440 14716276021 0017233 0 ustar 00root root 0000000 0000000 description framerelay tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve08.tst 0000664 0000000 0000000 00000002252 14716276021 0017235 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve09.tst 0000664 0000000 0000000 00000002116 14716276021 0017235 0 ustar 00root root 0000000 0000000 description isdn tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve10.tst 0000664 0000000 0000000 00000002053 14716276021 0017225 0 ustar 00root root 0000000 0000000 description sep tunneling with geneve addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 geneve 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 geneve 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve11.tst 0000664 0000000 0000000 00000002100 14716276021 0017217 0 ustar 00root root 0000000 0000000 description ethernet tunneling with geneve addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 geneve 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 geneve 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve12.tst 0000664 0000000 0000000 00000002114 14716276021 0017225 0 ustar 00root root 0000000 0000000 description vlan tunneling with geneve addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 geneve 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 geneve 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve13.tst 0000664 0000000 0000000 00000001572 14716276021 0017235 0 ustar 00root root 0000000 0000000 description tunnel interface with geneve addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod geneve vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod geneve vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-geneve14.tst 0000664 0000000 0000000 00000004407 14716276021 0017236 0 ustar 00root root 0000000 0000000 description multipoint ethernet over geneve addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit bridge 1 mac-learn exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit server geneve gnv bridge 1 vrf v1 vni 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit vpdn gnv bridge-gr 1 proxy p1 tar 1.1.1.1 vcid 1234 prot geneve exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit vpdn gnv bridge-gr 1 proxy p1 tar 1234:2::1 vcid 1234 prot geneve exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.0 ipv6 addr 4321::4 ffff:ffff:: exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre01.tst 0000664 0000000 0000000 00000002023 14716276021 0016526 0 ustar 00root root 0000000 0000000 description gre over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-gre.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-gre02.tst 0000664 0000000 0000000 00000001470 14716276021 0016534 0 ustar 00root root 0000000 0000000 description gre over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre03.tst 0000664 0000000 0000000 00000002110 14716276021 0016525 0 ustar 00root root 0000000 0000000 description gre over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode gre tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode gre tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre04.tst 0000664 0000000 0000000 00000001741 14716276021 0016537 0 ustar 00root root 0000000 0000000 description gre over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode gre tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode gre tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre05.tst 0000664 0000000 0000000 00000001723 14716276021 0016540 0 ustar 00root root 0000000 0000000 description ppp with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre06.tst 0000664 0000000 0000000 00000001622 14716276021 0016537 0 ustar 00root root 0000000 0000000 description hdlc with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre07.tst 0000664 0000000 0000000 00000001641 14716276021 0016541 0 ustar 00root root 0000000 0000000 description lapb with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc lapb vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre08.tst 0000664 0000000 0000000 00000002015 14716276021 0016536 0 ustar 00root root 0000000 0000000 description framerelay with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre09.tst 0000664 0000000 0000000 00000001720 14716276021 0016541 0 ustar 00root root 0000000 0000000 description atmdxi with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre10.tst 0000664 0000000 0000000 00000001641 14716276021 0016533 0 ustar 00root root 0000000 0000000 description isdn with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc isdn vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre11.tst 0000664 0000000 0000000 00000001617 14716276021 0016537 0 ustar 00root root 0000000 0000000 description sep with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol greppp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol greppp exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gre12.tst 0000664 0000000 0000000 00000001332 14716276021 0016532 0 ustar 00root root 0000000 0000000 description gre server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source eth1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int temp1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: shut exit server gre mi clone temp1 vrf v1 exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-gtp01.tst 0000664 0000000 0000000 00000002431 14716276021 0016546 0 ustar 00root root 0000000 0000000 description ppp over gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ipv6 addr 4321::1 ffff:: ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server gtp gtp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv6 addr 4321::2 ffff:: ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn gtp int di1 proxy p1 tar 1.1.1.1 called inet calling 4321 dir in prot gtp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-gtp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-gtp02.tst 0000664 0000000 0000000 00000001616 14716276021 0016553 0 ustar 00root root 0000000 0000000 description ipv4 over gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 ipv6 pool p6 2222::1111 ::1 254 int di1 enc iponly vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ipv4 pool p4 exit server gtp gtp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc raw vrf for v1 ipv4 addr 3.3.3.3 0.0.0.0 ipv6 addr 3333::3333 :: exit vpdn gtp int di1 proxy p1 tar 1.1.1.1 called inet calling 4321 dir in prot gtp exit ! r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 0 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-gtp03.tst 0000664 0000000 0000000 00000001605 14716276021 0016552 0 ustar 00root root 0000000 0000000 description ipv6 over gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 ipv6 pool p6 2222::1111 ::1 254 int di1 enc iponly vrf for v1 ipv6 addr 2222::0 ffff:: ipv6 pool p6 exit server gtp gtp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc raw vrf for v1 ipv4 addr 3.3.3.3 0.0.0.0 ipv6 addr 3333::3333 :: exit vpdn gtp int di1 proxy p1 tar 1234::1 called inet calling 4321 dir in prot gtp exit ! r2 tping 100 60 4444::4 vrf v1 r2 tping 0 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-gtp04.tst 0000664 0000000 0000000 00000001701 14716276021 0016550 0 ustar 00root root 0000000 0000000 description ipv4 and ipv6 over gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 ipv6 pool p6 2222::1111 ::1 254 int di1 enc iponly vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ipv4 pool p4 ipv6 addr 2222::0 ffff:: ipv6 pool p6 exit server gtp gtp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc raw vrf for v1 ipv4 addr 3.3.3.3 0.0.0.0 ipv6 addr 3333::3333 :: exit vpdn gtp int di1 proxy p1 tar 1.1.1.1 called inet calling 4321 dir in prot gtp exit ! r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-gtp05.tst 0000664 0000000 0000000 00000001607 14716276021 0016556 0 ustar 00root root 0000000 0000000 description gtp tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:: exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 ipv6 pool p6 2222::1111 ::1 254 int di1 enc iponly vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ipv4 pool p4 ipv6 addr 2222::0 ffff:: ipv6 pool p6 exit server gtp gtp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gtp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 3.3.3.3 0.0.0.0 ipv6 addr 3333::3333 :: exit ! r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-hairpin01.tst 0000664 0000000 0000000 00000001200 14716276021 0017377 0 ustar 00root root 0000000 0000000 description ethernet hairpin addrouter r1 ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit hairpin 1 exit int hairpin11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int hairpin12 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.1 vrf v2 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::1 vrf v2 r1 output show inter ha11 full output ../binTmp/conn-hairpin.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-hairpin02.tst 0000664 0000000 0000000 00000000651 14716276021 0017411 0 ustar 00root root 0000000 0000000 description serial hairpin addrouter r1 ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit hairpin 1 no ether exit int hairpin11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int hairpin12 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.1 vrf v2 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::1 vrf v2 freeRtr-24.11.16/cfg/conn-hairpin03.tst 0000664 0000000 0000000 00000000712 14716276021 0017410 0 ustar 00root root 0000000 0000000 description bundle hairpin addrouter r1 ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit hairpin 1 exit bundle 1 exit int hairpin11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int hairpin12 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.1 vrf v2 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::1 vrf v2 freeRtr-24.11.16/cfg/conn-hairpin04.tst 0000664 0000000 0000000 00000001103 14716276021 0017404 0 ustar 00root root 0000000 0000000 description bridge hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit hairpin 1 exit bridge 1 exit int hairpin11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int hairpin12 bridge-gr 1 exit int eth1 bridge-gr 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-hdlc.tst 0000664 0000000 0000000 00000001262 14716276021 0016526 0 ustar 00root root 0000000 0000000 description hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-hdlc.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-hsrp.tst 0000664 0000000 0000000 00000003667 14716276021 0016603 0 ustar 00root root 0000000 0000000 description hsrp over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.254 ipv6 route v1 :: :: 1234::254 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv4 hsrp address 1.1.1.254 ipv4 hsrp priority 120 ipv4 hsrp preempt ipv6 addr 1234::2 ffff:: ipv6 hsrp address 1234::254 ipv6 hsrp priority 120 ipv6 hsrp preempt exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv4 hsrp address 1.1.1.254 ipv4 hsrp priority 110 ipv4 hsrp preempt ipv6 addr 1234::3 ffff:: ipv6 hsrp address 1234::254 ipv6 hsrp priority 110 ipv6 hsrp preempt exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r1 tping 100 5 4321::2 vrf v1 r1 tping 0 5 2.2.2.3 vrf v1 r1 tping 0 5 4321::3 vrf v1 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 0 5 4321::2 vrf v1 r1 tping 100 5 2.2.2.3 vrf v1 r1 tping 100 5 4321::3 vrf v1 freeRtr-24.11.16/cfg/conn-icmp01.tst 0000664 0000000 0000000 00000001771 14716276021 0016712 0 ustar 00root root 0000000 0000000 description icmptunnel over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-icmp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-icmp02.tst 0000664 0000000 0000000 00000001435 14716276021 0016710 0 ustar 00root root 0000000 0000000 description icmptunnel over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-icmp03.tst 0000664 0000000 0000000 00000002054 14716276021 0016707 0 ustar 00root root 0000000 0000000 description icmptunnel over icmptunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode icmp tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode icmp tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-icmp04.tst 0000664 0000000 0000000 00000001752 14716276021 0016714 0 ustar 00root root 0000000 0000000 description icmptunnel over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode icmp tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode icmp tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-infini.tst 0000664 0000000 0000000 00000001277 14716276021 0017076 0 ustar 00root root 0000000 0000000 description infini encapsulation addrouter r1 int infini1 inf - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int infini1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int infini1 inf - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int infini1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show interface infini1 full output ../binTmp/conn-infini.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ipcomp01.tst 0000664 0000000 0000000 00000002037 14716276021 0017245 0 ustar 00root root 0000000 0000000 description ipcomp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-ipcomp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ipcomp02.tst 0000664 0000000 0000000 00000001501 14716276021 0017241 0 ustar 00root root 0000000 0000000 description ipcomp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipcomp03.tst 0000664 0000000 0000000 00000002132 14716276021 0017243 0 ustar 00root root 0000000 0000000 description ipcomp over ipcomp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode ipcomp tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode ipcomp tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipcomp04.tst 0000664 0000000 0000000 00000001752 14716276021 0017253 0 ustar 00root root 0000000 0000000 description ipcomp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipenc01.tst 0000664 0000000 0000000 00000002033 14716276021 0017050 0 ustar 00root root 0000000 0000000 description ipenc over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-ipenc.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ipenc02.tst 0000664 0000000 0000000 00000001476 14716276021 0017063 0 ustar 00root root 0000000 0000000 description ipenc over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipenc03.tst 0000664 0000000 0000000 00000002124 14716276021 0017053 0 ustar 00root root 0000000 0000000 description ipenc over ipenc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode ipenc tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode ipenc tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipenc04.tst 0000664 0000000 0000000 00000001747 14716276021 0017066 0 ustar 00root root 0000000 0000000 description ipenc over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode ipenc tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipip01.tst 0000664 0000000 0000000 00000002027 14716276021 0016716 0 ustar 00root root 0000000 0000000 description ipip over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-ipip.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ipip02.tst 0000664 0000000 0000000 00000001473 14716276021 0016723 0 ustar 00root root 0000000 0000000 description ipip over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipip03.tst 0000664 0000000 0000000 00000002116 14716276021 0016717 0 ustar 00root root 0000000 0000000 description ipip over ipip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode ipip tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode ipip tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ipip04.tst 0000664 0000000 0000000 00000001744 14716276021 0016726 0 ustar 00root root 0000000 0000000 description ipip over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode ipip tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode ipip tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-iponly.tst 0000664 0000000 0000000 00000001272 14716276021 0017127 0 ustar 00root root 0000000 0000000 description iponly addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc iponly vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc iponly vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-iponly.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-isdn.tst 0000664 0000000 0000000 00000001301 14716276021 0016543 0 ustar 00root root 0000000 0000000 description isdn addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-isdn.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-l2f01.tst 0000664 0000000 0000000 00000002202 14716276021 0016433 0 ustar 00root root 0000000 0000000 description ppp over l2f addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server l2f l2f clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.1 prot l2f exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-l2f.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-l2f02.tst 0000664 0000000 0000000 00000001727 14716276021 0016447 0 ustar 00root root 0000000 0000000 description ppp over authenticated l2f addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server l2f l2f clone di1 password tester vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.1 password tester prot l2f exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp01.tst 0000664 0000000 0000000 00000002256 14716276021 0016642 0 ustar 00root root 0000000 0000000 description ppp over l2tp2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server l2tp2 l2tp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.1 called 1234 calling 4321 dir in prot l2tp2 exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-l2tp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-l2tp02.tst 0000664 0000000 0000000 00000001756 14716276021 0016647 0 ustar 00root root 0000000 0000000 description ppp over l2tp3 server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server l2tp3 l2tp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.1 called 1234 calling 4321 vcid 1234 dir out pwt ppp prot l2tp3 exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp03.tst 0000664 0000000 0000000 00000001460 14716276021 0016640 0 ustar 00root root 0000000 0000000 description ppp over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt ppp prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt ppp prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp04.tst 0000664 0000000 0000000 00000001465 14716276021 0016646 0 ustar 00root root 0000000 0000000 description hdlc over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp05.tst 0000664 0000000 0000000 00000001504 14716276021 0016641 0 ustar 00root root 0000000 0000000 description lapb over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp06.tst 0000664 0000000 0000000 00000001660 14716276021 0016645 0 ustar 00root root 0000000 0000000 description framerelay over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp07.tst 0000664 0000000 0000000 00000001563 14716276021 0016650 0 ustar 00root root 0000000 0000000 description atmdxi over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp08.tst 0000664 0000000 0000000 00000001504 14716276021 0016644 0 ustar 00root root 0000000 0000000 description isdn over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc isdn vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp09.tst 0000664 0000000 0000000 00000001462 14716276021 0016650 0 ustar 00root root 0000000 0000000 description sep over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp10.tst 0000664 0000000 0000000 00000001474 14716276021 0016643 0 ustar 00root root 0000000 0000000 description port mode ppp over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt hdlc prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt hdlc prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp11.tst 0000664 0000000 0000000 00000002653 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ethernet over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt eth prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit int eth2 bridge-gr 1 exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt eth prot l2tp3 exit ! addrouter r3 int eth1 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit ! r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp12.tst 0000664 0000000 0000000 00000002665 14716276021 0016650 0 ustar 00root root 0000000 0000000 description vlan over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit int bvi1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt vlan prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit int bvi1.111 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit int eth2 bridge-gr 1 exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt vlan prot l2tp3 exit ! addrouter r3 int eth1 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit ! r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp13.tst 0000664 0000000 0000000 00000004440 14716276021 0016642 0 ustar 00root root 0000000 0000000 description multipoint ethernet over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit bridge 1 mac-learn exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit server l2tp3 l2tp bridge 1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.1 vcid 1234 dir out pwt eth prot l2tp3 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit vpdn l2tp bridge-gr 1 proxy p1 tar 1234:2::1 vcid 4321 dir out pwt eth prot l2tp3 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.0 ipv6 addr 4321::4 ffff:ffff:: exit ! r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp14.tst 0000664 0000000 0000000 00000002065 14716276021 0016644 0 ustar 00root root 0000000 0000000 description hdlc tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp15.tst 0000664 0000000 0000000 00000002154 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ppp tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp16.tst 0000664 0000000 0000000 00000002104 14716276021 0016640 0 ustar 00root root 0000000 0000000 description lapb tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp17.tst 0000664 0000000 0000000 00000002260 14716276021 0016644 0 ustar 00root root 0000000 0000000 description framerelay tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp18.tst 0000664 0000000 0000000 00000002163 14716276021 0016647 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp19.tst 0000664 0000000 0000000 00000002104 14716276021 0016643 0 ustar 00root root 0000000 0000000 description isdn tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp20.tst 0000664 0000000 0000000 00000002062 14716276021 0016636 0 ustar 00root root 0000000 0000000 description sep tunneling with l2tp3 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc raw xconnect v1 eth1 l2tp3 1.1.1.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1.1.1.2 vrf v1 r3 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp21.tst 0000664 0000000 0000000 00000002075 14716276021 0016643 0 ustar 00root root 0000000 0000000 description ethernet tunneling with l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ int eth2 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth2 xconnect v1 eth1 l2tp3 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 l2tp3 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1234::2 vrf v1 r3 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp22.tst 0000664 0000000 0000000 00000002111 14716276021 0016633 0 ustar 00root root 0000000 0000000 description vlan tunneling with l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ int eth2 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth2.111 xconnect v1 eth1 l2tp3 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 l2tp3 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 60 1234::2 vrf v1 r3 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp23.tst 0000664 0000000 0000000 00000001567 14716276021 0016652 0 ustar 00root root 0000000 0000000 description tunnel interface with l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod l2tp3 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod l2tp3 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 60 1.1.1.2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp24.tst 0000664 0000000 0000000 00000002002 14716276021 0016634 0 ustar 00root root 0000000 0000000 description ppp over authenticated l2tp2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server l2tp2 l2tp clone di1 password tester vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.1 called 1234 calling 4321 password tester dir in prot l2tp2 exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp25.tst 0000664 0000000 0000000 00000002036 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ppp over authenticated l2tp3 server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server l2tp3 l2tp clone di1 password tester vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.1 called 1234 calling 4321 vcid 1234 dir out password tester pwt ppp prot l2tp3 exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-l2tp26.tst 0000664 0000000 0000000 00000001540 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ppp over authenticated l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.2 vcid 1234 dir out password tester pwt ppp prot l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit vpdn l2tp interface di1 proxy p1 tar 1.1.1.1 vcid 1234 dir in password tester pwt ppp prot l2tp3 exit ! r2 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-lapb01.tst 0000664 0000000 0000000 00000001306 14716276021 0016672 0 ustar 00root root 0000000 0000000 description lapb mod8 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-lapb.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-lapb02.tst 0000664 0000000 0000000 00000001014 14716276021 0016667 0 ustar 00root root 0000000 0000000 description lapb mod128 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce lapb modul 128 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb modul 128 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-lapb03.tst 0000664 0000000 0000000 00000001022 14716276021 0016667 0 ustar 00root root 0000000 0000000 description lapb mod32768 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce lapb modul 32768 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb modul 32768 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-lisp01.tst 0000664 0000000 0000000 00000001763 14716276021 0016732 0 ustar 00root root 0000000 0000000 description lisp over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-lisp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-lisp02.tst 0000664 0000000 0000000 00000001427 14716276021 0016730 0 ustar 00root root 0000000 0000000 description lisp over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lisp03.tst 0000664 0000000 0000000 00000002040 14716276021 0016721 0 ustar 00root root 0000000 0000000 description lisp over lisp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode lisp tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode lisp tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-lisp04.tst 0000664 0000000 0000000 00000001744 14716276021 0016734 0 ustar 00root root 0000000 0000000 description lisp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode lisp tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode lisp tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lisp05.tst 0000664 0000000 0000000 00000001517 14716276021 0016733 0 ustar 00root root 0000000 0000000 description lisp over asymmetric ports addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel key 1234 4321 tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode lisp tunnel key 4321 1234 tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp01.tst 0000664 0000000 0000000 00000002511 14716276021 0017236 0 ustar 00root root 0000000 0000000 description llcudp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.2 protocol llcudp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.1 protocol llcudp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-llcudp.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-llcudp02.tst 0000664 0000000 0000000 00000001577 14716276021 0017252 0 ustar 00root root 0000000 0000000 description llcudp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::2 protocol llcudp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::1 protocol llcudp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp03.tst 0000664 0000000 0000000 00000002114 14716276021 0017237 0 ustar 00root root 0000000 0000000 description llcudp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.102 protocol llcudp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.101 protocol llcudp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp04.tst 0000664 0000000 0000000 00000002060 14716276021 0017240 0 ustar 00root root 0000000 0000000 description hdlc tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp05.tst 0000664 0000000 0000000 00000002157 14716276021 0017250 0 ustar 00root root 0000000 0000000 description ppp tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp06.tst 0000664 0000000 0000000 00000002116 14716276021 0017244 0 ustar 00root root 0000000 0000000 description lapb tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp07.tst 0000664 0000000 0000000 00000002440 14716276021 0017245 0 ustar 00root root 0000000 0000000 description framerelay tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp08.tst 0000664 0000000 0000000 00000002252 14716276021 0017247 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp09.tst 0000664 0000000 0000000 00000002116 14716276021 0017247 0 ustar 00root root 0000000 0000000 description isdn tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp10.tst 0000664 0000000 0000000 00000002053 14716276021 0017237 0 ustar 00root root 0000000 0000000 description sep tunneling with llcudp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 llcudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 llcudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp11.tst 0000664 0000000 0000000 00000002100 14716276021 0017231 0 ustar 00root root 0000000 0000000 description ethernet tunneling with llcudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 llcudp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 llcudp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp12.tst 0000664 0000000 0000000 00000002114 14716276021 0017237 0 ustar 00root root 0000000 0000000 description vlan tunneling with llcudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 llcudp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 llcudp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-llcudp13.tst 0000664 0000000 0000000 00000001572 14716276021 0017247 0 ustar 00root root 0000000 0000000 description tunnel interface with llcudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod llcudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod llcudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp01.tst 0000664 0000000 0000000 00000002505 14716276021 0017101 0 ustar 00root root 0000000 0000000 description lwapp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.2 protocol lwapp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.1 protocol lwapp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-lwapp.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-lwapp02.tst 0000664 0000000 0000000 00000001574 14716276021 0017107 0 ustar 00root root 0000000 0000000 description lwapp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::2 protocol lwapp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::1 protocol lwapp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp03.tst 0000664 0000000 0000000 00000002111 14716276021 0017074 0 ustar 00root root 0000000 0000000 description lwapp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.102 protocol lwapp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.101 protocol lwapp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp04.tst 0000664 0000000 0000000 00000002055 14716276021 0017104 0 ustar 00root root 0000000 0000000 description hdlc tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp05.tst 0000664 0000000 0000000 00000002154 14716276021 0017105 0 ustar 00root root 0000000 0000000 description ppp tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp06.tst 0000664 0000000 0000000 00000002113 14716276021 0017101 0 ustar 00root root 0000000 0000000 description lapb tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp07.tst 0000664 0000000 0000000 00000002435 14716276021 0017111 0 ustar 00root root 0000000 0000000 description framerelay tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp08.tst 0000664 0000000 0000000 00000002247 14716276021 0017113 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp09.tst 0000664 0000000 0000000 00000002113 14716276021 0017104 0 ustar 00root root 0000000 0000000 description isdn tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp10.tst 0000664 0000000 0000000 00000002050 14716276021 0017074 0 ustar 00root root 0000000 0000000 description sep tunneling with lwapp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 lwapp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 lwapp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp11.tst 0000664 0000000 0000000 00000002075 14716276021 0017104 0 ustar 00root root 0000000 0000000 description ethernet tunneling with lwapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 lwapp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 lwapp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp12.tst 0000664 0000000 0000000 00000002111 14716276021 0017074 0 ustar 00root root 0000000 0000000 description vlan tunneling with lwapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 lwapp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 lwapp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-lwapp13.tst 0000664 0000000 0000000 00000001567 14716276021 0017113 0 ustar 00root root 0000000 0000000 description tunnel interface with lwapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod lwapp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod lwapp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-minenc01.tst 0000664 0000000 0000000 00000002037 14716276021 0017227 0 ustar 00root root 0000000 0000000 description minenc over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode minenc tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode minenc tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-minenc.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-minenc02.tst 0000664 0000000 0000000 00000001501 14716276021 0017223 0 ustar 00root root 0000000 0000000 description minenc over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode minenc tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode minenc tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-minenc03.tst 0000664 0000000 0000000 00000002132 14716276021 0017225 0 ustar 00root root 0000000 0000000 description minenc over minenc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode minenc tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode minenc tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode minenc tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode minenc tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-minenc04.tst 0000664 0000000 0000000 00000001752 14716276021 0017235 0 ustar 00root root 0000000 0000000 description minenc over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode minenc tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode minenc tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-modem01.tst 0000664 0000000 0000000 00000001233 14716276021 0017054 0 ustar 00root root 0000000 0000000 description modem with alaw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec alaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 send pack modem 11 22 r2 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem02.tst 0000664 0000000 0000000 00000001233 14716276021 0017055 0 ustar 00root root 0000000 0000000 description modem with ulaw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec ulaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit dial-peer 1 codec ulaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 send pack modem 11 22 r2 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem03.tst 0000664 0000000 0000000 00000002304 14716276021 0017056 0 ustar 00root root 0000000 0000000 description modem with alaw through proxy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec alaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit server sip sp vrf v1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 register 1000 target 1.1.2.1 direction out exit ! r2 tping 100 5 1.1.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.2.1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem04.tst 0000664 0000000 0000000 00000002304 14716276021 0017057 0 ustar 00root root 0000000 0000000 description modem with ulaw through proxy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec ulaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 codec ulaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit server sip sp vrf v1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 codec ulaw match-calling .* match-called .* vrf v1 myname 99 register 1000 target 1.1.2.1 direction out exit ! r2 tping 100 5 1.1.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.2.1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem05.tst 0000664 0000000 0000000 00000002360 14716276021 0017062 0 ustar 00root root 0000000 0000000 description modem with alaw through peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec alaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 codec alaw match-calling .* match-called .* vrf v1 myname 77 target 1.1.2.2 port-local 5060 direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.2.1 port-local 5060 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.2.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem06.tst 0000664 0000000 0000000 00000002360 14716276021 0017063 0 ustar 00root root 0000000 0000000 description modem with ulaw through peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec ulaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 codec ulaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 codec ulaw match-calling .* match-called .* vrf v1 myname 77 target 1.1.2.2 port-local 5060 direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 codec ulaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.2.1 port-local 5060 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.2.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem07.tst 0000664 0000000 0000000 00000002371 14716276021 0017066 0 ustar 00root root 0000000 0000000 description modem with alaw and ulaw through peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec alaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 codec ulaw match-calling .* match-called .* vrf v1 myname 77 target 1.1.2.2 port-local 5060 direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 codec ulaw match-calling .* match-called .* vrf v1 myname 99 target 1.1.2.1 port-local 5060 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.2.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem08.tst 0000664 0000000 0000000 00000002273 14716276021 0017070 0 ustar 00root root 0000000 0000000 description modem through ipv4 peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 match-calling .* match-called .* vrf v1 myname 77 target 1.1.2.2 port-local 5060 direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.2.1 port-local 5060 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.2.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem09.tst 0000664 0000000 0000000 00000002273 14716276021 0017071 0 ustar 00root root 0000000 0000000 description modem through ipv6 peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 match-calling .* match-called .* vrf v1 myname 77 target 2345::2 port-local 5060 direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 2345::1 port-local 5060 direction out exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 2345::2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem10.tst 0000664 0000000 0000000 00000002432 14716276021 0017056 0 ustar 00root root 0000000 0000000 description modem through udp peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 match-calling .* match-called .* vrf v1 myname 77 target 1.1.2.2 port-local 5060 protocol sip-udp direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.2.1 port-local 5060 protocol sip-udp direction out exit ! r2 tping 100 5 1.1.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.2.1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-modem11.tst 0000664 0000000 0000000 00000002450 14716276021 0017057 0 ustar 00root root 0000000 0000000 description modem through tcp peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.1.1 direction out exit dial-peer 2 match-calling .* match-called .* vrf v1 myname 77 target 1.1.2.2 port-local 0 protocol sip-conn direction in exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: exit dial-peer 1 match-calling .* match-called .* vrf v1 myname 99 target 1.1.2.1 port-local 5060 port-remote 0 protocol sip-list direction out exit ! r2 tping 100 5 1.1.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.2.1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r3 send pack modem 11 22 r3 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/conn-mplsip01.tst 0000664 0000000 0000000 00000001773 14716276021 0017270 0 ustar 00root root 0000000 0000000 description mplsip over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-mplsip.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-mplsip02.tst 0000664 0000000 0000000 00000001435 14716276021 0017264 0 ustar 00root root 0000000 0000000 description mplsip over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsip03.tst 0000664 0000000 0000000 00000002054 14716276021 0017263 0 ustar 00root root 0000000 0000000 description mplsip over mplsip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode mplsip tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode mplsip tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsip04.tst 0000664 0000000 0000000 00000001752 14716276021 0017270 0 ustar 00root root 0000000 0000000 description mplsip over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsip05.tst 0000664 0000000 0000000 00000001343 14716276021 0017265 0 ustar 00root root 0000000 0000000 description mplsip server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int tun1 tunnel vrf v1 tunnel mode mplsip tunnel source eth1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int temp1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: shut exit server mplsip mi clone temp1 vrf v1 exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsudp01.tst 0000664 0000000 0000000 00000001777 14716276021 0017454 0 ustar 00root root 0000000 0000000 description mplsudp over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-mplsudp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-mplsudp02.tst 0000664 0000000 0000000 00000001440 14716276021 0017440 0 ustar 00root root 0000000 0000000 description mplsudp over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsudp03.tst 0000664 0000000 0000000 00000002062 14716276021 0017442 0 ustar 00root root 0000000 0000000 description mplsudp over mplsudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode mplsudp tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel mode mplsudp tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsudp04.tst 0000664 0000000 0000000 00000001755 14716276021 0017453 0 ustar 00root root 0000000 0000000 description mplsudp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsudp05.tst 0000664 0000000 0000000 00000001346 14716276021 0017450 0 ustar 00root root 0000000 0000000 description mplsudp server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int tun1 tunnel vrf v1 tunnel mode mplsudp tunnel source eth1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int temp1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: shut exit server mplsudp mu clone temp1 vrf v1 exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-mplsudp06.tst 0000664 0000000 0000000 00000001530 14716276021 0017444 0 ustar 00root root 0000000 0000000 description mplsudp over asymmetric ports addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel key 1234 4321 tunnel mode mplsudp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel key 4321 1234 tunnel mode mplsudp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nos01.tst 0000664 0000000 0000000 00000002023 14716276021 0016550 0 ustar 00root root 0000000 0000000 description nos over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode nos tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode nos tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-nos.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-nos02.tst 0000664 0000000 0000000 00000001470 14716276021 0016556 0 ustar 00root root 0000000 0000000 description nos over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode nos tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode nos tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nos03.tst 0000664 0000000 0000000 00000002110 14716276021 0016547 0 ustar 00root root 0000000 0000000 description nos over nos addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode nos tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode nos tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode nos tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode nos tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nos04.tst 0000664 0000000 0000000 00000001741 14716276021 0016561 0 ustar 00root root 0000000 0000000 description nos over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode nos tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode nos tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre01.tst 0000664 0000000 0000000 00000002531 14716276021 0017076 0 ustar 00root root 0000000 0000000 description nvgre over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol nvgre exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol nvgre exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-nvgre.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-nvgre02.tst 0000664 0000000 0000000 00000001620 14716276021 0017075 0 ustar 00root root 0000000 0000000 description nvgre over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol nvgre exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol nvgre exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre03.tst 0000664 0000000 0000000 00000002135 14716276021 0017100 0 ustar 00root root 0000000 0000000 description nvgre over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol nvgre exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol nvgre exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre04.tst 0000664 0000000 0000000 00000002053 14716276021 0017100 0 ustar 00root root 0000000 0000000 description hdlc tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre05.tst 0000664 0000000 0000000 00000002152 14716276021 0017101 0 ustar 00root root 0000000 0000000 description ppp tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre06.tst 0000664 0000000 0000000 00000002111 14716276021 0017075 0 ustar 00root root 0000000 0000000 description lapb tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre07.tst 0000664 0000000 0000000 00000002433 14716276021 0017105 0 ustar 00root root 0000000 0000000 description framerelay tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre08.tst 0000664 0000000 0000000 00000002245 14716276021 0017107 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre09.tst 0000664 0000000 0000000 00000002111 14716276021 0017100 0 ustar 00root root 0000000 0000000 description isdn tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre10.tst 0000664 0000000 0000000 00000002046 14716276021 0017077 0 ustar 00root root 0000000 0000000 description sep tunneling with nvgre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 nvgre 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 nvgre 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre11.tst 0000664 0000000 0000000 00000002073 14716276021 0017100 0 ustar 00root root 0000000 0000000 description ethernet tunneling with nvgre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 nvgre 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 nvgre 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre12.tst 0000664 0000000 0000000 00000002107 14716276021 0017077 0 ustar 00root root 0000000 0000000 description vlan tunneling with nvgre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 nvgre 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 nvgre 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-nvgre13.tst 0000664 0000000 0000000 00000001565 14716276021 0017107 0 ustar 00root root 0000000 0000000 description tunnel interface with nvgre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod nvgre vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod nvgre vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-p4lang01.tst 0000664 0000000 0000000 00000002451 14716276021 0017143 0 ustar 00root root 0000000 0000000 description p4lang demultiplexer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int sdn2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit server p4lang p4 interconnect eth1 export-vrf v1 export-port sdn1 1 export-port sdn2 9 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 exit int eth2 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit hair 1 exit hair 2 exit serv pktmux pm cpu eth1 data hair11 1 data hair21 9 control p1 3.3.3.1 9080 exit int hair12 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int hair22 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-p4lang02.tst 0000664 0000000 0000000 00000003455 14716276021 0017151 0 ustar 00root root 0000000 0000000 description p4lang downlink addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 exit int eth2 exit int eth3 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server p4lang p4 interconnect eth1 export-vrf v1 export-port sdn1 1 downlink 9 eth2 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3b$ $3a$ int eth3 eth 0000.0000.2222 $4a$ $4b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 exit int eth2 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int eth3 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 exit hair 1 exit hair 2 exit serv pktmux pm cpu eth1 data hair11 1 data hair21 9 control p1 3.3.3.1 9080 control p1 3.3.3.5 9080 exit int hair12 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int hair22 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 exit int sdn1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit server p4lang p4 interconnect eth1 export-vrf v1 export-port sdn1 9 vrf v1 exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r3 tping 100 5 3.3.3.6 vrf v1 r2 tping 100 5 3.3.3.5 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r3 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r3 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckoi01.tst 0000664 0000000 0000000 00000002076 14716276021 0017066 0 ustar 00root root 0000000 0000000 description pckoip over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-pckoi.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-pckoi02.tst 0000664 0000000 0000000 00000001541 14716276021 0017063 0 ustar 00root root 0000000 0000000 description pckoip over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pckoip tunnel key 123 tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pckoip tunnel key 123 tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckoi03.tst 0000664 0000000 0000000 00000002232 14716276021 0017062 0 ustar 00root root 0000000 0000000 description pckoip over pckoip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckoi04.tst 0000664 0000000 0000000 00000002012 14716276021 0017057 0 ustar 00root root 0000000 0000000 description pckoip over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel key 123 tunnel mode pckoip tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckot01.tst 0000664 0000000 0000000 00000001710 14716276021 0017073 0 ustar 00root root 0000000 0000000 description ppp with packet over tcp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotcp pou clone di1 vrf v1 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar 1.1.1.1 vcid 2554 prot pckotcp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckot02.tst 0000664 0000000 0000000 00000002527 14716276021 0017103 0 ustar 00root root 0000000 0000000 description ppp with packet over tls addrouter r1 int ser1 ser - $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotcp pou clone di1 security rsakey rsa security dsakey dsa security ecdsakey ecdsa security rsacert rsa security dsacert dsa security ecdsacert ecdsa security protocol tls vrf v1 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 security tls exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar 1.1.1.1 vcid 2554 prot pckotcp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckot03.tst 0000664 0000000 0000000 00000001710 14716276021 0017075 0 ustar 00root root 0000000 0000000 description ppp with packet over txt addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotxt pou clone di1 vrf v1 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar 1.1.1.1 vcid 2554 prot pckotxt exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckot04.tst 0000664 0000000 0000000 00000002531 14716276021 0017100 0 ustar 00root root 0000000 0000000 description ppp with packet over txtls addrouter r1 int ser1 ser - $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckotxt pou clone di1 security rsakey rsa security dsakey dsa security ecdsakey ecdsa security rsacert rsa security dsacert dsa security ecdsacert ecdsa security protocol tls vrf v1 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 security tls exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar 1.1.1.1 vcid 2554 prot pckotxt exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckou01.tst 0000664 0000000 0000000 00000002276 14716276021 0017104 0 ustar 00root root 0000000 0000000 description ppp with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 protocol pckoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 protocol pckoudp exit ! r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 output show inter dia1 full output ../binTmp/conn-pckou.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-pckou02.tst 0000664 0000000 0000000 00000002641 14716276021 0017101 0 ustar 00root root 0000000 0000000 description ethernet with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit vpdn pou bridge-gr 1 proxy p1 target 1.1.1.2 vcid 1234 protocol pckoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit int eth2 bridge-gr 1 exit vpdn pou bridge-gr 1 proxy p1 target 1.1.1.1 vcid 1234 protocol pckoudp exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit ! r3 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r3 tping 100 10 4321::2 vrf v1 r3 tping 100 10 4321::1 vrf v1 r2 tping 100 10 2.2.2.3 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::3 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 2.2.2.3 vrf v1 r1 tping 100 10 4321::2 vrf v1 r1 tping 100 10 4321::3 vrf v1 freeRtr-24.11.16/cfg/conn-pckou03.tst 0000664 0000000 0000000 00000002073 14716276021 0017101 0 ustar 00root root 0000000 0000000 description hdlc tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou04.tst 0000664 0000000 0000000 00000002172 14716276021 0017102 0 ustar 00root root 0000000 0000000 description ppp tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou05.tst 0000664 0000000 0000000 00000002131 14716276021 0017076 0 ustar 00root root 0000000 0000000 description lapb tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou06.tst 0000664 0000000 0000000 00000002453 14716276021 0017106 0 ustar 00root root 0000000 0000000 description framerelay tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou07.tst 0000664 0000000 0000000 00000002265 14716276021 0017110 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou08.tst 0000664 0000000 0000000 00000002131 14716276021 0017101 0 ustar 00root root 0000000 0000000 description isdn tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou09.tst 0000664 0000000 0000000 00000002066 14716276021 0017111 0 ustar 00root root 0000000 0000000 description sep tunneling with packet over udp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 pckoudp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 pckoudp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou10.tst 0000664 0000000 0000000 00000002113 14716276021 0017072 0 ustar 00root root 0000000 0000000 description ethernet tunneling with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 pckoudp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 pckoudp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou11.tst 0000664 0000000 0000000 00000002127 14716276021 0017100 0 ustar 00root root 0000000 0000000 description vlan tunneling with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 pckoudp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 pckoudp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou12.tst 0000664 0000000 0000000 00000001605 14716276021 0017101 0 ustar 00root root 0000000 0000000 description tunnel interface with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pckou13.tst 0000664 0000000 0000000 00000001703 14716276021 0017101 0 ustar 00root root 0000000 0000000 description ppp over packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckoudp pou clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar 1.1.1.1 prot pckoudp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckou14.tst 0000664 0000000 0000000 00000001625 14716276021 0017105 0 ustar 00root root 0000000 0000000 description ethernet over packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit server pckoudp pou bridge 1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit vpdn pou bridge-gr 1 proxy p1 tar 1.1.1.1 prot pckoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/conn-pckou15.tst 0000664 0000000 0000000 00000001576 14716276021 0017113 0 ustar 00root root 0000000 0000000 description interworking with ethernet over packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit server pckoudp pou bridge 1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int pweth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: pseudo v1 eth1 pckoudp 1.1.1.1 2554 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/conn-pckou16.tst 0000664 0000000 0000000 00000001716 14716276021 0017110 0 ustar 00root root 0000000 0000000 description interworking with packet over dtls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckodtls pou clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar 1.1.1.1 prot pckoudp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckou17.tst 0000664 0000000 0000000 00000002761 14716276021 0017112 0 ustar 00root root 0000000 0000000 description ppp with packet over dtls addrouter r1 int ser1 ser - $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pckodtls pou clone di1 security rsakey rsa security dsakey dsa security ecdsakey ecdsa security rsacert rsa security dsacert dsa security ecdsacert ecdsa security protocol dtls vrf v1 exit server dns dns zone test.corp defttl 43200 rr www.test.corp ip4a 1.1.1.1 vrf v1 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 security dtls exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pou int di1 proxy p1 tar www.test.corp vcid 2554 prot pckodtls exit proxy-profile p2 vrf v1 exit client proxy p2 client name-server 1.1.1.1 ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/conn-pckou18.tst 0000664 0000000 0000000 00000001625 14716276021 0017111 0 ustar 00root root 0000000 0000000 description packet over udp over asymmetric ports addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tunnel key 1234 4321 tun sou eth1 tun dest 1.1.1.2 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tunnel key 4321 1234 tun dest 1.1.1.1 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pim01.tst 0000664 0000000 0000000 00000002023 14716276021 0016536 0 ustar 00root root 0000000 0000000 description pim over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pim tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pim tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-pim.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-pim02.tst 0000664 0000000 0000000 00000001470 14716276021 0016544 0 ustar 00root root 0000000 0000000 description pim over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pim tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pim tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pim03.tst 0000664 0000000 0000000 00000002110 14716276021 0016535 0 ustar 00root root 0000000 0000000 description pim over pim addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode pim tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode pim tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode pim tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode pim tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pim04.tst 0000664 0000000 0000000 00000001741 14716276021 0016547 0 ustar 00root root 0000000 0000000 description pim over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode pim tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode pim tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pipe01.tst 0000664 0000000 0000000 00000002027 14716276021 0016712 0 ustar 00root root 0000000 0000000 description pipe over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pipe tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pipe tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-pipe.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-pipe02.tst 0000664 0000000 0000000 00000001473 14716276021 0016717 0 ustar 00root root 0000000 0000000 description pipe over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pipe tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode pipe tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pipe03.tst 0000664 0000000 0000000 00000002116 14716276021 0016713 0 ustar 00root root 0000000 0000000 description pipe over pipe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode pipe tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode pipe tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode pipe tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode pipe tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-pipe04.tst 0000664 0000000 0000000 00000001744 14716276021 0016722 0 ustar 00root root 0000000 0000000 description pipe over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode pipe tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode pipe tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp01.tst 0000664 0000000 0000000 00000001400 14716276021 0016546 0 ustar 00root root 0000000 0000000 description ppp encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-ppp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-ppp02.tst 0000664 0000000 0000000 00000001205 14716276021 0016552 0 ustar 00root root 0000000 0000000 description ppp with local authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp user c ppp pass c vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp auth usr vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp03.tst 0000664 0000000 0000000 00000002025 14716276021 0016554 0 ustar 00root root 0000000 0000000 description ppp with radius authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp user c ppp pass c vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth - $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit client proxy p1 aaa radius usr secret c server 2.2.2.2 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp auth usr vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit aaa userlist usr username c password c exit server radius rad authen usr secret c logg vrf v1 exit ! r2 tping 100 15 2.2.2.2 vrf v1 r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp04.tst 0000664 0000000 0000000 00000002066 14716276021 0016562 0 ustar 00root root 0000000 0000000 description ppp with tacacs authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp user c ppp pass c vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth - $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit client proxy p1 aaa tacacs usr secret c server 2.2.2.2 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp refuse chap ppp refuse eap ppp auth usr vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit aaa userlist usr username c password c exit server tacacs rad authen usr secret c logg vrf v1 exit ! r2 tping 100 15 2.2.2.2 vrf v1 r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp05.tst 0000664 0000000 0000000 00000001254 14716276021 0016561 0 ustar 00root root 0000000 0000000 description ppp with pap authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp user c ppp pass c ppp refuseauth eap vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp auth usr ppp refuseauth chap vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp06.tst 0000664 0000000 0000000 00000001254 14716276021 0016562 0 ustar 00root root 0000000 0000000 description ppp with chap authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp user c ppp pass c ppp refuseauth eap vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp auth usr ppp refuseauth pap vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp07.tst 0000664 0000000 0000000 00000001254 14716276021 0016563 0 ustar 00root root 0000000 0000000 description ppp with eap authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp user c ppp pass c ppp refuseauth chap vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp auth usr ppp refuseauth pap vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp08.tst 0000664 0000000 0000000 00000002417 14716276021 0016566 0 ustar 00root root 0000000 0000000 description ppp routes with local authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip4cp local 0.0.0.0 ppp ip6cp open ppp user c ppp pass c vrf for v1 ipv4 addr dynamic dynamic ipv4 gateway-prefix p4 ipv6 addr dynamic dynamic ipv6 gateway-prefix p6 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit aaa userlist usr username c password c username c ipv4addr 1.1.1.1 username c ipv4route 2.2.2.1/32 dist 123 username c ipv6addr 1234::1 username c ipv6ifid 1234-1234-1234-1234 username c ipv6route 4321::1/128 dist 222 exit int ser1 enc ppp ppp ip4cp local 1.1.1.2 ppp ip6cp open ppp auth usr vrf for v1 ipv4 addr dynamic dynamic ipv6 addr dynamic dynamic exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 2.2.2.2 vrf v1 r2 tping 100 15 2.2.2.1 vrf v1 r1 tping 100 15 4321::2 vrf v1 sou lo1 r2 tping 100 15 4321::1 vrf v1 sou lo1 freeRtr-24.11.16/cfg/conn-ppp09.tst 0000664 0000000 0000000 00000003237 14716276021 0016570 0 ustar 00root root 0000000 0000000 description ppp routes with radius authentication addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip4cp local 0.0.0.0 ppp ip6cp open ppp user c ppp pass c vrf for v1 ipv4 addr dynamic dynamic ipv4 gateway-prefix p4 ipv6 addr dynamic dynamic ipv6 gateway-prefix p6 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 exit client proxy p1 aaa radius usr secret c server 3.3.3.3 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int ser1 enc ppp ppp ip4cp local 1.1.1.2 ppp ip6cp open ppp auth usr vrf for v1 ipv4 addr dynamic dynamic ipv6 addr dynamic dynamic exit ! addrouter r3 int eth1 eth - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit aaa userlist usr username c password c username c ipv4addr 1.1.1.1 username c ipv4route 2.2.2.1/32 dist 123 username c ipv6addr 1234::1 username c ipv6ifid 1234-1234-1234-1234 username c ipv6route 4321::1/128 dist 222 exit server radius rad authen usr secret c logg vrf v1 exit ! r2 tping 100 15 3.3.3.3 vrf v1 r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 2.2.2.2 vrf v1 r2 tping 100 15 2.2.2.1 vrf v1 r1 tping 100 15 4321::2 vrf v1 sou lo1 r2 tping 100 15 4321::1 vrf v1 sou lo1 freeRtr-24.11.16/cfg/conn-ppp10.tst 0000664 0000000 0000000 00000001246 14716276021 0016556 0 ustar 00root root 0000000 0000000 description ppp with short multilink fragmentation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 short ppp frag 256 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 short ppp frag 256 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1111 r2 tping 100 15 1.1.1.1 vrf v1 siz 1111 r1 tping 100 15 1234::2 vrf v1 siz 1111 r2 tping 100 15 1234::1 vrf v1 siz 1111 freeRtr-24.11.16/cfg/conn-ppp11.tst 0000664 0000000 0000000 00000001243 14716276021 0016554 0 ustar 00root root 0000000 0000000 description ppp with long multilink fragmentation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 long ppp frag 256 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 long ppp frag 256 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1111 r2 tping 100 15 1.1.1.1 vrf v1 siz 1111 r1 tping 100 15 1234::2 vrf v1 siz 1111 r2 tping 100 15 1234::1 vrf v1 siz 1111 freeRtr-24.11.16/cfg/conn-ppp12.tst 0000664 0000000 0000000 00000001252 14716276021 0016555 0 ustar 00root root 0000000 0000000 description ppp with asymmetric multilink fragmentation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 short ppp frag 256 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 long ppp frag 256 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1111 r2 tping 100 15 1.1.1.1 vrf v1 siz 1111 r1 tping 100 15 1234::2 vrf v1 siz 1111 r2 tping 100 15 1234::1 vrf v1 siz 1111 freeRtr-24.11.16/cfg/conn-ppp13.tst 0000664 0000000 0000000 00000001170 14716276021 0016555 0 ustar 00root root 0000000 0000000 description ppp with asymmetric multilink addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close ppp multi 1500 long ppp frag 256 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 1111 r2 tping 100 15 1.1.1.1 vrf v1 siz 1111 r1 tping 100 15 1234::2 vrf v1 siz 1111 r2 tping 100 15 1234::1 vrf v1 siz 1111 freeRtr-24.11.16/cfg/conn-ppp14.tst 0000664 0000000 0000000 00000001540 14716276021 0016557 0 ustar 00root root 0000000 0000000 description ppp address propagation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp auth usr ppp ip4cp local 1.1.1.1 ppp ip4cp peer 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0001 ppp ip6cp peer 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp user c ppp pass c ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 slaac ena exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp15.tst 0000664 0000000 0000000 00000003103 14716276021 0016555 0 ustar 00root root 0000000 0000000 description ppp labeled gateway addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 1234:: ffff:: all 1234:: ffff:: all permit all any all any all exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp auth usr ppp ip4cp local 1.1.1.1 ppp ip4cp peer 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0001 ppp ip6cp peer 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:: ipv4 gateway-label expli ipv6 gateway-label expli ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 1234:: ffff:: all 1234:: ffff:: all permit all any all any all exit prefix-list p6 permit 1234::1/128 exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp user c ppp pass c ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 gateway-label expli ipv6 gateway-label expli ipv6 slaac ena ipv6 gateway-prefix p6 ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp16.tst 0000664 0000000 0000000 00000002413 14716276021 0016561 0 ustar 00root root 0000000 0000000 description ppp no remote address addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp auth usr ppp ip4cp local 1.1.1.1 ppp ip4cp peer 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0001 ppp ip6cp peer 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 2.2.2.1/32 exit prefix-list p6 permit 2222::1/128 exit int lo1 vrf for v1 ipv4 addr 1.1.1.0 255.255.255.252 ipv6 addr 1234::0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00 exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp user c ppp pass c ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 slaac ena ipv4 gateway-prefix p4 ipv6 gateway-prefix p6 no ipv4 gateway-remote no ipv6 gateway-remote exit ! r1 tping 100 15 1.1.1.2 vrf v1 sou lo0 r1 tping 100 15 1234::2 vrf v1 sou lo0 r2 tping 0 15 1.1.1.1 vrf v1 r2 tping 0 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-ppp17.tst 0000664 0000000 0000000 00000002472 14716276021 0016567 0 ustar 00root root 0000000 0000000 description ppp no local address addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit aaa userlist usr username c password c exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp auth usr ppp ip4cp local 1.1.1.1 ppp ip4cp peer 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0001 ppp ip6cp peer 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:: no ipv4 gateway-local no ipv6 gateway-local no ipv4 gateway-connect no ipv6 gateway-connect exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 2.2.2.1/32 exit prefix-list p6 permit 2222::1/128 exit int lo1 vrf for v1 ipv4 addr 1.1.1.0 255.255.255.252 ipv6 addr 1234::0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00 exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp user c ppp pass c ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 slaac ena ipv4 gateway-prefix p4 ipv6 gateway-prefix p6 exit ! r1 tping 100 15 1.1.1.2 vrf v1 sou lo0 r1 tping 100 15 1234::2 vrf v1 sou lo0 r2 tping 0 15 1.1.1.1 vrf v1 r2 tping 0 15 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-pppoe01.tst 0000664 0000000 0000000 00000001670 14716276021 0017103 0 ustar 00root root 0000000 0000000 description pppoe over ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 p2poe server di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 p2poe client di1 exit ! r2 tping 100 30 2.2.2.0 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-pppoe.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-pppoe02.tst 0000664 0000000 0000000 00000001457 14716276021 0017107 0 ustar 00root root 0000000 0000000 description pppoe over bridge encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 bridge-gr 1 exit int bvi1 p2poe server di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 bridge-gr 1 exit int bvi1 p2poe client di1 exit ! r2 tping 100 30 2.2.2.0 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/conn-pppoe03.tst 0000664 0000000 0000000 00000001662 14716276021 0017106 0 ustar 00root root 0000000 0000000 description ppp relay over pppoe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int eth1 p2poe client di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser - $2a$ $2b$ ! int eth1 p2poe relay ser1 exit int ser1 enc raw exit ! addrouter r3 int ser1 ser - $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 exit int eth1 p2poe relay di1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 exit int eth1 p2poe client di1 exit ! r1 tping 100 30 1.1.1.2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1.1.1.6 vrf v1 r4 tping 100 30 1.1.1.5 vrf v1 freeRtr-24.11.16/cfg/conn-pptp.tst 0000664 0000000 0000000 00000002234 14716276021 0016577 0 ustar 00root root 0000000 0000000 description ppp over pptp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server pptp pptp clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn pptp int di1 proxy p1 tar 1.1.1.1 called 1234 dir in prot pptp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-pptp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-raw.tst 0000664 0000000 0000000 00000001270 14716276021 0016404 0 ustar 00root root 0000000 0000000 description raw encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc raw vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc raw vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-raw.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-redun.tst 0000664 0000000 0000000 00000005357 14716276021 0016742 0 ustar 00root root 0000000 0000000 description process redundancy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.0 255.255.255.0 1.1.1.3 ipv6 route v1 4321:: ffff:: 1234::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ int eth4 eth 0000.0000.3333 $4a$ $4b$ int eth31 eth 0000.0000.3333 $5a$ $5b$ int eth32 eth 0000.0000.3333 $6a$ $6b$ int eth41 eth 0000.0000.3333 $7a$ $7b$ int eth42 eth 0000.0000.3333 $8a$ $8b$ int eth51 eth 0000.0000.3333 $9a$ $9b$ int eth52 eth 0000.0000.3333 $10a$ $10b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 34 mac-learn block-unicast exit bridge 35 mac-learn block-unicast exit bridge 45 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 shut exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int eth31 bridge-gr 34 shut exit int eth41 bridge-gr 34 exit int eth32 bridge-gr 35 shut exit int eth51 bridge-gr 35 exit int eth42 bridge-gr 45 exit int eth52 bridge-gr 45 exit ! addrouter r3 nowrite int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth8 red eth 0000.0000.3333 $5b$ $5a$ int eth9 red eth 0000.0000.3333 $6b$ $6a$ prio 20 ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 nowrite int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth8 red eth 0000.0000.4444 $7b$ $7a$ int eth9 red eth 0000.0000.4444 $8b$ $8a$ prio 10 ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.0 ipv6 addr 4321::4 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r5 nowrite int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth8 red eth 0000.0000.5555 $9b$ $9a$ int eth9 red eth 0000.0000.5555 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.0 ipv6 addr 4321::5 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! r1 tping 100 10 1.1.1.3 vrf v1 multi r1 tping 100 10 1234::3 vrf v1 multi r1 tping 100 10 2.2.2.4 vrf v1 r1 tping 100 10 4321::4 vrf v1 r2 send conf t r2 send int eth2 r2 send no shut r2 send exit r2 send int eth31 r2 send no shut r2 send exit r2 send int eth32 r2 send no shut r2 send end r1 tping 100 10 1.1.1.3 vrf v1 multi r1 tping 100 10 1234::3 vrf v1 multi r1 tping 100 10 2.2.2.3 vrf v1 r1 tping 100 10 4321::3 vrf v1 r3 send relo forc r1 tping 100 10 1.1.1.3 vrf v1 multi r1 tping 100 10 1234::3 vrf v1 multi r1 tping 100 10 2.2.2.5 vrf v1 r1 tping 100 10 4321::5 vrf v1 freeRtr-24.11.16/cfg/conn-sep.tst 0000664 0000000 0000000 00000001256 14716276021 0016406 0 ustar 00root root 0000000 0000000 description sep addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 output show inter ser1 full output ../binTmp/conn-sep.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-slaac.tst 0000664 0000000 0000000 00000000774 14716276021 0016706 0 ustar 00root root 0000000 0000000 description slaac addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv6 addr 3333::3 ffff:: ipv6 slaac ena ipv6 gateway-prefix p6 exit ! r2 tping 100 20 1234::1 vrf v1 r2 tping 100 5 4444::4 vrf v1 freeRtr-24.11.16/cfg/conn-sreth01.tst 0000664 0000000 0000000 00000002531 14716276021 0017102 0 ustar 00root root 0000000 0000000 description sreth over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-sreth.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-sreth02.tst 0000664 0000000 0000000 00000001620 14716276021 0017101 0 ustar 00root root 0000000 0000000 description sreth over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth03.tst 0000664 0000000 0000000 00000002135 14716276021 0017104 0 ustar 00root root 0000000 0000000 description sreth over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth04.tst 0000664 0000000 0000000 00000002053 14716276021 0017104 0 ustar 00root root 0000000 0000000 description hdlc tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth05.tst 0000664 0000000 0000000 00000002152 14716276021 0017105 0 ustar 00root root 0000000 0000000 description ppp tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth06.tst 0000664 0000000 0000000 00000002111 14716276021 0017101 0 ustar 00root root 0000000 0000000 description lapb tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth07.tst 0000664 0000000 0000000 00000002433 14716276021 0017111 0 ustar 00root root 0000000 0000000 description framerelay tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth08.tst 0000664 0000000 0000000 00000002245 14716276021 0017113 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth09.tst 0000664 0000000 0000000 00000002111 14716276021 0017104 0 ustar 00root root 0000000 0000000 description isdn tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth10.tst 0000664 0000000 0000000 00000002046 14716276021 0017103 0 ustar 00root root 0000000 0000000 description sep tunneling with sreth addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 sreth 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 sreth 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth11.tst 0000664 0000000 0000000 00000002073 14716276021 0017104 0 ustar 00root root 0000000 0000000 description ethernet tunneling with sreth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 sreth 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 sreth 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth12.tst 0000664 0000000 0000000 00000002107 14716276021 0017103 0 ustar 00root root 0000000 0000000 description vlan tunneling with sreth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 sreth 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 sreth 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-sreth13.tst 0000664 0000000 0000000 00000001565 14716276021 0017113 0 ustar 00root root 0000000 0000000 description tunnel interface with sreth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod sreth vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod sreth vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-ssh.tst 0000664 0000000 0000000 00000002730 14716276021 0016412 0 ustar 00root root 0000000 0000000 description ppp over ssh addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 server tel tel vrf v1 security rsakey rsa security dsakey dsa security ecdsakey ecdsa security protocol ssh security authen usr exec int di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit chat-script login send ppp binsend 13 exit vpdn tel interface di1 proxy p1 user u pass p script login target 3.3.3.1 vcid 23 protocol ssh exit ! r2 tping 100 40 2.2.2.0 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-ssh.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-sstp.tst 0000664 0000000 0000000 00000002246 14716276021 0016610 0 ustar 00root root 0000000 0000000 description ppp over sstp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server http h host * path ./ host * sstp dialer1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn sstp int di1 proxy p1 tar http://1.1.1.1/ prot sstp exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-sstp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-stp.tst 0000664 0000000 0000000 00000002254 14716276021 0016424 0 ustar 00root root 0000000 0000000 description spantree over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 stp-mode ieee mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 stp-mode ieee mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-stp.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-stun.tst 0000664 0000000 0000000 00000002234 14716276021 0016605 0 ustar 00root root 0000000 0000000 description ppp over stun addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit server stun stun clone di1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit prefix-list p1 permit 0.0.0.0/0 exit int di1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn stun int di1 proxy p1 tar 1.1.1.1 called 1234 dir in prot stun exit ! r2 tping 100 60 2.2.2.0 vrf v1 r2 tping 100 5 4.4.4.4 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-stun.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-tcp.tst 0000664 0000000 0000000 00000002522 14716276021 0016402 0 ustar 00root root 0000000 0000000 description ppp over tcp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit aaa userlist usr username c password c username c privilege 14 exit server tel tel vrf v1 login authen usr exec int di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit chat-script login recv 5000 .*ser send c binsend 13 recv 5000 .*ass send c binsend 13 send ppp binsend 13 exit vpdn tel interface di1 proxy p1 script login target 3.3.3.1 vcid 23 protocol tcp exit ! r2 tping 100 30 2.2.2.0 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-tcp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-tdmou01.tst 0000664 0000000 0000000 00000001765 14716276021 0017115 0 ustar 00root root 0000000 0000000 description tdmoudp with middle channels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 5009 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 5009 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tdmou02.tst 0000664 0000000 0000000 00000002404 14716276021 0017105 0 ustar 00root root 0000000 0000000 description ppp with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 r1 output show inter dia1 full output ../binTmp/conn-tdmoudp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-tdmou03.tst 0000664 0000000 0000000 00000001744 14716276021 0017114 0 ustar 00root root 0000000 0000000 description hdlc with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tdmou04.tst 0000664 0000000 0000000 00000001763 14716276021 0017116 0 ustar 00root root 0000000 0000000 description lapb with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc lapb vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tdmou05.tst 0000664 0000000 0000000 00000002137 14716276021 0017113 0 ustar 00root root 0000000 0000000 description framerelay with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tdmou06.tst 0000664 0000000 0000000 00000002042 14716276021 0017107 0 ustar 00root root 0000000 0000000 description atmdxi with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tdmou07.tst 0000664 0000000 0000000 00000001763 14716276021 0017121 0 ustar 00root root 0000000 0000000 description isdn with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc isdn vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tdmou08.tst 0000664 0000000 0000000 00000001741 14716276021 0017116 0 ustar 00root root 0000000 0000000 description sep with tdmoudp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.2 vcid 1234 mtu 7 protocol tdmoudp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int di1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit vpdn pou interface dialer1 proxy p1 target 1.1.1.1 vcid 1234 mtu 7 protocol tdmoudp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 r2 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-telnet.tst 0000664 0000000 0000000 00000002565 14716276021 0017116 0 ustar 00root root 0000000 0000000 description ppp over telnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit aaa userlist usr username c password c username c privilege 14 exit server tel tel vrf v1 login authen usr security protocol telnet exec int di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit chat-script login recv 5000 .*ser send c binsend 13 recv 5000 .*ass send c binsend 13 send ppp binsend 13 exit vpdn tel interface di1 proxy p1 script login target 3.3.3.1 vcid 23 protocol telnet exit ! r2 tping 100 30 2.2.2.0 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-telnet.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-tls.tst 0000664 0000000 0000000 00000003323 14716276021 0016416 0 ustar 00root root 0000000 0000000 description ppp over tls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit aaa userlist usr username c password c username c privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa server tel tel vrf v1 security rsakey rsa security dsakey dsa security ecdsakey ecdsa security rsacert rsa security dsacert dsa security ecdsacert ecdsa security protocol tls login authen usr exec int di1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp vrf for v1 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit chat-script login recv 5000 .*ser send c binsend 13 recv 5000 .*ass send c binsend 13 send ppp binsend 13 exit vpdn tel interface di1 proxy p1 script login target 3.3.3.1 vcid 23 protocol tls exit ! r2 tping 100 40 2.2.2.0 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 output show inter dia1 full output ../binTmp/conn-tls.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-tmux01.tst 0000664 0000000 0000000 00000002027 14716276021 0016752 0 ustar 00root root 0000000 0000000 description tmux over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-tmux.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-tmux02.tst 0000664 0000000 0000000 00000001473 14716276021 0016757 0 ustar 00root root 0000000 0000000 description tmux over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tmux03.tst 0000664 0000000 0000000 00000002116 14716276021 0016753 0 ustar 00root root 0000000 0000000 description tmux over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode tmux tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode tmux tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tmux04.tst 0000664 0000000 0000000 00000001744 14716276021 0016762 0 ustar 00root root 0000000 0000000 description tmux over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode tmux tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode tmux tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp01.tst 0000664 0000000 0000000 00000002501 14716276021 0016752 0 ustar 00root root 0000000 0000000 description tzsp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.2 protocol tzsp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.1 protocol tzsp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-tzsp.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-tzsp02.tst 0000664 0000000 0000000 00000001571 14716276021 0016761 0 ustar 00root root 0000000 0000000 description tzsp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::2 protocol tzsp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::1 protocol tzsp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp03.tst 0000664 0000000 0000000 00000002106 14716276021 0016755 0 ustar 00root root 0000000 0000000 description tzsp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.102 protocol tzsp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.101 protocol tzsp exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp04.tst 0000664 0000000 0000000 00000002052 14716276021 0016756 0 ustar 00root root 0000000 0000000 description hdlc tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp05.tst 0000664 0000000 0000000 00000002151 14716276021 0016757 0 ustar 00root root 0000000 0000000 description ppp tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp06.tst 0000664 0000000 0000000 00000002110 14716276021 0016753 0 ustar 00root root 0000000 0000000 description lapb tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp07.tst 0000664 0000000 0000000 00000002432 14716276021 0016763 0 ustar 00root root 0000000 0000000 description framerelay tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp08.tst 0000664 0000000 0000000 00000002244 14716276021 0016765 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp09.tst 0000664 0000000 0000000 00000002110 14716276021 0016756 0 ustar 00root root 0000000 0000000 description isdn tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp10.tst 0000664 0000000 0000000 00000002045 14716276021 0016755 0 ustar 00root root 0000000 0000000 description sep tunneling with tzsp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 tzsp 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 tzsp 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp11.tst 0000664 0000000 0000000 00000002072 14716276021 0016756 0 ustar 00root root 0000000 0000000 description ethernet tunneling with tzsp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 tzsp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 tzsp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp12.tst 0000664 0000000 0000000 00000002106 14716276021 0016755 0 ustar 00root root 0000000 0000000 description vlan tunneling with tzsp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 tzsp 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 tzsp 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-tzsp13.tst 0000664 0000000 0000000 00000001564 14716276021 0016765 0 ustar 00root root 0000000 0000000 description tunnel interface with tzsp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod tzsp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod tzsp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-udpgre01.tst 0000664 0000000 0000000 00000002037 14716276021 0017244 0 ustar 00root root 0000000 0000000 description udpgre over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/conn-udpgre.html here is the interface:
show:0! freeRtr-24.11.16/cfg/conn-udpgre02.tst 0000664 0000000 0000000 00000001501 14716276021 0017240 0 ustar 00root root 0000000 0000000 description udpgre over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-udpgre03.tst 0000664 0000000 0000000 00000002132 14716276021 0017242 0 ustar 00root root 0000000 0000000 description udpgre over udpgre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv6 addr 1234::1 ffff:: exit int tun2 tunnel vrf v1 tunnel mode udpgre tunnel source tun1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv6 addr 1234::2 ffff:: exit int tun2 tunnel vrf v1 tunnel mode udpgre tunnel source tun1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-udpgre04.tst 0000664 0000000 0000000 00000001752 14716276021 0017252 0 ustar 00root root 0000000 0000000 description udpgre over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 int tun1 tunnel vrf v1 tunnel mode udpgre tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti01.tst 0000664 0000000 0000000 00000002521 14716276021 0016555 0 ustar 00root root 0000000 0000000 description uti over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol uti exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol uti exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-uti.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-uti02.tst 0000664 0000000 0000000 00000001612 14716276021 0016556 0 ustar 00root root 0000000 0000000 description uti over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol uti exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol uti exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti03.tst 0000664 0000000 0000000 00000002127 14716276021 0016561 0 ustar 00root root 0000000 0000000 description uti over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol uti exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn er bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol uti exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti04.tst 0000664 0000000 0000000 00000002045 14716276021 0016561 0 ustar 00root root 0000000 0000000 description hdlc tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti05.tst 0000664 0000000 0000000 00000002144 14716276021 0016562 0 ustar 00root root 0000000 0000000 description ppp tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti06.tst 0000664 0000000 0000000 00000002103 14716276021 0016556 0 ustar 00root root 0000000 0000000 description lapb tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti07.tst 0000664 0000000 0000000 00000002425 14716276021 0016566 0 ustar 00root root 0000000 0000000 description framerelay tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti08.tst 0000664 0000000 0000000 00000002237 14716276021 0016570 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti09.tst 0000664 0000000 0000000 00000002103 14716276021 0016561 0 ustar 00root root 0000000 0000000 description isdn tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti10.tst 0000664 0000000 0000000 00000002040 14716276021 0016551 0 ustar 00root root 0000000 0000000 description sep tunneling with uti addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 uti 1.1.1.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 uti 1.1.1.1 123 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti11.tst 0000664 0000000 0000000 00000002065 14716276021 0016561 0 ustar 00root root 0000000 0000000 description ethernet tunneling with uti addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 uti 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 uti 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti12.tst 0000664 0000000 0000000 00000002101 14716276021 0016551 0 ustar 00root root 0000000 0000000 description vlan tunneling with uti addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 uti 1234::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 uti 1234::1 123 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-uti13.tst 0000664 0000000 0000000 00000001557 14716276021 0016570 0 ustar 00root root 0000000 0000000 description tunnel interface with uti addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod uti vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod uti vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vdc01.tst 0000664 0000000 0000000 00000001374 14716276021 0016535 0 ustar 00root root 0000000 0000000 description vdc parent interface exit addrouter r1 port 61000 62000 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vdc def a int eth1 exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.255 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 9.9.9.9 vrf v1 r1 send att vdc a r1 send conf t r1 send vrf def v1 r1 send rd 1:1 r1 send exit r1 send int eth1 r1 send vrf for v1 r1 send ipv4 addr 1.1.1.1 255.255.255.0 r1 send ipv6 addr 1234::1 ffff:: r1 send exit r1 send end r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-vdc02.tst 0000664 0000000 0000000 00000001107 14716276021 0016530 0 ustar 00root root 0000000 0000000 description vdc parent connect exit addrouter r1 port 61000 62000 ! vdc def a loc eth1 exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 9.9.9.9 vrf v1 r1 send att vdc a r1 send conf t r1 send vrf def v1 r1 send rd 1:1 r1 send exit r1 send int eth1 r1 send vrf for v1 r1 send ipv4 addr 1.1.1.1 255.255.255.0 r1 send ipv6 addr 1234::1 ffff:: r1 send exit r1 send end r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/conn-vdc03.tst 0000664 0000000 0000000 00000001542 14716276021 0016534 0 ustar 00root root 0000000 0000000 description vdc peer connect exit addrouter r1 port 61000 62000 ! vdc def a exit vdc def b conn eth1 a exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.255 exit ! r1 tping 100 5 9.9.9.9 vrf v1 r1 send att vdc a r1 send conf t r1 send vrf def v1 r1 send rd 1:1 r1 send exit r1 send int eth1 r1 send vrf for v1 r1 send ipv4 addr 1.1.1.1 255.255.255.0 r1 send ipv6 addr 1234::1 ffff:: r1 send exit r1 send end r1 tping 100 5 1.1.1.1 vrf v1 sleep 1000 r1 char 3 sleep 1000 r1 char 24 sleep 1000 r1 read closed r1 tping 100 5 9.9.9.9 vrf v1 r1 send att vdc b r1 send conf t r1 send vrf def v1 r1 send rd 1:1 r1 send exit r1 send int eth1 r1 send vrf for v1 r1 send ipv4 addr 1.1.1.2 255.255.255.0 r1 send ipv6 addr 1234::2 ffff:: r1 send exit r1 send end r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/conn-vrrp.tst 0000664 0000000 0000000 00000003553 14716276021 0016612 0 ustar 00root root 0000000 0000000 description vrrp over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.254 ipv6 route v1 :: :: 1234::254 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv4 vrrp address 1.1.1.254 ipv4 vrrp priority 120 ipv6 addr 1234::2 ffff:: ipv6 vrrp address 1234::254 ipv6 vrrp priority 120 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv4 vrrp address 1.1.1.254 ipv4 vrrp priority 110 ipv6 addr 1234::3 ffff:: ipv6 vrrp address 1234::254 ipv6 vrrp priority 110 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1.1.1.3 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1234::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r1 tping 100 5 4321::2 vrf v1 r1 tping 0 5 2.2.2.3 vrf v1 r1 tping 0 5 4321::3 vrf v1 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 0 5 4321::2 vrf v1 r1 tping 100 5 2.2.2.3 vrf v1 r1 tping 100 5 4321::3 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan01.tst 0000664 0000000 0000000 00000002531 14716276021 0017105 0 ustar 00root root 0000000 0000000 description vxlan over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol vxlan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 mac-learn exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol vxlan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r2 output show bridge 1 r2 output show inter bvi1 full r2 output show ipv4 arp bvi1 r2 output show ipv6 neigh bvi1 output ../binTmp/conn-vxlan.html here is the bridge:
show:0here is the interface:
show:1here is the arp:
show:2here are the neighbors:
show:3! freeRtr-24.11.16/cfg/conn-vxlan02.tst 0000664 0000000 0000000 00000001620 14716276021 0017104 0 ustar 00root root 0000000 0000000 description vxlan over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol vxlan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol vxlan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan03.tst 0000664 0000000 0000000 00000002135 14716276021 0017107 0 ustar 00root root 0000000 0000000 description vxlan over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.102 vcid 123 protocol vxlan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit proxy-profile p1 vrf v1 source lo0 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 bridge 1 exit vpdn vx bridge-group 1 proxy p1 target 1.1.1.101 vcid 123 protocol vxlan exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan04.tst 0000664 0000000 0000000 00000002055 14716276021 0017111 0 ustar 00root root 0000000 0000000 description hdlc tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc hdlc xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc hdlc xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan05.tst 0000664 0000000 0000000 00000002154 14716276021 0017112 0 ustar 00root root 0000000 0000000 description ppp tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc ppp xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc ppp xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan06.tst 0000664 0000000 0000000 00000002113 14716276021 0017106 0 ustar 00root root 0000000 0000000 description lapb tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc lapb xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc lapb lapb mode dce xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan07.tst 0000664 0000000 0000000 00000002435 14716276021 0017116 0 ustar 00root root 0000000 0000000 description framerelay tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan08.tst 0000664 0000000 0000000 00000002247 14716276021 0017120 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan09.tst 0000664 0000000 0000000 00000002113 14716276021 0017111 0 ustar 00root root 0000000 0000000 description isdn tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc isdn xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc isdn xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan10.tst 0000664 0000000 0000000 00000002050 14716276021 0017101 0 ustar 00root root 0000000 0000000 description sep tunneling with vxlan addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser1 enc sep xconnect v1 eth1 vxlan 1.1.1.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int ser1 enc sep xconnect v1 eth1 vxlan 1.1.1.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan11.tst 0000664 0000000 0000000 00000002075 14716276021 0017111 0 ustar 00root root 0000000 0000000 description ethernet tunneling with vxlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 xconnect v1 eth2 vxlan 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 xconnect v1 eth1 vxlan 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan12.tst 0000664 0000000 0000000 00000002111 14716276021 0017101 0 ustar 00root root 0000000 0000000 description vlan tunneling with vxlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1.111 xconnect v1 eth2 vxlan 1234::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int eth2.222 xconnect v1 eth1 vxlan 1234::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1234::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r4 tping 100 10 2.2.2.1 vrf v1 r4 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan13.tst 0000664 0000000 0000000 00000001567 14716276021 0017120 0 ustar 00root root 0000000 0000000 description tunnel interface with vxlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod vxlan vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod vxlan vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-vxlan14.tst 0000664 0000000 0000000 00000004404 14716276021 0017112 0 ustar 00root root 0000000 0000000 description multipoint ethernet over vxlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit bridge 1 mac-learn exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit server vxlan vxl bridge 1 vrf v1 inst 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit vpdn vxl bridge-gr 1 proxy p1 tar 1.1.1.1 vcid 1234 prot vxlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit vpdn vxl bridge-gr 1 proxy p1 tar 1234:2::1 vcid 1234 prot vxlan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.0 ipv6 addr 4321::4 ffff:ffff:: exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn01.tst 0000664 0000000 0000000 00000001165 14716276021 0017104 0 ustar 00root root 0000000 0000000 description cross connect hdlc interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc hdlc connect ser2 exit int ser2 enc hdlc exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn02.tst 0000664 0000000 0000000 00000001264 14716276021 0017105 0 ustar 00root root 0000000 0000000 description cross connect ppp interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc ppp connect ser2 exit int ser2 enc ppp exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn03.tst 0000664 0000000 0000000 00000001223 14716276021 0017101 0 ustar 00root root 0000000 0000000 description cross connect lapb interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc lapb lapb mode dce connect ser2 exit int ser2 enc lapb lapb mode dce exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn04.tst 0000664 0000000 0000000 00000001545 14716276021 0017111 0 ustar 00root root 0000000 0000000 description cross connect framerelay interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 framerelay mode dce connect ser2 exit int ser2 enc framerelay framerelay lmi ansi framerelay dlci 123 framerelay mode dce exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn05.tst 0000664 0000000 0000000 00000001357 14716276021 0017113 0 ustar 00root root 0000000 0000000 description cross connect atmdxi interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 connect ser2 exit int ser2 enc atmdxi atmdxi vpi 1 atmdxi vci 2 exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn06.tst 0000664 0000000 0000000 00000001223 14716276021 0017104 0 ustar 00root root 0000000 0000000 description cross connect isdn interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc isdn connect ser2 exit int ser2 enc isdn exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn07.tst 0000664 0000000 0000000 00000001160 14716276021 0017105 0 ustar 00root root 0000000 0000000 description cross connect sep interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! int ser1 enc sep connect ser2 exit int ser2 enc sep exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn08.tst 0000664 0000000 0000000 00000001170 14716276021 0017107 0 ustar 00root root 0000000 0000000 description cross connect ethernet interfaces addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 connect eth2 exit int eth2 exit ! addrouter r3 int eth1 eth - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn09.tst 0000664 0000000 0000000 00000001206 14716276021 0017110 0 ustar 00root root 0000000 0000000 description cross connect vlan subinterfaces addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1.11 exit int eth2.22 connect eth1.11 exit ! addrouter r3 int eth1 eth - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.22 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn10.tst 0000664 0000000 0000000 00000001107 14716276021 0017100 0 ustar 00root root 0000000 0000000 description cross connect vlan subinterfaces of same interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit int eth1.22 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! int eth1.11 exit int eth1.22 connect eth1.11 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r1 tping 100 30 2.2.2.1 vrf v2 r1 tping 100 30 4321::1 vrf v2 freeRtr-24.11.16/cfg/conn-xconn11.tst 0000664 0000000 0000000 00000002400 14716276021 0017076 0 ustar 00root root 0000000 0000000 description cross connect tunnel interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ser1 tunnel destination 1.1.1.1 exit int tun2 tunnel vrf v1 tunnel mode gre tunnel source ser2 tunnel destination 1.1.2.1 connect tun1 exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ser1 tunnel destination 1.1.2.2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xconn12.tst 0000664 0000000 0000000 00000002414 14716276021 0017104 0 ustar 00root root 0000000 0000000 description cross connect different tunnel interfaces addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ser1 tunnel destination 1.1.1.1 exit int tun2 tunnel vrf v1 tunnel mode ipip tunnel source ser2 tunnel destination 1.1.2.1 connect tun1 exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ser1 tunnel destination 1.1.2.2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r3 tping 100 30 2.2.2.1 vrf v1 r3 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/conn-xotpad.tst 0000664 0000000 0000000 00000000772 14716276021 0017120 0 ustar 00root root 0000000 0000000 description xot pad addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit server xot xot vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit client proxy p1 int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit ! r2 send pack xot 3.3.3.1 11 22 r2 tping 100 5 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/crypt-access01.tst 0000664 0000000 0000000 00000004702 14716276021 0017424 0 ustar 00root root 0000000 0000000 description access class addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit access-list test permit all 1.1.1.3 255.255.255.255 all any all permit all 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit server telnet tel vrf v1 access-class test port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1234::1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 send exit r3 read closed r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 send exit r3 read closed r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-access02.tst 0000664 0000000 0000000 00000006333 14716276021 0017427 0 ustar 00root root 0000000 0000000 description access map addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit route-map test sequence 10 act permit match network 2.2.2.3/32 sequence 20 act permit match network 4321::3/128 exit server telnet tel vrf v1 access-map test port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 exit router pvrp6 1 vrf v1 router 6.6.6.2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 exit router pvrp6 1 vrf v1 router 6.6.6.4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 sou lo1 r2 tping 100 20 1234::1 vrf v1 sou lo1 r3 tping 100 20 1.1.1.1 vrf v1 sou lo1 r3 tping 100 20 1234::1 vrf v1 sou lo1 r4 tping 100 20 1.1.1.1 vrf v1 sou lo1 r4 tping 100 20 1234::1 vrf v1 sou lo1 r1 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r4 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 send telnet 1.1.1.1 666 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 send telnet 1234::1 666 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 send telnet 1.1.1.1 666 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 send exit r3 read closed r3 send telnet 1234::1 666 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 send exit r3 read closed r4 send telnet 1.1.1.1 666 vrf v1 sou lo1 r4 tping 0 20 2.2.2.1 vrf v1 sou lo1 r4 send telnet 1234::1 666 vrf v1 sou lo1 r4 tping 0 20 2.2.2.1 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-access03.tst 0000664 0000000 0000000 00000006314 14716276021 0017427 0 ustar 00root root 0000000 0000000 description access policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit route-policy test if network 2.2.2.3/32 pass enif if network 4321::3/128 pass enif drop exit server telnet tel vrf v1 access-policy test port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 exit router pvrp6 1 vrf v1 router 6.6.6.2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 exit router pvrp6 1 vrf v1 router 6.6.6.4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 sou lo1 r2 tping 100 20 1234::1 vrf v1 sou lo1 r3 tping 100 20 1.1.1.1 vrf v1 sou lo1 r3 tping 100 20 1234::1 vrf v1 sou lo1 r4 tping 100 20 1.1.1.1 vrf v1 sou lo1 r4 tping 100 20 1234::1 vrf v1 sou lo1 r1 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r4 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 send telnet 1.1.1.1 666 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 send telnet 1234::1 666 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 send telnet 1.1.1.1 666 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 send exit r3 read closed r3 send telnet 1234::1 666 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 send exit r3 read closed r4 send telnet 1.1.1.1 666 vrf v1 sou lo1 r4 tping 0 20 2.2.2.1 vrf v1 sou lo1 r4 send telnet 1234::1 666 vrf v1 sou lo1 r4 tping 0 20 2.2.2.1 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-access04.tst 0000664 0000000 0000000 00000005253 14716276021 0017431 0 ustar 00root root 0000000 0000000 description access subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.4 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 server telnet tel vrf v1 access-subnet 2 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed freeRtr-24.11.16/cfg/crypt-access05.tst 0000664 0000000 0000000 00000012411 14716276021 0017424 0 ustar 00root root 0000000 0000000 description remote triggered blackhole access addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit router blackhole4 1 vrf v2 exit router blackhole6 1 vrf v2 exit router bgp4 1 vrf v1 address vpnuni uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole4 1 red conn exit router bgp6 1 vrf v1 address vpnuni uni local-as 1 router-id 6.6.6.1 neigh 1234::5 remote-as 1 neigh 1234::5 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole6 1 red conn exit server telnet tel vrf v1 access-subnet 2 access-blackhole4 1 access-blackhole6 1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit router blackhole4 1 vrf v2 exit router blackhole6 1 vrf v2 exit router bgp4 1 vrf v1 address vpnuni uni local-as 1 router-id 4.4.4.5 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole4 1 red conn exit router bgp6 1 vrf v1 address vpnuni uni local-as 1 router-id 6.6.6.5 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole6 1 red conn exit server telnet tel vrf v1 access-blackhole4 1 access-blackhole6 1 port 666 exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r5 tping 100 20 1.1.1.2 vrf v1 r5 tping 100 20 1234::2 vrf v1 r5 tping 100 20 1.1.1.3 vrf v1 r5 tping 100 20 1234::3 vrf v1 r5 tping 100 20 1.1.1.4 vrf v1 r5 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.5 vrf v1 r2 tping 100 20 1234::5 vrf v1 r3 tping 100 20 1.1.1.5 vrf v1 r3 tping 100 20 1234::5 vrf v1 r4 tping 100 20 1.1.1.5 vrf v1 r4 tping 100 20 1234::5 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r5 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 2.2.2.5 vrf v1 r2 tping 0 20 2.2.2.5 vrf v1 r3 tping 0 20 2.2.2.5 vrf v1 r4 tping 0 20 2.2.2.5 vrf v1 r5 tping 100 20 2.2.2.5 vrf v1 r2 send telnet 1.1.1.5 666 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 send exit r2 read closed r2 send telnet 1234::5 666 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 send exit r2 read closed r3 send telnet 1.1.1.5 666 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 send exit r3 read closed r3 send telnet 1234::5 666 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 send exit r3 read closed r4 send telnet 1.1.1.5 666 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 send exit r4 read closed r4 send telnet 1234::5 666 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 send exit r4 read closed r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r2 send telnet 1.1.1.5 666 vrf v1 r2 tping 0 20 2.2.2.5 vrf v1 r2 send telnet 1234::5 666 vrf v1 r2 tping 0 20 2.2.2.5 vrf v1 r3 send telnet 1.1.1.5 666 vrf v1 r3 tping 0 20 2.2.2.5 vrf v1 r3 send telnet 1234::5 666 vrf v1 r3 tping 0 20 2.2.2.5 vrf v1 r4 send telnet 1.1.1.5 666 vrf v1 r4 tping 0 20 2.2.2.5 vrf v1 r4 send telnet 1234::5 666 vrf v1 r4 tping 0 20 2.2.2.5 vrf v1 freeRtr-24.11.16/cfg/crypt-access06.tst 0000664 0000000 0000000 00000012431 14716276021 0017427 0 ustar 00root root 0000000 0000000 description remote triggered whitelist access addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit router blackhole4 1 vrf v2 exit router blackhole6 1 vrf v2 exit router bgp4 1 vrf v1 address vpnuni uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole4 1 red conn exit router bgp6 1 vrf v1 address vpnuni uni local-as 1 router-id 6.6.6.1 neigh 1234::5 remote-as 1 neigh 1234::5 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole6 1 red conn exit server telnet tel vrf v1 access-subnet 2 access-blackhole4 1 access-blackhole6 1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:: exit router blackhole4 1 vrf v2 negate exit router blackhole6 1 vrf v2 negate exit router bgp4 1 vrf v1 address vpnuni uni local-as 1 router-id 4.4.4.5 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole4 1 red conn exit router bgp6 1 vrf v1 address vpnuni uni local-as 1 router-id 6.6.6.5 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both afi-vrf v2 ena afi-vrf v2 red blackhole6 1 red conn exit server telnet tel vrf v1 access-blackhole4 1 access-blackhole6 1 port 666 exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r5 tping 100 20 1.1.1.2 vrf v1 r5 tping 100 20 1234::2 vrf v1 r5 tping 100 20 1.1.1.3 vrf v1 r5 tping 100 20 1234::3 vrf v1 r5 tping 100 20 1.1.1.4 vrf v1 r5 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.5 vrf v1 r2 tping 100 20 1234::5 vrf v1 r3 tping 100 20 1.1.1.5 vrf v1 r3 tping 100 20 1234::5 vrf v1 r4 tping 100 20 1.1.1.5 vrf v1 r4 tping 100 20 1234::5 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r5 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 2.2.2.5 vrf v1 r2 tping 0 20 2.2.2.5 vrf v1 r3 tping 0 20 2.2.2.5 vrf v1 r4 tping 0 20 2.2.2.5 vrf v1 r5 tping 100 20 2.2.2.5 vrf v1 r2 send telnet 1.1.1.5 666 vrf v1 r2 tping 0 20 2.2.2.5 vrf v1 r2 send telnet 1234::5 666 vrf v1 r2 tping 0 20 2.2.2.5 vrf v1 r3 send telnet 1.1.1.5 666 vrf v1 r3 tping 0 20 2.2.2.5 vrf v1 r3 send telnet 1234::5 666 vrf v1 r3 tping 0 20 2.2.2.5 vrf v1 r4 send telnet 1.1.1.5 666 vrf v1 r4 tping 0 20 2.2.2.5 vrf v1 r4 send telnet 1234::5 666 vrf v1 r4 tping 0 20 2.2.2.5 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r2 send telnet 1.1.1.5 666 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 send exit r2 read closed r2 send telnet 1234::5 666 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 send exit r2 read closed r3 send telnet 1.1.1.5 666 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 send exit r3 read closed r3 send telnet 1234::5 666 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 send exit r3 read closed r4 send telnet 1.1.1.5 666 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 send exit r4 read closed r4 send telnet 1234::5 666 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 send exit r4 read closed freeRtr-24.11.16/cfg/crypt-access07.tst 0000664 0000000 0000000 00000004553 14716276021 0017436 0 ustar 00root root 0000000 0000000 description access total addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server telnet tel vrf v1 access-total 2 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed freeRtr-24.11.16/cfg/crypt-access08.tst 0000664 0000000 0000000 00000006357 14716276021 0017443 0 ustar 00root root 0000000 0000000 description access tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit track t vrf v1 targ 2.2.2.4 mod icmp inter 1000 time 500 start exit server telnet tel vrf v1 access-track t port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1234::1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r1 send conf t r1 send ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.4 r1 send ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 r1 send end r1 tping 0 20 1.1.1.2 vrf v1 sou lo1 r1 tping 0 20 1234::2 vrf v1 sou lo1 r1 tping 0 20 1.1.1.3 vrf v1 sou lo1 r1 tping 0 20 1234::3 vrf v1 sou lo1 r1 tping 0 20 1.1.1.4 vrf v1 sou lo1 r1 tping 0 20 1234::4 vrf v1 sou lo1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed freeRtr-24.11.16/cfg/crypt-access09.tst 0000664 0000000 0000000 00000006572 14716276021 0017443 0 ustar 00root root 0000000 0000000 description access negated tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.4 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 track t vrf v1 targ 2.2.2.4 mod icmp for neg inter 1000 time 500 start exit server telnet tel vrf v1 access-track t port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r1 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1234::1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r1 send conf t r1 send no ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.4 r1 send no ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 r1 send end r1 tping 0 20 1.1.1.2 vrf v1 sou lo1 r1 tping 0 20 1234::2 vrf v1 sou lo1 r1 tping 0 20 1.1.1.3 vrf v1 sou lo1 r1 tping 0 20 1234::3 vrf v1 sou lo1 r1 tping 0 20 1.1.1.4 vrf v1 sou lo1 r1 tping 0 20 1234::4 vrf v1 sou lo1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed freeRtr-24.11.16/cfg/crypt-access10.tst 0000664 0000000 0000000 00000006413 14716276021 0017425 0 ustar 00root root 0000000 0000000 description access follow tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit track t vrf v1 targ 2.2.2.4 mod icmp inter 1000 time 500 start exit scheduler f time 1000 command clear follow-tracker start exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff follow t exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r1 tping 100 20 1.1.1.3 vrf v1 r1 tping 100 20 1234::3 vrf v1 r1 tping 100 20 1.1.1.4 vrf v1 r1 tping 100 20 1234::4 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r3 tping 100 20 1.1.1.1 vrf v1 r3 tping 100 20 1234::1 vrf v1 r4 tping 100 20 1.1.1.1 vrf v1 r4 tping 100 20 1234::1 vrf v1 r1 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r2 send telnet 1234::1 666 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 0 20 2.2.2.1 vrf v1 r1 send conf t r1 send ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.4 r1 send ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 r1 send end r1 tping 0 20 1.1.1.2 vrf v1 sou lo1 r1 tping 0 20 1234::2 vrf v1 sou lo1 r1 tping 0 20 1.1.1.3 vrf v1 sou lo1 r1 tping 0 20 1234::3 vrf v1 sou lo1 r1 tping 0 20 1.1.1.4 vrf v1 sou lo1 r2 send telnet 1.1.1.1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1.1.1.1 666 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed r2 send telnet 1234::1 666 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r3 send telnet 1234::1 666 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r4 send telnet 1234::1 666 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r2 send exit r2 read closed r3 send exit r3 read closed r4 send exit r4 read closed freeRtr-24.11.16/cfg/crypt-acl01.tst 0000664 0000000 0000000 00000002111 14716276021 0016712 0 ustar 00root root 0000000 0000000 description ingress protocol matching access list addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 0 5 1.1.1.2 vrf v1 r1 tping 0 5 1234::2 vrf v1 r2 tping -100 5 1.1.1.1 vrf v1 error r2 tping -100 5 1234::1 vrf v1 error r1 output show access-list test4 r1 output show access-list test6 output ../binTmp/crypt-acl.html here is the ipv4 acl:
show:0here is the ipv6 acl:
show:1! freeRtr-24.11.16/cfg/crypt-acl02.tst 0000664 0000000 0000000 00000001347 14716276021 0016725 0 ustar 00root root 0000000 0000000 description egress protocol matching access list addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping -100 5 1.1.1.2 vrf v1 error r1 tping -100 5 1234::2 vrf v1 error freeRtr-24.11.16/cfg/crypt-acl03.tst 0000664 0000000 0000000 00000003062 14716276021 0016722 0 ustar 00root root 0000000 0000000 description ingress destination matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all 2.2.2.102 255.255.255.255 all deny all any all 2.2.2.202 255.255.255.255 all permit all any all any all exit access-list test6 deny all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all deny all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl04.tst 0000664 0000000 0000000 00000003063 14716276021 0016724 0 ustar 00root root 0000000 0000000 description egress destination matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all 2.2.2.102 255.255.255.255 all deny all any all 2.2.2.202 255.255.255.255 all permit all any all any all exit access-list test6 deny all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all deny all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl05.tst 0000664 0000000 0000000 00000003055 14716276021 0016726 0 ustar 00root root 0000000 0000000 description ingress source matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all 2.2.2.102 255.255.255.255 all any all deny all 2.2.2.202 255.255.255.255 all any all permit all any all any all exit access-list test6 deny all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl06.tst 0000664 0000000 0000000 00000003056 14716276021 0016730 0 ustar 00root root 0000000 0000000 description egress source matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all 2.2.2.102 255.255.255.255 all any all deny all 2.2.2.202 255.255.255.255 all any all permit all any all any all exit access-list test6 deny all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl07.tst 0000664 0000000 0000000 00000002570 14716276021 0016731 0 ustar 00root root 0000000 0000000 description ingress bridged access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! access-list test4 deny all 1.1.1.2 255.255.255.255 all 1.1.1.3 255.255.255.255 all permit all any all any all exit access-list test6 deny all 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit bridge 1 exit vrf def v1 rd 1:1 exit int eth1 bridge-gr 1 bridge-fi ipv4in test4 bridge-fi ipv6in test6 exit int eth2 bridge-gr 1 bridge-fi ipv4in test4 bridge-fi ipv6in test6 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 0 5 1.1.1.3 vrf v1 r2 tping 0 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 0 5 1.1.1.2 vrf v1 r3 tping 0 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl08.tst 0000664 0000000 0000000 00000002573 14716276021 0016735 0 ustar 00root root 0000000 0000000 description egress bridged access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! access-list test4 deny all 1.1.1.2 255.255.255.255 all 1.1.1.3 255.255.255.255 all permit all any all any all exit access-list test6 deny all 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit bridge 1 exit vrf def v1 rd 1:1 exit int eth1 bridge-gr 1 bridge-fi ipv4out test4 bridge-fi ipv6out test6 exit int eth2 bridge-gr 1 bridge-fi ipv4out test4 bridge-fi ipv6out test6 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 0 5 1.1.1.3 vrf v1 r2 tping 0 5 1234::3 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 0 5 1.1.1.2 vrf v1 r3 tping 0 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl09.tst 0000664 0000000 0000000 00000002070 14716276021 0016726 0 ustar 00root root 0000000 0000000 description ingress ttl matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all ttl 110-120 permit all any all any all exit access-list test6 deny all any all any all ttl 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r1 tping 100 5 1.1.1.2 vrf v1 ttl 90 r1 tping 100 5 1234::2 vrf v1 ttl 90 r2 tping 0 5 1.1.1.1 vrf v1 ttl 115 r2 tping 0 5 1234::1 vrf v1 ttl 115 r1 tping 100 5 1.1.1.2 vrf v1 ttl 115 r1 tping 100 5 1234::2 vrf v1 ttl 115 r2 tping 100 5 1.1.1.1 vrf v1 ttl 130 r2 tping 100 5 1234::1 vrf v1 ttl 130 r1 tping 100 5 1.1.1.2 vrf v1 ttl 130 r1 tping 100 5 1234::2 vrf v1 ttl 130 freeRtr-24.11.16/cfg/crypt-acl10.tst 0000664 0000000 0000000 00000002071 14716276021 0016717 0 ustar 00root root 0000000 0000000 description egress ttl matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all ttl 110-120 permit all any all any all exit access-list test6 deny all any all any all ttl 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r1 tping 100 5 1.1.1.2 vrf v1 ttl 90 r1 tping 100 5 1234::2 vrf v1 ttl 90 r2 tping 100 5 1.1.1.1 vrf v1 ttl 115 r2 tping 100 5 1234::1 vrf v1 ttl 115 r1 tping 0 5 1.1.1.2 vrf v1 ttl 115 r1 tping 0 5 1234::2 vrf v1 ttl 115 r2 tping 100 5 1.1.1.1 vrf v1 ttl 130 r2 tping 100 5 1234::1 vrf v1 ttl 130 r1 tping 100 5 1.1.1.2 vrf v1 ttl 130 r1 tping 100 5 1234::2 vrf v1 ttl 130 freeRtr-24.11.16/cfg/crypt-acl11.tst 0000664 0000000 0000000 00000002064 14716276021 0016722 0 ustar 00root root 0000000 0000000 description ingress tos matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all tos 110-120 permit all any all any all exit access-list test6 deny all any all any all tos 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 90 r2 tping 100 5 1234::1 vrf v1 tos 90 r1 tping 100 5 1.1.1.2 vrf v1 tos 90 r1 tping 100 5 1234::2 vrf v1 tos 90 r2 tping 0 5 1.1.1.1 vrf v1 tos 115 r2 tping 0 5 1234::1 vrf v1 tos 115 r1 tping 0 5 1.1.1.2 vrf v1 tos 115 r1 tping 0 5 1234::2 vrf v1 tos 115 r2 tping 100 5 1.1.1.1 vrf v1 tos 130 r2 tping 100 5 1234::1 vrf v1 tos 130 r1 tping 100 5 1.1.1.2 vrf v1 tos 130 r1 tping 100 5 1234::2 vrf v1 tos 130 freeRtr-24.11.16/cfg/crypt-acl12.tst 0000664 0000000 0000000 00000002065 14716276021 0016724 0 ustar 00root root 0000000 0000000 description egress tos matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all tos 110-120 permit all any all any all exit access-list test6 deny all any all any all tos 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 90 r2 tping 100 5 1234::1 vrf v1 tos 90 r1 tping 100 5 1.1.1.2 vrf v1 tos 90 r1 tping 100 5 1234::2 vrf v1 tos 90 r2 tping 0 5 1.1.1.1 vrf v1 tos 115 r2 tping 0 5 1234::1 vrf v1 tos 115 r1 tping 0 5 1.1.1.2 vrf v1 tos 115 r1 tping 0 5 1234::2 vrf v1 tos 115 r2 tping 100 5 1.1.1.1 vrf v1 tos 130 r2 tping 100 5 1234::1 vrf v1 tos 130 r1 tping 100 5 1.1.1.2 vrf v1 tos 130 r1 tping 100 5 1234::2 vrf v1 tos 130 freeRtr-24.11.16/cfg/crypt-acl13.tst 0000664 0000000 0000000 00000001620 14716276021 0016721 0 ustar 00root root 0000000 0000000 description ingress dscp matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all dscp 12 permit all any all any all exit access-list test6 deny all any all any all dscp 12 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 47 r2 tping 100 5 1234::1 vrf v1 tos 47 r1 tping 100 5 1.1.1.2 vrf v1 tos 47 r1 tping 100 5 1234::2 vrf v1 tos 47 r2 tping 0 5 1.1.1.1 vrf v1 tos 48 r2 tping 0 5 1234::1 vrf v1 tos 48 r1 tping 0 5 1.1.1.2 vrf v1 tos 48 r1 tping 0 5 1234::2 vrf v1 tos 48 freeRtr-24.11.16/cfg/crypt-acl14.tst 0000664 0000000 0000000 00000001621 14716276021 0016723 0 ustar 00root root 0000000 0000000 description egress dscp matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all dscp 12 permit all any all any all exit access-list test6 deny all any all any all dscp 12 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 47 r2 tping 100 5 1234::1 vrf v1 tos 47 r1 tping 100 5 1.1.1.2 vrf v1 tos 47 r1 tping 100 5 1234::2 vrf v1 tos 47 r2 tping 0 5 1.1.1.1 vrf v1 tos 48 r2 tping 0 5 1234::1 vrf v1 tos 48 r1 tping 0 5 1.1.1.2 vrf v1 tos 48 r1 tping 0 5 1234::2 vrf v1 tos 48 freeRtr-24.11.16/cfg/crypt-acl15.tst 0000664 0000000 0000000 00000001624 14716276021 0016727 0 ustar 00root root 0000000 0000000 description ingress precedence matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all prec 2 permit all any all any all exit access-list test6 deny all any all any all prec 2 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 63 r2 tping 100 5 1234::1 vrf v1 tos 63 r1 tping 100 5 1.1.1.2 vrf v1 tos 63 r1 tping 100 5 1234::2 vrf v1 tos 63 r2 tping 0 5 1.1.1.1 vrf v1 tos 64 r2 tping 0 5 1234::1 vrf v1 tos 64 r1 tping 0 5 1.1.1.2 vrf v1 tos 64 r1 tping 0 5 1234::2 vrf v1 tos 64 freeRtr-24.11.16/cfg/crypt-acl16.tst 0000664 0000000 0000000 00000001625 14716276021 0016731 0 ustar 00root root 0000000 0000000 description egress precedence matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all prec 2 permit all any all any all exit access-list test6 deny all any all any all prec 2 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 63 r2 tping 100 5 1234::1 vrf v1 tos 63 r1 tping 100 5 1.1.1.2 vrf v1 tos 63 r1 tping 100 5 1234::2 vrf v1 tos 63 r2 tping 0 5 1.1.1.1 vrf v1 tos 64 r2 tping 0 5 1234::1 vrf v1 tos 64 r1 tping 0 5 1.1.1.2 vrf v1 tos 64 r1 tping 0 5 1234::2 vrf v1 tos 64 freeRtr-24.11.16/cfg/crypt-acl17.tst 0000664 0000000 0000000 00000002067 14716276021 0016733 0 ustar 00root root 0000000 0000000 description ingress length matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all len 100-200 permit all any all any all exit access-list test6 deny all any all any all len 100-200 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 50 r2 tping 100 5 1234::1 vrf v1 siz 50 r1 tping 100 5 1.1.1.2 vrf v1 siz 50 r1 tping 100 5 1234::2 vrf v1 siz 50 r2 tping 0 5 1.1.1.1 vrf v1 siz 110 r2 tping 0 5 1234::1 vrf v1 siz 110 r1 tping 0 5 1.1.1.2 vrf v1 siz 110 r1 tping 0 5 1234::2 vrf v1 siz 110 r2 tping 100 5 1.1.1.1 vrf v1 siz 250 r2 tping 100 5 1234::1 vrf v1 siz 250 r1 tping 100 5 1.1.1.2 vrf v1 siz 250 r1 tping 100 5 1234::2 vrf v1 siz 250 freeRtr-24.11.16/cfg/crypt-acl18.tst 0000664 0000000 0000000 00000002070 14716276021 0016726 0 ustar 00root root 0000000 0000000 description egress length matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all len 100-200 permit all any all any all exit access-list test6 deny all any all any all len 100-200 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 50 r2 tping 100 5 1234::1 vrf v1 siz 50 r1 tping 100 5 1.1.1.2 vrf v1 siz 50 r1 tping 100 5 1234::2 vrf v1 siz 50 r2 tping 0 5 1.1.1.1 vrf v1 siz 110 r2 tping 0 5 1234::1 vrf v1 siz 110 r1 tping 0 5 1.1.1.2 vrf v1 siz 110 r1 tping 0 5 1234::2 vrf v1 siz 110 r2 tping 100 5 1.1.1.1 vrf v1 siz 250 r2 tping 100 5 1234::1 vrf v1 siz 250 r1 tping 100 5 1.1.1.2 vrf v1 siz 250 r1 tping 100 5 1234::2 vrf v1 siz 250 freeRtr-24.11.16/cfg/crypt-acl19.tst 0000664 0000000 0000000 00000003137 14716276021 0016734 0 ustar 00root root 0000000 0000000 description ingress destination matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group net test4 2.2.2.102 255.255.255.255 2.2.2.202 255.255.255.255 exit object-group net test6 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all obj test4 all permit all any all any all exit access-list test6 deny all any all obj test6 all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl20.tst 0000664 0000000 0000000 00000003140 14716276021 0016716 0 ustar 00root root 0000000 0000000 description egress destination matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group net test4 2.2.2.102 255.255.255.255 2.2.2.202 255.255.255.255 exit object-group net test6 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all obj test4 all permit all any all any all exit access-list test6 deny all any all obj test6 all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl21.tst 0000664 0000000 0000000 00000003132 14716276021 0016720 0 ustar 00root root 0000000 0000000 description ingress source matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group net test4 2.2.2.102 255.255.255.255 2.2.2.202 255.255.255.255 exit object-group net test6 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all obj test4 all any all permit all any all any all exit access-list test6 deny all obj test6 all any all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl22.tst 0000664 0000000 0000000 00000003133 14716276021 0016722 0 ustar 00root root 0000000 0000000 description egress source matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group net test4 2.2.2.102 255.255.255.255 2.2.2.202 255.255.255.255 exit object-group net test6 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all obj test4 all any all permit all any all any all exit access-list test6 deny all obj test6 all any all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl23.tst 0000664 0000000 0000000 00000001351 14716276021 0016723 0 ustar 00root root 0000000 0000000 description ingress protocol matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 0 5 1.1.1.2 vrf v1 r1 tping 0 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl24.tst 0000664 0000000 0000000 00000001352 14716276021 0016725 0 ustar 00root root 0000000 0000000 description egress protocol matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 0 5 1.1.1.2 vrf v1 r1 tping 0 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl25.tst 0000664 0000000 0000000 00000003107 14716276021 0016726 0 ustar 00root root 0000000 0000000 description ingress destination matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all 2.2.2.102 255.255.255.255 all deny all any all 2.2.2.202 255.255.255.255 all permit all any all any all exit access-list test6 deny all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all deny all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl26.tst 0000664 0000000 0000000 00000003110 14716276021 0016721 0 ustar 00root root 0000000 0000000 description egress destination matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all 2.2.2.102 255.255.255.255 all deny all any all 2.2.2.202 255.255.255.255 all permit all any all any all exit access-list test6 deny all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all deny all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl27.tst 0000664 0000000 0000000 00000003102 14716276021 0016723 0 ustar 00root root 0000000 0000000 description ingress source matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all 2.2.2.102 255.255.255.255 all any all deny all 2.2.2.202 255.255.255.255 all any all permit all any all any all exit access-list test6 deny all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl28.tst 0000664 0000000 0000000 00000003103 14716276021 0016725 0 ustar 00root root 0000000 0000000 description egress source matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all 2.2.2.102 255.255.255.255 all any all deny all 2.2.2.202 255.255.255.255 all any all permit all any all any all exit access-list test6 deny all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl29.tst 0000664 0000000 0000000 00000002115 14716276021 0016730 0 ustar 00root root 0000000 0000000 description ingress ttl matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all ttl 110-120 permit all any all any all exit access-list test6 deny all any all any all ttl 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r1 tping 100 5 1.1.1.2 vrf v1 ttl 90 r1 tping 100 5 1234::2 vrf v1 ttl 90 r2 tping 0 5 1.1.1.1 vrf v1 ttl 115 r2 tping 0 5 1234::1 vrf v1 ttl 115 r1 tping 100 5 1.1.1.2 vrf v1 ttl 115 r1 tping 100 5 1234::2 vrf v1 ttl 115 r2 tping 100 5 1.1.1.1 vrf v1 ttl 130 r2 tping 100 5 1234::1 vrf v1 ttl 130 r1 tping 100 5 1.1.1.2 vrf v1 ttl 130 r1 tping 100 5 1234::2 vrf v1 ttl 130 freeRtr-24.11.16/cfg/crypt-acl30.tst 0000664 0000000 0000000 00000002116 14716276021 0016721 0 ustar 00root root 0000000 0000000 description egress ttl matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all ttl 110-120 permit all any all any all exit access-list test6 deny all any all any all ttl 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r1 tping 100 5 1.1.1.2 vrf v1 ttl 90 r1 tping 100 5 1234::2 vrf v1 ttl 90 r2 tping 100 5 1.1.1.1 vrf v1 ttl 115 r2 tping 100 5 1234::1 vrf v1 ttl 115 r1 tping 0 5 1.1.1.2 vrf v1 ttl 115 r1 tping 0 5 1234::2 vrf v1 ttl 115 r2 tping 100 5 1.1.1.1 vrf v1 ttl 130 r2 tping 100 5 1234::1 vrf v1 ttl 130 r1 tping 100 5 1.1.1.2 vrf v1 ttl 130 r1 tping 100 5 1234::2 vrf v1 ttl 130 freeRtr-24.11.16/cfg/crypt-acl31.tst 0000664 0000000 0000000 00000002111 14716276021 0016715 0 ustar 00root root 0000000 0000000 description ingress tos matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all tos 110-120 permit all any all any all exit access-list test6 deny all any all any all tos 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 90 r2 tping 100 5 1234::1 vrf v1 tos 90 r1 tping 100 5 1.1.1.2 vrf v1 tos 90 r1 tping 100 5 1234::2 vrf v1 tos 90 r2 tping 0 5 1.1.1.1 vrf v1 tos 115 r2 tping 0 5 1234::1 vrf v1 tos 115 r1 tping 0 5 1.1.1.2 vrf v1 tos 115 r1 tping 0 5 1234::2 vrf v1 tos 115 r2 tping 100 5 1.1.1.1 vrf v1 tos 130 r2 tping 100 5 1234::1 vrf v1 tos 130 r1 tping 100 5 1.1.1.2 vrf v1 tos 130 r1 tping 100 5 1234::2 vrf v1 tos 130 freeRtr-24.11.16/cfg/crypt-acl32.tst 0000664 0000000 0000000 00000002112 14716276021 0016717 0 ustar 00root root 0000000 0000000 description egress tos matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all tos 110-120 permit all any all any all exit access-list test6 deny all any all any all tos 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 90 r2 tping 100 5 1234::1 vrf v1 tos 90 r1 tping 100 5 1.1.1.2 vrf v1 tos 90 r1 tping 100 5 1234::2 vrf v1 tos 90 r2 tping 0 5 1.1.1.1 vrf v1 tos 115 r2 tping 0 5 1234::1 vrf v1 tos 115 r1 tping 0 5 1.1.1.2 vrf v1 tos 115 r1 tping 0 5 1234::2 vrf v1 tos 115 r2 tping 100 5 1.1.1.1 vrf v1 tos 130 r2 tping 100 5 1234::1 vrf v1 tos 130 r1 tping 100 5 1.1.1.2 vrf v1 tos 130 r1 tping 100 5 1234::2 vrf v1 tos 130 freeRtr-24.11.16/cfg/crypt-acl33.tst 0000664 0000000 0000000 00000002114 14716276021 0016722 0 ustar 00root root 0000000 0000000 description ingress length matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all len 100-200 permit all any all any all exit access-list test6 deny all any all any all len 100-200 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 50 r2 tping 100 5 1234::1 vrf v1 siz 50 r1 tping 100 5 1.1.1.2 vrf v1 siz 50 r1 tping 100 5 1234::2 vrf v1 siz 50 r2 tping 0 5 1.1.1.1 vrf v1 siz 110 r2 tping 0 5 1234::1 vrf v1 siz 110 r1 tping 0 5 1.1.1.2 vrf v1 siz 110 r1 tping 0 5 1234::2 vrf v1 siz 110 r2 tping 100 5 1.1.1.1 vrf v1 siz 250 r2 tping 100 5 1234::1 vrf v1 siz 250 r1 tping 100 5 1.1.1.2 vrf v1 siz 250 r1 tping 100 5 1234::2 vrf v1 siz 250 freeRtr-24.11.16/cfg/crypt-acl34.tst 0000664 0000000 0000000 00000002115 14716276021 0016724 0 ustar 00root root 0000000 0000000 description egress length matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all len 100-200 permit all any all any all exit access-list test6 deny all any all any all len 100-200 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 50 r2 tping 100 5 1234::1 vrf v1 siz 50 r1 tping 100 5 1.1.1.2 vrf v1 siz 50 r1 tping 100 5 1234::2 vrf v1 siz 50 r2 tping 0 5 1.1.1.1 vrf v1 siz 110 r2 tping 0 5 1234::1 vrf v1 siz 110 r1 tping 0 5 1.1.1.2 vrf v1 siz 110 r1 tping 0 5 1234::2 vrf v1 siz 110 r2 tping 100 5 1.1.1.1 vrf v1 siz 250 r2 tping 100 5 1234::1 vrf v1 siz 250 r1 tping 100 5 1.1.1.2 vrf v1 siz 250 r1 tping 100 5 1234::2 vrf v1 siz 250 freeRtr-24.11.16/cfg/crypt-acl35.tst 0000664 0000000 0000000 00000003506 14716276021 0016732 0 ustar 00root root 0000000 0000000 description ingress source port matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any 123 any all permit all any all any all exit access-list test6 deny all any 123 any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl36.tst 0000664 0000000 0000000 00000003507 14716276021 0016734 0 ustar 00root root 0000000 0000000 description egress source port matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any 123 any all permit all any all any all exit access-list test6 deny all any 123 any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl37.tst 0000664 0000000 0000000 00000003513 14716276021 0016732 0 ustar 00root root 0000000 0000000 description ingress destination port matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any 123 permit all any all any all exit access-list test6 deny all any all any 123 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl38.tst 0000664 0000000 0000000 00000003514 14716276021 0016734 0 ustar 00root root 0000000 0000000 description egress destination port matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any 123 permit all any all any all exit access-list test6 deny all any all any 123 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl39.tst 0000664 0000000 0000000 00000003571 14716276021 0016740 0 ustar 00root root 0000000 0000000 description ingress source port matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group port test 123 exit access-list test4 deny all any obj test any all permit all any all any all exit access-list test6 deny all any obj test any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl40.tst 0000664 0000000 0000000 00000003572 14716276021 0016731 0 ustar 00root root 0000000 0000000 description egress source port matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group port test 123 exit access-list test4 deny all any obj test any all permit all any all any all exit access-list test6 deny all any obj test any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl41.tst 0000664 0000000 0000000 00000003576 14716276021 0016736 0 ustar 00root root 0000000 0000000 description ingress destination port matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group port test 123 exit access-list test4 deny all any all any obj test permit all any all any all exit access-list test6 deny all any all any obj test permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl42.tst 0000664 0000000 0000000 00000003577 14716276021 0016740 0 ustar 00root root 0000000 0000000 description egress destination port matching hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! object-group port test 123 exit access-list test4 deny all any all any obj test permit all any all any all exit access-list test6 deny all any all any obj test permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl43.tst 0000664 0000000 0000000 00000003533 14716276021 0016731 0 ustar 00root root 0000000 0000000 description ingress source port matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any 123 any all permit all any all any all exit access-list test6 deny all any 123 any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl44.tst 0000664 0000000 0000000 00000003534 14716276021 0016733 0 ustar 00root root 0000000 0000000 description egress source port matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any 123 any all permit all any all any all exit access-list test6 deny all any 123 any all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl45.tst 0000664 0000000 0000000 00000003540 14716276021 0016731 0 ustar 00root root 0000000 0000000 description ingress destination port matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any 123 permit all any all any all exit access-list test6 deny all any all any 123 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl46.tst 0000664 0000000 0000000 00000003541 14716276021 0016733 0 ustar 00root root 0000000 0000000 description egress destination port matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any 123 permit all any all any all exit access-list test6 deny all any all any 123 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl47.tst 0000664 0000000 0000000 00000001507 14716276021 0016734 0 ustar 00root root 0000000 0000000 description ingress protocol matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit 1 any all any all exit access-list test6a permit 58 any all any all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 0 5 1.1.1.2 vrf v1 r1 tping 0 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl48.tst 0000664 0000000 0000000 00000001510 14716276021 0016727 0 ustar 00root root 0000000 0000000 description egress protocol matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit 1 any all any all exit access-list test6a permit 58 any all any all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 0 5 1.1.1.2 vrf v1 r1 tping 0 5 1234::2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl49.tst 0000664 0000000 0000000 00000003251 14716276021 0016734 0 ustar 00root root 0000000 0000000 description ingress destination matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all 2.2.2.102 255.255.255.255 all permit all any all 2.2.2.202 255.255.255.255 all exit access-list test6a permit all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl50.tst 0000664 0000000 0000000 00000003252 14716276021 0016725 0 ustar 00root root 0000000 0000000 description egress destination matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all 2.2.2.102 255.255.255.255 all permit all any all 2.2.2.202 255.255.255.255 all exit access-list test6a permit all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl51.tst 0000664 0000000 0000000 00000003244 14716276021 0016727 0 ustar 00root root 0000000 0000000 description ingress source matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all 2.2.2.102 255.255.255.255 all any all permit all 2.2.2.202 255.255.255.255 all any all exit access-list test6a permit all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.202 vrf v1 sou lo0 r1 tping 0 5 4321::202 vrf v1 sou lo0 freeRtr-24.11.16/cfg/crypt-acl52.tst 0000664 0000000 0000000 00000003245 14716276021 0016731 0 ustar 00root root 0000000 0000000 description egress source matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all 2.2.2.102 255.255.255.255 all any all permit all 2.2.2.202 255.255.255.255 all any all exit access-list test6a permit all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 sou lo1 r1 tping 0 5 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl53.tst 0000664 0000000 0000000 00000002253 14716276021 0016730 0 ustar 00root root 0000000 0000000 description ingress ttl matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all ttl 110-120 exit access-list test6a permit all any all any all ttl 110-120 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r1 tping 100 5 1.1.1.2 vrf v1 ttl 90 r1 tping 100 5 1234::2 vrf v1 ttl 90 r2 tping 0 5 1.1.1.1 vrf v1 ttl 115 r2 tping 0 5 1234::1 vrf v1 ttl 115 r1 tping 100 5 1.1.1.2 vrf v1 ttl 115 r1 tping 100 5 1234::2 vrf v1 ttl 115 r2 tping 100 5 1.1.1.1 vrf v1 ttl 130 r2 tping 100 5 1234::1 vrf v1 ttl 130 r1 tping 100 5 1.1.1.2 vrf v1 ttl 130 r1 tping 100 5 1234::2 vrf v1 ttl 130 freeRtr-24.11.16/cfg/crypt-acl54.tst 0000664 0000000 0000000 00000002254 14716276021 0016732 0 ustar 00root root 0000000 0000000 description egress ttl matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all ttl 110-120 exit access-list test6a permit all any all any all ttl 110-120 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r1 tping 100 5 1.1.1.2 vrf v1 ttl 90 r1 tping 100 5 1234::2 vrf v1 ttl 90 r2 tping 100 5 1.1.1.1 vrf v1 ttl 115 r2 tping 100 5 1234::1 vrf v1 ttl 115 r1 tping 0 5 1.1.1.2 vrf v1 ttl 115 r1 tping 0 5 1234::2 vrf v1 ttl 115 r2 tping 100 5 1.1.1.1 vrf v1 ttl 130 r2 tping 100 5 1234::1 vrf v1 ttl 130 r1 tping 100 5 1.1.1.2 vrf v1 ttl 130 r1 tping 100 5 1234::2 vrf v1 ttl 130 freeRtr-24.11.16/cfg/crypt-acl55.tst 0000664 0000000 0000000 00000002247 14716276021 0016735 0 ustar 00root root 0000000 0000000 description ingress tos matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all tos 110-120 exit access-list test6a permit all any all any all tos 110-120 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 90 r2 tping 100 5 1234::1 vrf v1 tos 90 r1 tping 100 5 1.1.1.2 vrf v1 tos 90 r1 tping 100 5 1234::2 vrf v1 tos 90 r2 tping 0 5 1.1.1.1 vrf v1 tos 115 r2 tping 0 5 1234::1 vrf v1 tos 115 r1 tping 0 5 1.1.1.2 vrf v1 tos 115 r1 tping 0 5 1234::2 vrf v1 tos 115 r2 tping 100 5 1.1.1.1 vrf v1 tos 130 r2 tping 100 5 1234::1 vrf v1 tos 130 r1 tping 100 5 1.1.1.2 vrf v1 tos 130 r1 tping 100 5 1234::2 vrf v1 tos 130 freeRtr-24.11.16/cfg/crypt-acl56.tst 0000664 0000000 0000000 00000002250 14716276021 0016730 0 ustar 00root root 0000000 0000000 description egress tos matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all tos 110-120 exit access-list test6a permit all any all any all tos 110-120 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 tos 90 r2 tping 100 5 1234::1 vrf v1 tos 90 r1 tping 100 5 1.1.1.2 vrf v1 tos 90 r1 tping 100 5 1234::2 vrf v1 tos 90 r2 tping 0 5 1.1.1.1 vrf v1 tos 115 r2 tping 0 5 1234::1 vrf v1 tos 115 r1 tping 0 5 1.1.1.2 vrf v1 tos 115 r1 tping 0 5 1234::2 vrf v1 tos 115 r2 tping 100 5 1.1.1.1 vrf v1 tos 130 r2 tping 100 5 1234::1 vrf v1 tos 130 r1 tping 100 5 1.1.1.2 vrf v1 tos 130 r1 tping 100 5 1234::2 vrf v1 tos 130 freeRtr-24.11.16/cfg/crypt-acl57.tst 0000664 0000000 0000000 00000002252 14716276021 0016733 0 ustar 00root root 0000000 0000000 description ingress length matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all len 100-200 exit access-list test6a permit all any all any all len 100-200 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 50 r2 tping 100 5 1234::1 vrf v1 siz 50 r1 tping 100 5 1.1.1.2 vrf v1 siz 50 r1 tping 100 5 1234::2 vrf v1 siz 50 r2 tping 0 5 1.1.1.1 vrf v1 siz 110 r2 tping 0 5 1234::1 vrf v1 siz 110 r1 tping 0 5 1.1.1.2 vrf v1 siz 110 r1 tping 0 5 1234::2 vrf v1 siz 110 r2 tping 100 5 1.1.1.1 vrf v1 siz 250 r2 tping 100 5 1234::1 vrf v1 siz 250 r1 tping 100 5 1.1.1.2 vrf v1 siz 250 r1 tping 100 5 1234::2 vrf v1 siz 250 freeRtr-24.11.16/cfg/crypt-acl58.tst 0000664 0000000 0000000 00000002253 14716276021 0016735 0 ustar 00root root 0000000 0000000 description egress length matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all len 100-200 exit access-list test6a permit all any all any all len 100-200 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 50 r2 tping 100 5 1234::1 vrf v1 siz 50 r1 tping 100 5 1.1.1.2 vrf v1 siz 50 r1 tping 100 5 1234::2 vrf v1 siz 50 r2 tping 0 5 1.1.1.1 vrf v1 siz 110 r2 tping 0 5 1234::1 vrf v1 siz 110 r1 tping 0 5 1.1.1.2 vrf v1 siz 110 r1 tping 0 5 1234::2 vrf v1 siz 110 r2 tping 100 5 1.1.1.1 vrf v1 siz 250 r2 tping 100 5 1234::1 vrf v1 siz 250 r1 tping 100 5 1.1.1.2 vrf v1 siz 250 r1 tping 100 5 1234::2 vrf v1 siz 250 freeRtr-24.11.16/cfg/crypt-acl59.tst 0000664 0000000 0000000 00000003671 14716276021 0016743 0 ustar 00root root 0000000 0000000 description ingress source port matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any 123 any all exit access-list test6a permit all any 123 any all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl60.tst 0000664 0000000 0000000 00000003672 14716276021 0016734 0 ustar 00root root 0000000 0000000 description egress source port matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any 123 any all exit access-list test6a permit all any 123 any all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl61.tst 0000664 0000000 0000000 00000003676 14716276021 0016741 0 ustar 00root root 0000000 0000000 description ingress destination port matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any 123 exit access-list test6a permit all any all any 123 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl62.tst 0000664 0000000 0000000 00000003677 14716276021 0016743 0 ustar 00root root 0000000 0000000 description egress destination port matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any 123 exit access-list test6a permit all any all any 123 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.1 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.1 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::2 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.1.2 255.255.255.0 exit int tun2 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 123 tun mod pckoudp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun3 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.3.2 255.255.255.0 exit int tun4 tun vrf v1 tun sou eth1 tun dest 1234::1 tun key 321 tun mod pckoudp vrf for v1 ipv4 addr 2.2.4.2 255.255.255.0 exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 0 5 2.2.1.2 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 2.2.3.2 vrf v1 r1 tping 100 5 2.2.4.2 vrf v1 freeRtr-24.11.16/cfg/crypt-acl63.tst 0000664 0000000 0000000 00000002540 14716276021 0016730 0 ustar 00root root 0000000 0000000 description reflexive access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list dyn4i hidden exit access-list dyn4o hidden exit access-list dyn6i hidden exit access-list dyn6o hidden exit access-list test4i seq 10 evaluate permit dyn4i seq 20 deny all any all any all exit access-list test6i seq 1 permit 58 fe80:: ffff:: all any all seq 2 permit 58 any all fe80:: ffff:: all seq 10 evaluate permit dyn6i seq 20 deny all any all any all exit access-list test4o seq 10 evaluate permit dyn4o seq 20 permit all any all any all seq 20 reflect dyn4o dyn4i 30000 exit access-list test6o seq 10 evaluate permit dyn6o seq 20 permit all any all any all seq 20 reflect dyn6o dyn6i 30000 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4i ipv6 access-group-in test6i ipv4 access-group-out test4o ipv6 access-group-out test6o exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::1 vrf v1 r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1234::2 vrf v1 r2 tping 0 5 1.1.1.1 vrf v1 r2 tping 0 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl64.tst 0000664 0000000 0000000 00000004307 14716276021 0016734 0 ustar 00root root 0000000 0000000 description ingress mpls access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test deny all any all 2.2.2.102 255.255.255.255 all deny all any all 2.2.2.202 255.255.255.255 all deny all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all deny all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls label-secu mpls access-group-in test exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.202 255.255.255.255 1.1.1.2 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.102 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.201 vrf v1 sou lo0 r1 tping 100 10 4321::201 vrf v1 sou lo0 r1 tping 0 10 2.2.2.201 vrf v1 sou lo1 r1 tping 0 10 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl65.tst 0000664 0000000 0000000 00000004307 14716276021 0016735 0 ustar 00root root 0000000 0000000 description egress mpls access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test deny all 2.2.2.102 255.255.255.255 all any all deny all 2.2.2.202 255.255.255.255 all any all deny all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all any all any all exit vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls label-secu mpls access-group-out test exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.202 255.255.255.255 1.1.1.2 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.102 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.201 vrf v1 sou lo0 r1 tping 100 10 4321::201 vrf v1 sou lo0 r1 tping 0 10 2.2.2.201 vrf v1 sou lo1 r1 tping 0 10 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl66.tst 0000664 0000000 0000000 00000004325 14716276021 0016736 0 ustar 00root root 0000000 0000000 description ingress mpls common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test deny all any all 2.2.2.102 255.255.255.255 all deny all any all 2.2.2.202 255.255.255.255 all deny all any all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all deny all any all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls label-secu mpls access-group-common-in test exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.202 255.255.255.255 1.1.1.2 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.102 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.201 vrf v1 sou lo0 r1 tping 100 10 4321::201 vrf v1 sou lo0 r1 tping 0 10 2.2.2.201 vrf v1 sou lo1 r1 tping 0 10 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl67.tst 0000664 0000000 0000000 00000004325 14716276021 0016737 0 ustar 00root root 0000000 0000000 description egress mpls common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test deny all 2.2.2.102 255.255.255.255 all any all deny all 2.2.2.202 255.255.255.255 all any all deny all 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all permit all any all any all exit vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls label-secu mpls access-group-common-out test exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.202 255.255.255.255 1.1.1.2 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.102 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.201 vrf v1 sou lo0 r1 tping 100 10 4321::201 vrf v1 sou lo0 r1 tping 0 10 2.2.2.201 vrf v1 sou lo1 r1 tping 0 10 4321::201 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-acl68.tst 0000664 0000000 0000000 00000002103 14716276021 0016730 0 ustar 00root root 0000000 0000000 description ingress flow matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all flow 110-120 permit all any all any all exit access-list test6 deny all any all any all flow 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 flow 90 r2 tping 100 5 1234::1 vrf v1 flow 90 r1 tping 100 5 1.1.1.2 vrf v1 flow 90 r1 tping 100 5 1234::2 vrf v1 flow 90 r2 tping 0 5 1.1.1.1 vrf v1 flow 115 r2 tping 0 5 1234::1 vrf v1 flow 115 r1 tping 0 5 1.1.1.2 vrf v1 flow 115 r1 tping 0 5 1234::2 vrf v1 flow 115 r2 tping 100 5 1.1.1.1 vrf v1 flow 130 r2 tping 100 5 1234::1 vrf v1 flow 130 r1 tping 100 5 1.1.1.2 vrf v1 flow 130 r1 tping 100 5 1234::2 vrf v1 flow 130 freeRtr-24.11.16/cfg/crypt-acl69.tst 0000664 0000000 0000000 00000002104 14716276021 0016732 0 ustar 00root root 0000000 0000000 description egress flow matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all flow 110-120 permit all any all any all exit access-list test6 deny all any all any all flow 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 flow 90 r2 tping 100 5 1234::1 vrf v1 flow 90 r1 tping 100 5 1.1.1.2 vrf v1 flow 90 r1 tping 100 5 1234::2 vrf v1 flow 90 r2 tping 0 5 1.1.1.1 vrf v1 flow 115 r2 tping 0 5 1234::1 vrf v1 flow 115 r1 tping 0 5 1.1.1.2 vrf v1 flow 115 r1 tping 0 5 1234::2 vrf v1 flow 115 r2 tping 100 5 1.1.1.1 vrf v1 flow 130 r2 tping 100 5 1234::1 vrf v1 flow 130 r1 tping 100 5 1.1.1.2 vrf v1 flow 130 r1 tping 100 5 1234::2 vrf v1 flow 130 freeRtr-24.11.16/cfg/crypt-acl70.tst 0000664 0000000 0000000 00000002130 14716276021 0016721 0 ustar 00root root 0000000 0000000 description ingress flow matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all flow 110-120 permit all any all any all exit access-list test6 deny all any all any all flow 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 flow 90 r2 tping 100 5 1234::1 vrf v1 flow 90 r1 tping 100 5 1.1.1.2 vrf v1 flow 90 r1 tping 100 5 1234::2 vrf v1 flow 90 r2 tping 0 5 1.1.1.1 vrf v1 flow 115 r2 tping 0 5 1234::1 vrf v1 flow 115 r1 tping 0 5 1.1.1.2 vrf v1 flow 115 r1 tping 0 5 1234::2 vrf v1 flow 115 r2 tping 100 5 1.1.1.1 vrf v1 flow 130 r2 tping 100 5 1234::1 vrf v1 flow 130 r1 tping 100 5 1.1.1.2 vrf v1 flow 130 r1 tping 100 5 1234::2 vrf v1 flow 130 freeRtr-24.11.16/cfg/crypt-acl71.tst 0000664 0000000 0000000 00000002131 14716276021 0016723 0 ustar 00root root 0000000 0000000 description egress flow matching common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all flow 110-120 permit all any all any all exit access-list test6 deny all any all any all flow 110-120 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 flow 90 r2 tping 100 5 1234::1 vrf v1 flow 90 r1 tping 100 5 1.1.1.2 vrf v1 flow 90 r1 tping 100 5 1234::2 vrf v1 flow 90 r2 tping 0 5 1.1.1.1 vrf v1 flow 115 r2 tping 0 5 1234::1 vrf v1 flow 115 r1 tping 0 5 1.1.1.2 vrf v1 flow 115 r1 tping 0 5 1234::2 vrf v1 flow 115 r2 tping 100 5 1.1.1.1 vrf v1 flow 130 r2 tping 100 5 1234::1 vrf v1 flow 130 r1 tping 100 5 1.1.1.2 vrf v1 flow 130 r1 tping 100 5 1234::2 vrf v1 flow 130 freeRtr-24.11.16/cfg/crypt-acl72.tst 0000664 0000000 0000000 00000002266 14716276021 0016735 0 ustar 00root root 0000000 0000000 description ingress flow matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all flow 110-120 exit access-list test6a permit all any all any all flow 110-120 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4b ipv6 access-group-in test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 flow 90 r2 tping 100 5 1234::1 vrf v1 flow 90 r1 tping 100 5 1.1.1.2 vrf v1 flow 90 r1 tping 100 5 1234::2 vrf v1 flow 90 r2 tping 0 5 1.1.1.1 vrf v1 flow 115 r2 tping 0 5 1234::1 vrf v1 flow 115 r1 tping 0 5 1.1.1.2 vrf v1 flow 115 r1 tping 0 5 1234::2 vrf v1 flow 115 r2 tping 100 5 1.1.1.1 vrf v1 flow 130 r2 tping 100 5 1234::1 vrf v1 flow 130 r1 tping 100 5 1.1.1.2 vrf v1 flow 130 r1 tping 100 5 1234::2 vrf v1 flow 130 freeRtr-24.11.16/cfg/crypt-acl73.tst 0000664 0000000 0000000 00000002267 14716276021 0016737 0 ustar 00root root 0000000 0000000 description egress flow matching hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4a permit all any all any all flow 110-120 exit access-list test6a permit all any all any all flow 110-120 exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4b ipv6 access-group-out test6b exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 flow 90 r2 tping 100 5 1234::1 vrf v1 flow 90 r1 tping 100 5 1.1.1.2 vrf v1 flow 90 r1 tping 100 5 1234::2 vrf v1 flow 90 r2 tping 0 5 1.1.1.1 vrf v1 flow 115 r2 tping 0 5 1234::1 vrf v1 flow 115 r1 tping 0 5 1.1.1.2 vrf v1 flow 115 r1 tping 0 5 1234::2 vrf v1 flow 115 r2 tping 100 5 1.1.1.1 vrf v1 flow 130 r2 tping 100 5 1234::1 vrf v1 flow 130 r1 tping 100 5 1.1.1.2 vrf v1 flow 130 r1 tping 100 5 1234::2 vrf v1 flow 130 freeRtr-24.11.16/cfg/crypt-acl74.tst 0000664 0000000 0000000 00000002071 14716276021 0016731 0 ustar 00root root 0000000 0000000 description ingress mask matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all len 256&896 permit all any all any all exit access-list test6 deny all any all any all len 256&896 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 100 r2 tping 100 5 1234::1 vrf v1 siz 100 r1 tping 100 5 1.1.1.2 vrf v1 siz 100 r1 tping 100 5 1234::2 vrf v1 siz 100 r2 tping 0 5 1.1.1.1 vrf v1 siz 300 r2 tping 0 5 1234::1 vrf v1 siz 300 r1 tping 0 5 1.1.1.2 vrf v1 siz 300 r1 tping 0 5 1234::2 vrf v1 siz 300 r2 tping 100 5 1.1.1.1 vrf v1 siz 500 r2 tping 100 5 1234::1 vrf v1 siz 500 r1 tping 100 5 1.1.1.2 vrf v1 siz 500 r1 tping 100 5 1234::2 vrf v1 siz 500 freeRtr-24.11.16/cfg/crypt-acl75.tst 0000664 0000000 0000000 00000002073 14716276021 0016734 0 ustar 00root root 0000000 0000000 description egress mask matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all len 256&896 permit all any all any all exit access-list test6 deny all any all any all len 256&896 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 100 r2 tping 100 5 1234::1 vrf v1 siz 100 r1 tping 100 5 1.1.1.2 vrf v1 siz 100 r1 tping 100 5 1234::2 vrf v1 siz 100 r2 tping 0 5 1.1.1.1 vrf v1 siz 300 r2 tping 0 5 1234::1 vrf v1 siz 300 r1 tping 0 5 1.1.1.2 vrf v1 siz 300 r1 tping 0 5 1234::2 vrf v1 siz 300 r2 tping 100 5 1.1.1.1 vrf v1 siz 500 r2 tping 100 5 1234::1 vrf v1 siz 500 r1 tping 100 5 1.1.1.2 vrf v1 siz 500 r1 tping 100 5 1234::2 vrf v1 siz 500 freeRtr-24.11.16/cfg/crypt-acl76.tst 0000664 0000000 0000000 00000002547 14716276021 0016743 0 ustar 00root root 0000000 0000000 description ingress sgt matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list test4 deny all any all any all sgt 123 permit all any all any all exit access-list test6 deny all any all any all sgt 123 permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 sgt ena ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 sgt ena ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit int eth2 vrf for v1 sgt ass 123 ipv4 addr 2.2.2.1 255.255.255.252 ipv6 addr 4321::1 ffff:ffff:: exit ! addrouter r3 int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 ipv6 addr 4321::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r2 tping 100 5 2.2.2.2 vrf v1 ttl 90 r2 tping 100 5 4321::2 vrf v1 ttl 90 r1 tping 100 5 2.2.2.1 vrf v1 ttl 90 r1 tping 100 5 4321::1 vrf v1 ttl 90 r1 tping 0 5 2.2.2.2 vrf v1 ttl 90 r1 tping 0 5 4321::2 vrf v1 ttl 90 freeRtr-24.11.16/cfg/crypt-acl77.tst 0000664 0000000 0000000 00000002550 14716276021 0016736 0 ustar 00root root 0000000 0000000 description egress sgt matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 sgt ena ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny all any all any all sgt 123 permit all any all any all exit access-list test6 deny all any all any all sgt 123 permit all any all any all exit int eth1 vrf for v1 sgt ena ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 exit int eth2 vrf for v1 sgt ass 123 ipv4 addr 2.2.2.1 255.255.255.252 ipv6 addr 4321::1 ffff:ffff:: exit ! addrouter r3 int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 ipv6 addr 4321::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r2 tping 100 5 1.1.1.1 vrf v1 ttl 90 r2 tping 100 5 1234::1 vrf v1 ttl 90 r2 tping 100 5 2.2.2.2 vrf v1 ttl 90 r2 tping 100 5 4321::2 vrf v1 ttl 90 r1 tping 100 5 2.2.2.1 vrf v1 ttl 90 r1 tping 100 5 4321::1 vrf v1 ttl 90 r1 tping 0 5 2.2.2.2 vrf v1 ttl 90 r1 tping 0 5 4321::2 vrf v1 ttl 90 freeRtr-24.11.16/cfg/crypt-acl78.tst 0000664 0000000 0000000 00000002200 14716276021 0016727 0 ustar 00root root 0000000 0000000 description ingress fragment matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny all any all any all frag permit all any all any all exit access-list test6 deny all any all any all frag permit all any all any all exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 reassembly 16 ipv4 fragmentation 1400 ipv6 reassembly 16 ipv6 fragmentation 1400 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 reassembly 16 ipv4 fragmentation 1400 ipv6 reassembly 16 ipv6 fragmentation 1400 exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 222 r2 tping 100 15 1.1.1.1 vrf v1 siz 222 r1 tping 100 15 1234::2 vrf v1 siz 222 r2 tping 100 15 1234::1 vrf v1 siz 222 r1 tping 0 15 1.1.1.2 vrf v1 siz 2222 r2 tping 0 15 1.1.1.1 vrf v1 siz 2222 r1 tping 0 15 1234::2 vrf v1 siz 2222 r2 tping 0 15 1234::1 vrf v1 siz 2222 freeRtr-24.11.16/cfg/crypt-acl79.tst 0000664 0000000 0000000 00000001571 14716276021 0016742 0 ustar 00root root 0000000 0000000 description ingress alert matching access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny all any all any all alrt permit all any all any all exit access-list test6 deny all any all any all alrt permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 15 1.1.1.2 vrf v1 r2 tping 100 15 1.1.1.1 vrf v1 r1 tping 100 15 1234::2 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 tping 100 15 1.1.1.2 vrf v1 alert 123 r2 tping 0 15 1.1.1.1 vrf v1 alert 123 r1 tping 100 15 1234::2 vrf v1 alert 123 r2 tping 0 15 1234::1 vrf v1 alert 123 freeRtr-24.11.16/cfg/crypt-acl80.tst 0000664 0000000 0000000 00000001543 14716276021 0016731 0 ustar 00root root 0000000 0000000 description gre over ipv4 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl81.tst 0000664 0000000 0000000 00000001721 14716276021 0016730 0 ustar 00root root 0000000 0000000 description sreth over ipv4 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.2 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1.1.1.1 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl82.tst 0000664 0000000 0000000 00000001546 14716276021 0016736 0 ustar 00root root 0000000 0000000 description ipip over ipv4 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl83.tst 0000664 0000000 0000000 00000001510 14716276021 0016726 0 ustar 00root root 0000000 0000000 description icmptunnel over ipv4 filtered addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl84.tst 0000664 0000000 0000000 00000002233 14716276021 0016732 0 ustar 00root root 0000000 0000000 description ipv4 in esp over ipv4 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r2 tping 0 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl85.tst 0000664 0000000 0000000 00000001554 14716276021 0016740 0 ustar 00root root 0000000 0000000 description ipcomp over ipv4 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl86.tst 0000664 0000000 0000000 00000002262 14716276021 0016736 0 ustar 00root root 0000000 0000000 description swipe over ipv4 filtered addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 send conf t r1 send int ser1 r1 send mpls srv6-secur r1 send end r2 send conf t r2 send int ser1 r2 send mpls srv6-secur r2 send end r1 tping 0 5 2.2.2.2 vrf v1 r2 tping 0 5 2.2.2.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r2 tping 0 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl87.tst 0000664 0000000 0000000 00000001543 14716276021 0016740 0 ustar 00root root 0000000 0000000 description gre over ipv6 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl88.tst 0000664 0000000 0000000 00000001721 14716276021 0016737 0 ustar 00root root 0000000 0000000 description sreth over ipv6 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1234::2 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit bridge 1 mac-learn exit vpdn er bridge-group 1 proxy p1 target 1234::1 vcid 123 protocol sreth exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl89.tst 0000664 0000000 0000000 00000001546 14716276021 0016745 0 ustar 00root root 0000000 0000000 description ipip over ipv6 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipip tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl90.tst 0000664 0000000 0000000 00000001510 14716276021 0016724 0 ustar 00root root 0000000 0000000 description icmptunnel over ipv6 filtered addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode icmp tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl91.tst 0000664 0000000 0000000 00000002233 14716276021 0016730 0 ustar 00root root 0000000 0000000 description ipv4 in esp over ipv6 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r2 tping 0 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl92.tst 0000664 0000000 0000000 00000001554 14716276021 0016736 0 ustar 00root root 0000000 0000000 description ipcomp over ipv6 filtered addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls srv6-secur exit int tun1 tunnel vrf v1 tunnel mode ipcomp tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-acl93.tst 0000664 0000000 0000000 00000002262 14716276021 0016734 0 ustar 00root root 0000000 0000000 description swipe over ipv6 filtered addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 send conf t r1 send int ser1 r1 send mpls srv6-secur r1 send end r2 send conf t r2 send int ser1 r2 send mpls srv6-secur r2 send end r1 tping 0 5 2.2.2.2 vrf v1 r2 tping 0 5 2.2.2.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r2 tping 0 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-dtls.tst 0000664 0000000 0000000 00000001663 14716276021 0016773 0 ustar 00root root 0000000 0000000 description dtls test addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa server udptn udptn security rsakey rsa security dsakey dsa security ecdsakey ecdsa security rsacert rsa security dsacert dsa security ecdsacert ecdsa security protocol dtls vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 dtls r2 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/crypt-esp101.tst 0000664 0000000 0000000 00000002514 14716276021 0017032 0 ustar 00root root 0000000 0000000 description ipv4 in esp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r2 tping 0 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-esp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-esp102.tst 0000664 0000000 0000000 00000002160 14716276021 0017030 0 ustar 00root root 0000000 0000000 description ipv4 in esp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r2 tping 0 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-esp103.tst 0000664 0000000 0000000 00000002160 14716276021 0017031 0 ustar 00root root 0000000 0000000 description ipv6 in esp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 0 5 2.2.2.2 vrf v1 r2 tping 0 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-esp104.tst 0000664 0000000 0000000 00000002160 14716276021 0017032 0 ustar 00root root 0000000 0000000 description ipv6 in esp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 0 5 2.2.2.2 vrf v1 r2 tping 0 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike101.tst 0000664 0000000 0000000 00000002161 14716276021 0017011 0 ustar 00root root 0000000 0000000 description ipv4 in ike1 over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 0 10 4321::2 vrf v1 r2 tping 0 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike102.tst 0000664 0000000 0000000 00000002161 14716276021 0017012 0 ustar 00root root 0000000 0000000 description ipv4 in ike1 over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 0 10 4321::2 vrf v1 r2 tping 0 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike103.tst 0000664 0000000 0000000 00000002161 14716276021 0017013 0 ustar 00root root 0000000 0000000 description ipv6 in ike1 over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 0 10 2.2.2.2 vrf v1 r2 tping 0 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike104.tst 0000664 0000000 0000000 00000002161 14716276021 0017014 0 ustar 00root root 0000000 0000000 description ipv6 in ike1 over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 0 10 2.2.2.2 vrf v1 r2 tping 0 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike105.tst 0000664 0000000 0000000 00000001706 14716276021 0017021 0 ustar 00root root 0000000 0000000 description ike1 with des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike106.tst 0000664 0000000 0000000 00000001725 14716276021 0017023 0 ustar 00root root 0000000 0000000 description ike1 with blowfish addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher blowfish hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher blowfish hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike107.tst 0000664 0000000 0000000 00000001711 14716276021 0017017 0 ustar 00root root 0000000 0000000 description ike1 with 3des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher 3des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher 3des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike108.tst 0000664 0000000 0000000 00000001730 14716276021 0017021 0 ustar 00root root 0000000 0000000 description ike1 with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128cbc hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes128cbc hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike109.tst 0000664 0000000 0000000 00000001730 14716276021 0017022 0 ustar 00root root 0000000 0000000 description ike1 with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192cbc hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes192cbc hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike110.tst 0000664 0000000 0000000 00000001730 14716276021 0017012 0 ustar 00root root 0000000 0000000 description ike1 with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256cbc hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes256cbc hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike111.tst 0000664 0000000 0000000 00000001706 14716276021 0017016 0 ustar 00root root 0000000 0000000 description ike1 with md5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike112.tst 0000664 0000000 0000000 00000001711 14716276021 0017013 0 ustar 00root root 0000000 0000000 description ike1 with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha1 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash sha1 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike113.tst 0000664 0000000 0000000 00000001717 14716276021 0017022 0 ustar 00root root 0000000 0000000 description ike1 with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha256 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash sha256 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike114.tst 0000664 0000000 0000000 00000001717 14716276021 0017023 0 ustar 00root root 0000000 0000000 description ike1 with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha512 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash sha512 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike115.tst 0000664 0000000 0000000 00000001711 14716276021 0017016 0 ustar 00root root 0000000 0000000 description ike1 with group1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 01 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 01 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike116.tst 0000664 0000000 0000000 00000001711 14716276021 0017017 0 ustar 00root root 0000000 0000000 description ike1 with group2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike117.tst 0000664 0000000 0000000 00000001711 14716276021 0017020 0 ustar 00root root 0000000 0000000 description ike1 with group5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 05 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 05 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike118.tst 0000664 0000000 0000000 00000001712 14716276021 0017022 0 ustar 00root root 0000000 0000000 description ike1 with group14 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 14 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 14 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike119.tst 0000664 0000000 0000000 00000001712 14716276021 0017023 0 ustar 00root root 0000000 0000000 description ike1 with group15 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 15 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 15 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike120.tst 0000664 0000000 0000000 00000001712 14716276021 0017013 0 ustar 00root root 0000000 0000000 description ike1 with group16 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 16 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 16 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike121.tst 0000664 0000000 0000000 00000001712 14716276021 0017014 0 ustar 00root root 0000000 0000000 description ike1 with group17 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 17 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 17 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike122.tst 0000664 0000000 0000000 00000001720 14716276021 0017014 0 ustar 00root root 0000000 0000000 description ike1 with group18 exit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 18 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 18 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike123.tst 0000664 0000000 0000000 00000001712 14716276021 0017016 0 ustar 00root root 0000000 0000000 description ike1 with group22 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 22 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 22 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike124.tst 0000664 0000000 0000000 00000001712 14716276021 0017017 0 ustar 00root root 0000000 0000000 description ike1 with group23 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 23 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 23 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike125.tst 0000664 0000000 0000000 00000001712 14716276021 0017020 0 ustar 00root root 0000000 0000000 description ike1 with group24 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 24 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 24 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike126.tst 0000664 0000000 0000000 00000002505 14716276021 0017022 0 ustar 00root root 0000000 0000000 description ike1 over ipsec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 3.3.3.2 vrf v1 r2 tping 100 10 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike201.tst 0000664 0000000 0000000 00000002203 14716276021 0017007 0 ustar 00root root 0000000 0000000 description ipv4 in ike2 over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 0 10 4321::2 vrf v1 r2 tping 0 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike202.tst 0000664 0000000 0000000 00000002203 14716276021 0017010 0 ustar 00root root 0000000 0000000 description ipv4 in ike2 over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 0 10 4321::2 vrf v1 r2 tping 0 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike203.tst 0000664 0000000 0000000 00000002203 14716276021 0017011 0 ustar 00root root 0000000 0000000 description ipv6 in ike2 over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 0 10 2.2.2.2 vrf v1 r2 tping 0 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike204.tst 0000664 0000000 0000000 00000002203 14716276021 0017012 0 ustar 00root root 0000000 0000000 description ipv6 in ike2 over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 0 10 2.2.2.2 vrf v1 r2 tping 0 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike205.tst 0000664 0000000 0000000 00000001730 14716276021 0017017 0 ustar 00root root 0000000 0000000 description ike2 with des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike206.tst 0000664 0000000 0000000 00000001747 14716276021 0017030 0 ustar 00root root 0000000 0000000 description ike2 with blowfish addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher blowfish hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher blowfish hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike207.tst 0000664 0000000 0000000 00000001733 14716276021 0017024 0 ustar 00root root 0000000 0000000 description ike2 with 3des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher 3des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher 3des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike208.tst 0000664 0000000 0000000 00000001752 14716276021 0017026 0 ustar 00root root 0000000 0000000 description ike2 with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128cbc hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes128cbc hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike209.tst 0000664 0000000 0000000 00000001752 14716276021 0017027 0 ustar 00root root 0000000 0000000 description ike2 with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192cbc hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes192cbc hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike210.tst 0000664 0000000 0000000 00000001752 14716276021 0017017 0 ustar 00root root 0000000 0000000 description ike2 with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256cbc hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes256cbc hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike211.tst 0000664 0000000 0000000 00000001730 14716276021 0017014 0 ustar 00root root 0000000 0000000 description ike2 with md5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike212.tst 0000664 0000000 0000000 00000001735 14716276021 0017022 0 ustar 00root root 0000000 0000000 description ike2 with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha1 prf sha1 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash sha1 prf sha1 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike213.tst 0000664 0000000 0000000 00000001747 14716276021 0017026 0 ustar 00root root 0000000 0000000 description ike2 with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha256 prf sha256 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash sha256 prf sha256 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike214.tst 0000664 0000000 0000000 00000001747 14716276021 0017027 0 ustar 00root root 0000000 0000000 description ike2 with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha512 prf sha512 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash sha512 prf sha512 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike215.tst 0000664 0000000 0000000 00000001733 14716276021 0017023 0 ustar 00root root 0000000 0000000 description ike2 with group1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 01 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 01 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike216.tst 0000664 0000000 0000000 00000001733 14716276021 0017024 0 ustar 00root root 0000000 0000000 description ike2 with group2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike217.tst 0000664 0000000 0000000 00000001733 14716276021 0017025 0 ustar 00root root 0000000 0000000 description ike2 with group5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 05 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 05 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike218.tst 0000664 0000000 0000000 00000001734 14716276021 0017027 0 ustar 00root root 0000000 0000000 description ike2 with group14 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 14 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 14 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike219.tst 0000664 0000000 0000000 00000001734 14716276021 0017030 0 ustar 00root root 0000000 0000000 description ike2 with group15 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 15 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 15 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike220.tst 0000664 0000000 0000000 00000001734 14716276021 0017020 0 ustar 00root root 0000000 0000000 description ike2 with group16 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 16 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 16 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike221.tst 0000664 0000000 0000000 00000001734 14716276021 0017021 0 ustar 00root root 0000000 0000000 description ike2 with group17 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 17 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 17 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike222.tst 0000664 0000000 0000000 00000001742 14716276021 0017021 0 ustar 00root root 0000000 0000000 description ike2 with group18 exit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 18 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 18 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike223.tst 0000664 0000000 0000000 00000001734 14716276021 0017023 0 ustar 00root root 0000000 0000000 description ike2 with group22 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 22 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 22 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike224.tst 0000664 0000000 0000000 00000001734 14716276021 0017024 0 ustar 00root root 0000000 0000000 description ike2 with group23 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 23 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 23 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike225.tst 0000664 0000000 0000000 00000001734 14716276021 0017025 0 ustar 00root root 0000000 0000000 description ike2 with group24 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 24 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 24 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 30 2.2.2.2 vrf v1 r2 tping 100 30 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike226.tst 0000664 0000000 0000000 00000002527 14716276021 0017027 0 ustar 00root root 0000000 0000000 description ike2 over ipsec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 3.3.3.2 vrf v1 r2 tping 100 10 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike227.tst 0000664 0000000 0000000 00000001726 14716276021 0017030 0 ustar 00root root 0000000 0000000 description ike2 with aes128gcm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128gcm prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes128gcm prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike228.tst 0000664 0000000 0000000 00000001726 14716276021 0017031 0 ustar 00root root 0000000 0000000 description ike2 with aes192gcm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192gcm prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes192gcm prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-ike229.tst 0000664 0000000 0000000 00000001726 14716276021 0017032 0 ustar 00root root 0000000 0000000 description ike2 with aes256gcm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256gcm prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips group 02 cipher aes256gcm prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp01.tst 0000664 0000000 0000000 00000002214 14716276021 0017304 0 ustar 00root root 0000000 0000000 description inlsp over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-inlsp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-inlsp02.tst 0000664 0000000 0000000 00000001656 14716276021 0017316 0 ustar 00root root 0000000 0000000 description inlsp over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp03.tst 0000664 0000000 0000000 00000002334 14716276021 0017311 0 ustar 00root root 0000000 0000000 description inlsp over inlsp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp04.tst 0000664 0000000 0000000 00000002173 14716276021 0017313 0 ustar 00root root 0000000 0000000 description inlsp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp05.tst 0000664 0000000 0000000 00000001655 14716276021 0017320 0 ustar 00root root 0000000 0000000 description inlsp with des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp06.tst 0000664 0000000 0000000 00000001674 14716276021 0017322 0 ustar 00root root 0000000 0000000 description inlsp with blowfish addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp07.tst 0000664 0000000 0000000 00000001660 14716276021 0017316 0 ustar 00root root 0000000 0000000 description inlsp with 3des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp08.tst 0000664 0000000 0000000 00000001677 14716276021 0017327 0 ustar 00root root 0000000 0000000 description inlsp with aes128cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp09.tst 0000664 0000000 0000000 00000001677 14716276021 0017330 0 ustar 00root root 0000000 0000000 description inlsp with aes192cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp10.tst 0000664 0000000 0000000 00000001677 14716276021 0017320 0 ustar 00root root 0000000 0000000 description inlsp with aes256cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp11.tst 0000664 0000000 0000000 00000001655 14716276021 0017315 0 ustar 00root root 0000000 0000000 description inlsp with md5 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp12.tst 0000664 0000000 0000000 00000001660 14716276021 0017312 0 ustar 00root root 0000000 0000000 description inlsp with sha1 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp13.tst 0000664 0000000 0000000 00000001666 14716276021 0017321 0 ustar 00root root 0000000 0000000 description inlsp with sha256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp14.tst 0000664 0000000 0000000 00000001666 14716276021 0017322 0 ustar 00root root 0000000 0000000 description inlsp with sha512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp15.tst 0000664 0000000 0000000 00000001677 14716276021 0017325 0 ustar 00root root 0000000 0000000 description inlsp with aes128cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp16.tst 0000664 0000000 0000000 00000001677 14716276021 0017326 0 ustar 00root root 0000000 0000000 description inlsp with aes192cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp17.tst 0000664 0000000 0000000 00000001677 14716276021 0017327 0 ustar 00root root 0000000 0000000 description inlsp with aes256cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp18.tst 0000664 0000000 0000000 00000001677 14716276021 0017330 0 ustar 00root root 0000000 0000000 description inlsp with aes128ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp19.tst 0000664 0000000 0000000 00000001677 14716276021 0017331 0 ustar 00root root 0000000 0000000 description inlsp with aes192ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp20.tst 0000664 0000000 0000000 00000001677 14716276021 0017321 0 ustar 00root root 0000000 0000000 description inlsp with aes256ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp21.tst 0000664 0000000 0000000 00000001666 14716276021 0017320 0 ustar 00root root 0000000 0000000 description inlsp with sha224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp22.tst 0000664 0000000 0000000 00000001666 14716276021 0017321 0 ustar 00root root 0000000 0000000 description inlsp with sha384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp23.tst 0000664 0000000 0000000 00000001671 14716276021 0017316 0 ustar 00root root 0000000 0000000 description inlsp with sha3224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp24.tst 0000664 0000000 0000000 00000001671 14716276021 0017317 0 ustar 00root root 0000000 0000000 description inlsp with sha3256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp25.tst 0000664 0000000 0000000 00000001671 14716276021 0017320 0 ustar 00root root 0000000 0000000 description inlsp with sha3384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp26.tst 0000664 0000000 0000000 00000001671 14716276021 0017321 0 ustar 00root root 0000000 0000000 description inlsp with sha3512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp27.tst 0000664 0000000 0000000 00000001673 14716276021 0017324 0 ustar 00root root 0000000 0000000 description inlsp with none encryption addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-inlsp28.tst 0000664 0000000 0000000 00000001665 14716276021 0017326 0 ustar 00root root 0000000 0000000 description inlsp with none hash addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode inlsp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-insp01.tst 0000664 0000000 0000000 00000004726 14716276021 0017142 0 ustar 00root root 0000000 0000000 description route inspection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r1 tping 100 5 2.2.2.3 vrf v1 sou lo0 r1 tping 100 5 4321::3 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 tping 100 5 2.2.2.3 vrf v1 sou lo0 r2 tping 100 5 4321::3 vrf v1 sou lo0 r3 tping 100 5 2.2.2.1 vrf v1 sou lo0 r3 tping 100 5 4321::1 vrf v1 sou lo0 r3 tping 100 5 2.2.2.2 vrf v1 sou lo0 r3 tping 100 5 4321::2 vrf v1 sou lo0 r2 output show ipv4 counter v1 r2 output show ipv6 counter v1 output ../binTmp/crypt-insp01.html here is the ipv4 counters:
show:0here is the ipv6 counters:
show:1! freeRtr-24.11.16/cfg/crypt-insp02.tst 0000664 0000000 0000000 00000005223 14716276021 0017134 0 ustar 00root root 0000000 0000000 description flow inspection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit ipv4 flow v1 coll ipv6 flow v1 coll int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r1 tping 100 5 2.2.2.3 vrf v1 sou lo0 r1 tping 100 5 4321::3 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 tping 100 5 2.2.2.3 vrf v1 sou lo0 r2 tping 100 5 4321::3 vrf v1 sou lo0 r3 tping 100 5 2.2.2.1 vrf v1 sou lo0 r3 tping 100 5 4321::1 vrf v1 sou lo0 r3 tping 100 5 2.2.2.2 vrf v1 sou lo0 r3 tping 100 5 4321::2 vrf v1 sou lo0 r2 output show ipv4 flow v1 sess r2 output show ipv6 flow v1 sess r2 output show ipv4 flow v1 top r2 output show ipv6 flow v1 top output ../binTmp/crypt-insp02.html here is the ipv4 flows:
show:0here is the ipv6 flows:
show:1here is the ipv4 tops:
show:2here is the ipv6 tops:
show:3! freeRtr-24.11.16/cfg/crypt-insp03.tst 0000664 0000000 0000000 00000005214 14716276021 0017135 0 ustar 00root root 0000000 0000000 description interface inspection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 inspect mac ipv6 inspect mac exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r1 tping 100 5 2.2.2.3 vrf v1 sou lo0 r1 tping 100 5 4321::3 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 tping 100 5 2.2.2.3 vrf v1 sou lo0 r2 tping 100 5 4321::3 vrf v1 sou lo0 r3 tping 100 5 2.2.2.1 vrf v1 sou lo0 r3 tping 100 5 4321::1 vrf v1 sou lo0 r3 tping 100 5 2.2.2.2 vrf v1 sou lo0 r3 tping 100 5 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 output ../binTmp/crypt-insp03.html here is the ipv4 flows:
show:0here is the ipv6 flows:
show:1here is the ipv4 tops:
show:2here is the ipv6 tops:
show:3! freeRtr-24.11.16/cfg/crypt-insp04.tst 0000664 0000000 0000000 00000004556 14716276021 0017146 0 ustar 00root root 0000000 0000000 description bridge inspection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 inspect mac exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r1 tping 100 5 2.2.2.3 vrf v1 sou lo0 r1 tping 100 5 4321::3 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 tping 100 5 2.2.2.3 vrf v1 sou lo0 r2 tping 100 5 4321::3 vrf v1 sou lo0 r3 tping 100 5 2.2.2.1 vrf v1 sou lo0 r3 tping 100 5 4321::1 vrf v1 sou lo0 r3 tping 100 5 2.2.2.2 vrf v1 sou lo0 r3 tping 100 5 4321::2 vrf v1 sou lo0 r2 output show bridge 1 output ../binTmp/crypt-insp04.html here is the flows:
show:0! freeRtr-24.11.16/cfg/crypt-insp05.tst 0000664 0000000 0000000 00000006336 14716276021 0017145 0 ustar 00root root 0000000 0000000 description mpls inspection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls inspect mac exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show mpls insp eth1 sess r2 output show mpls insp eth1 top output ../binTmp/crypt-insp05.html here is the flows:
show:0here is the tops:
show:1! freeRtr-24.11.16/cfg/crypt-insp06.tst 0000664 0000000 0000000 00000004675 14716276021 0017152 0 ustar 00root root 0000000 0000000 description interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 host-static 1234:1::2 0000.0000.2222 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 host-static 1234:1::1 0000.0000.1111 ipv4 inspect mac drop-rx ipv6 inspect mac drop-rx exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 freeRtr-24.11.16/cfg/crypt-insp07.tst 0000664 0000000 0000000 00000004674 14716276021 0017152 0 ustar 00root root 0000000 0000000 description interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 host-static 1234:1::2 0000.0000.2222 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 host-static 1234:1::1 0000.0000.1111 ipv4 inspect mac drop-tx ipv6 inspect mac drop-tx exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 0 10 2.2.2.1 vrf v1 sou lo0 r3 tping 0 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 freeRtr-24.11.16/cfg/crypt-insp08.tst 0000664 0000000 0000000 00000006014 14716276021 0017141 0 ustar 00root root 0000000 0000000 description mpls inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls inspect mac drop-rx exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show mpls insp eth1 sess r2 output show mpls insp eth1 top freeRtr-24.11.16/cfg/crypt-insp09.tst 0000664 0000000 0000000 00000006013 14716276021 0017141 0 ustar 00root root 0000000 0000000 description mpls inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls inspect mac drop-tx exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 0 10 2.2.2.1 vrf v1 sou lo0 r3 tping 0 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show mpls insp eth1 sess r2 output show mpls insp eth1 top freeRtr-24.11.16/cfg/crypt-insp10.tst 0000664 0000000 0000000 00000005225 14716276021 0017135 0 ustar 00root root 0000000 0000000 description interface inspection with selective ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 host-static 1234:1::2 0000.0000.2222 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 permit all any all 2.2.2.3 255.255.255.255 all exit access-list test6 permit all any all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 host-static 1234:1::1 0000.0000.1111 ipv4 inspect mac drop-rx allow-list test4 ipv6 inspect mac drop-rx allow-list test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 freeRtr-24.11.16/cfg/crypt-insp11.tst 0000664 0000000 0000000 00000005224 14716276021 0017135 0 ustar 00root root 0000000 0000000 description interface inspection with selective egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 host-static 1234:1::2 0000.0000.2222 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 permit all 2.2.2.3 255.255.255.255 all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 host-static 1234:1::1 0000.0000.1111 ipv4 inspect mac drop-tx allow-list test4 ipv6 inspect mac drop-tx allow-list test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 freeRtr-24.11.16/cfg/crypt-insp12.tst 0000664 0000000 0000000 00000006271 14716276021 0017141 0 ustar 00root root 0000000 0000000 description mpls inspection with selective ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test permit all any all 2.2.2.3 255.255.255.255 all permit all any all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls inspect mac drop-rx allow-list test exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show mpls insp eth1 sess r2 output show mpls insp eth1 top freeRtr-24.11.16/cfg/crypt-insp13.tst 0000664 0000000 0000000 00000006270 14716276021 0017141 0 ustar 00root root 0000000 0000000 description mpls inspection with selective egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test permit all 2.2.2.3 255.255.255.255 all any all permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 mpls inspect mac drop-tx allow-list test exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show mpls insp eth1 sess r2 output show mpls insp eth1 top freeRtr-24.11.16/cfg/crypt-insp14.tst 0000664 0000000 0000000 00000004770 14716276021 0017145 0 ustar 00root root 0000000 0000000 description interface inspection with member ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 host-static 1234:1::2 0000.0000.2222 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit session ins4 drop-rx exit session ins6 drop-rx exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 host-static 1234:1::1 0000.0000.1111 ipv4 inspect memb ins4 ipv6 inspect memb ins6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 freeRtr-24.11.16/cfg/crypt-insp15.tst 0000664 0000000 0000000 00000004767 14716276021 0017154 0 ustar 00root root 0000000 0000000 description interface inspection with member egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 host-static 1234:1::2 0000.0000.2222 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit session ins4 drop-tx exit session ins6 drop-tx exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 host-static 1234:1::1 0000.0000.1111 ipv4 inspect memb ins4 ipv6 inspect memb ins6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 0 10 2.2.2.1 vrf v1 sou lo0 r3 tping 0 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r2 output show ipv4 insp eth1 r2 output show ipv6 insp eth1 r2 output show ipv4 top eth1 r2 output show ipv6 top eth1 freeRtr-24.11.16/cfg/crypt-macsec01.tst 0000664 0000000 0000000 00000001616 14716276021 0017417 0 ustar 00root root 0000000 0000000 description macsec over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 r1 output show inter eth1 full output ../binTmp/crypt-macsec.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-macsec02.tst 0000664 0000000 0000000 00000001272 14716276021 0017416 0 ustar 00root root 0000000 0000000 description macsec over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1.11 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1.11 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec03.tst 0000664 0000000 0000000 00000001341 14716276021 0017414 0 ustar 00root root 0000000 0000000 description macsec over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec04.tst 0000664 0000000 0000000 00000001245 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec over hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc hdlc vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc hdlc vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec05.tst 0000664 0000000 0000000 00000001346 14716276021 0017423 0 ustar 00root root 0000000 0000000 description macsec over ppp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec06.tst 0000664 0000000 0000000 00000001366 14716276021 0017426 0 ustar 00root root 0000000 0000000 description macsec over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc framerelay framerelay dlci 123 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec07.tst 0000664 0000000 0000000 00000001343 14716276021 0017422 0 ustar 00root root 0000000 0000000 description macsec over atmdxi addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec08.tst 0000664 0000000 0000000 00000001313 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec over atmsar addrouter r1 int atm1 atm - $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int atm1 atmsar vpi 1 atmsar vci 2 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int atm1 atm - $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int atm1 atmsar vpi 1 atmsar vci 2 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec09.tst 0000664 0000000 0000000 00000002004 14716276021 0017417 0 ustar 00root root 0000000 0000000 description macsec over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::2 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec10.tst 0000664 0000000 0000000 00000001234 14716276021 0017413 0 ustar 00root root 0000000 0000000 description macsec with des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec11.tst 0000664 0000000 0000000 00000001253 14716276021 0017415 0 ustar 00root root 0000000 0000000 description macsec with blowfish addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher blowfish hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher blowfish hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec12.tst 0000664 0000000 0000000 00000001237 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec with 3des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher 3des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher 3des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec13.tst 0000664 0000000 0000000 00000001256 14716276021 0017422 0 ustar 00root root 0000000 0000000 description macsec with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128cbc hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128cbc hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec14.tst 0000664 0000000 0000000 00000001256 14716276021 0017423 0 ustar 00root root 0000000 0000000 description macsec with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192cbc hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192cbc hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec15.tst 0000664 0000000 0000000 00000001256 14716276021 0017424 0 ustar 00root root 0000000 0000000 description macsec with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec16.tst 0000664 0000000 0000000 00000001234 14716276021 0017421 0 ustar 00root root 0000000 0000000 description macsec with md5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec17.tst 0000664 0000000 0000000 00000001237 14716276021 0017425 0 ustar 00root root 0000000 0000000 description macsec with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec18.tst 0000664 0000000 0000000 00000001245 14716276021 0017425 0 ustar 00root root 0000000 0000000 description macsec with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha256 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha256 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec19.tst 0000664 0000000 0000000 00000001245 14716276021 0017426 0 ustar 00root root 0000000 0000000 description macsec with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec20.tst 0000664 0000000 0000000 00000001237 14716276021 0017417 0 ustar 00root root 0000000 0000000 description macsec with group1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 01 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 01 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec21.tst 0000664 0000000 0000000 00000001237 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec with group2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec22.tst 0000664 0000000 0000000 00000001237 14716276021 0017421 0 ustar 00root root 0000000 0000000 description macsec with group5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 05 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 05 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec23.tst 0000664 0000000 0000000 00000001240 14716276021 0017414 0 ustar 00root root 0000000 0000000 description macsec with group14 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 14 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 14 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec24.tst 0000664 0000000 0000000 00000001240 14716276021 0017415 0 ustar 00root root 0000000 0000000 description macsec with group15 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 15 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 15 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec25.tst 0000664 0000000 0000000 00000001240 14716276021 0017416 0 ustar 00root root 0000000 0000000 description macsec with group16 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 16 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 16 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec26.tst 0000664 0000000 0000000 00000001240 14716276021 0017417 0 ustar 00root root 0000000 0000000 description macsec with group17 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 17 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 17 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec27.tst 0000664 0000000 0000000 00000001240 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec with group18 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 18 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 18 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec28.tst 0000664 0000000 0000000 00000001240 14716276021 0017421 0 ustar 00root root 0000000 0000000 description macsec with group22 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 22 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 22 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec29.tst 0000664 0000000 0000000 00000001240 14716276021 0017422 0 ustar 00root root 0000000 0000000 description macsec with group23 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 23 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 23 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec30.tst 0000664 0000000 0000000 00000001240 14716276021 0017412 0 ustar 00root root 0000000 0000000 description macsec with group24 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 24 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 24 cipher des hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec31.tst 0000664 0000000 0000000 00000001350 14716276021 0017415 0 ustar 00root root 0000000 0000000 description macsec over ethernet bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bundle 1 ether exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 bundle-gr 1 exit int bun1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec32.tst 0000664 0000000 0000000 00000001431 14716276021 0017416 0 ustar 00root root 0000000 0000000 description macsec over ethernet hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit hairpin 1 ether exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 bridge-gr 1 exit int hair11 bridge-gr 1 exit int hair12 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec33.tst 0000664 0000000 0000000 00000001141 14716276021 0017415 0 ustar 00root root 0000000 0000000 description no macsec over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 macsec ips disable-macsec ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec34.tst 0000664 0000000 0000000 00000001256 14716276021 0017425 0 ustar 00root root 0000000 0000000 description macsec with aes128cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128cfb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128cfb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec35.tst 0000664 0000000 0000000 00000001256 14716276021 0017426 0 ustar 00root root 0000000 0000000 description macsec with aes192cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192cfb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192cfb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec36.tst 0000664 0000000 0000000 00000001256 14716276021 0017427 0 ustar 00root root 0000000 0000000 description macsec with aes256cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cfb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cfb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec37.tst 0000664 0000000 0000000 00000001256 14716276021 0017430 0 ustar 00root root 0000000 0000000 description macsec with aes128ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128ecb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128ecb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec38.tst 0000664 0000000 0000000 00000001256 14716276021 0017431 0 ustar 00root root 0000000 0000000 description macsec with aes192ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192ecb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192ecb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec39.tst 0000664 0000000 0000000 00000001256 14716276021 0017432 0 ustar 00root root 0000000 0000000 description macsec with aes256ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256ecb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256ecb hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec40.tst 0000664 0000000 0000000 00000001245 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec with sha224 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha224 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha224 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec41.tst 0000664 0000000 0000000 00000001245 14716276021 0017421 0 ustar 00root root 0000000 0000000 description macsec with sha384 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha384 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha384 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec42.tst 0000664 0000000 0000000 00000001250 14716276021 0017416 0 ustar 00root root 0000000 0000000 description macsec with sha3224 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3224 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3224 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec43.tst 0000664 0000000 0000000 00000001250 14716276021 0017417 0 ustar 00root root 0000000 0000000 description macsec with sha3256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3256 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3256 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec44.tst 0000664 0000000 0000000 00000001250 14716276021 0017420 0 ustar 00root root 0000000 0000000 description macsec with sha3384 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3384 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3384 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec45.tst 0000664 0000000 0000000 00000001250 14716276021 0017421 0 ustar 00root root 0000000 0000000 description macsec with sha3512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3512 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash sha3512 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec46.tst 0000664 0000000 0000000 00000001252 14716276021 0017424 0 ustar 00root root 0000000 0000000 description macsec with none encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher none hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher none hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec47.tst 0000664 0000000 0000000 00000001244 14716276021 0017426 0 ustar 00root root 0000000 0000000 description macsec with none hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec48.tst 0000664 0000000 0000000 00000001267 14716276021 0017434 0 ustar 00root root 0000000 0000000 description macsec with aes128gcm and hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128gcm hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128gcm hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec49.tst 0000664 0000000 0000000 00000001267 14716276021 0017435 0 ustar 00root root 0000000 0000000 description macsec with aes192gcm and hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192gcm hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192gcm hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec50.tst 0000664 0000000 0000000 00000001267 14716276021 0017425 0 ustar 00root root 0000000 0000000 description macsec with aes256gcm and hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256gcm hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256gcm hash md5 key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec51.tst 0000664 0000000 0000000 00000001271 14716276021 0017421 0 ustar 00root root 0000000 0000000 description macsec with aes128gcm and aead addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128gcm hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes128gcm hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec52.tst 0000664 0000000 0000000 00000001271 14716276021 0017422 0 ustar 00root root 0000000 0000000 description macsec with aes192gcm and aead addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192gcm hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes192gcm hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec53.tst 0000664 0000000 0000000 00000001271 14716276021 0017423 0 ustar 00root root 0000000 0000000 description macsec with aes256gcm and aead addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256gcm hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256gcm hash none key tester exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec54.tst 0000664 0000000 0000000 00000002007 14716276021 0017422 0 ustar 00root root 0000000 0000000 description macsec over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 9999::2 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode tmux tunnel source ethernet1 tunnel destination 9999::1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec55.tst 0000664 0000000 0000000 00000002054 14716276021 0017425 0 ustar 00root root 0000000 0000000 description macsec over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel key 1234 tunnel mode l2tp3 tunnel source ethernet1 tunnel destination 9999::2 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher aes256cbc hash sha1 key tester exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel key 1234 tunnel mode l2tp3 tunnel source ethernet1 tunnel destination 9999::1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-macsec56.tst 0000664 0000000 0000000 00000002245 14716276021 0017430 0 ustar 00root root 0000000 0000000 description macsec with static key addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role stat group 02 cipher aes256cbc hash sha1 key 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role stat group 02 cipher aes256cbc hash sha1 key 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 exit int eth1 vrf for v1 macsec ips ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 30 1.1.1.2 vrf v1 r2 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 1234::2 vrf v1 r2 tping 100 30 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-nat01.tst 0000664 0000000 0000000 00000002626 14716276021 0016750 0 ustar 00root root 0000000 0000000 description source list translation to interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 nat v1 srclist test4 interface ethernet1 ipv6 nat v1 srclist test6 interface ethernet1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran output ../binTmp/crypt-nat.html here is the translation list:
show:0here is the ipv6 translation list:
show:1! freeRtr-24.11.16/cfg/crypt-nat02.tst 0000664 0000000 0000000 00000002202 14716276021 0016737 0 ustar 00root root 0000000 0000000 description source list translation to address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 nat v1 srclist test4 1.1.1.2 ipv6 nat v1 srclist test6 1234:1::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat03.tst 0000664 0000000 0000000 00000002640 14716276021 0016746 0 ustar 00root root 0000000 0000000 description source list translation to pool addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.2 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 gateway-process ipv6 gateway-process exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 pool a4 1.1.2.1 0.0.0.1 222 ipv6 pool a6 1234:3::1 ::1234 222 ipv4 nat v1 srclist test4 pool a4 ipv6 nat v1 srclist test6 pool a6 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat04.tst 0000664 0000000 0000000 00000002341 14716276021 0016745 0 ustar 00root root 0000000 0000000 description source address translation to interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 8.8.8.8 255.255.255.255 1.1.1.6 ipv6 route v1 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 nat v1 source 8.8.8.8 interface eth1 ipv6 nat v1 source 8888::8 interface eth1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 8.8.8.8 255.255.255.255 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 sou lo1 r3 tping 100 5 1234:1::1 vrf v1 sou lo1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat05.tst 0000664 0000000 0000000 00000002605 14716276021 0016751 0 ustar 00root root 0000000 0000000 description source address translation to address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 route v1 8.8.8.8 255.255.255.255 1.1.1.6 ipv6 route v1 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 nat v1 source 8.8.8.8 1.1.1.2 ipv6 nat v1 source 8888::8 1234:1::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 8.8.8.8 255.255.255.255 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 sou lo1 r3 tping 100 5 1234:1::1 vrf v1 sou lo1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat06.tst 0000664 0000000 0000000 00000002762 14716276021 0016756 0 ustar 00root root 0000000 0000000 description source address translation to pool addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.2 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 gateway-process ipv6 gateway-process exit ipv4 route v1 8.8.8.8 255.255.255.255 1.1.1.6 ipv6 route v1 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 pool a4 1.1.2.1 0.0.0.1 222 ipv6 pool a6 1234:3::1 ::1234 222 ipv4 nat v1 source 8.8.8.8 pool a4 ipv6 nat v1 source 8888::8 pool a6 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 8.8.8.8 255.255.255.255 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 sou lo1 r3 tping 100 5 1234:1::1 vrf v1 sou lo1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat07.tst 0000664 0000000 0000000 00000002311 14716276021 0016745 0 ustar 00root root 0000000 0000000 description target address translation to address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 nat v1 target 8.8.8.8 1.1.1.1 ipv6 nat v1 target 8888::1 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 8.8.8.8 vrf v1 r3 tping 100 5 8888::1 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat08.tst 0000664 0000000 0000000 00000003675 14716276021 0016764 0 ustar 00root root 0000000 0000000 description more sources translation to interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.129 255.255.255.128 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.128 255.255.255.128 all 1.1.1.0 255.255.255.128 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 nat v1 srclist test4 interface ethernet1 ipv6 nat v1 srclist test6 interface ethernet1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ int eth3 eth 0000.0000.3333 $4a$ $4b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.130 255.255.255.128 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.129 ipv6 route v1 :: :: 1234:2::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.131 255.255.255.128 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.129 ipv6 route v1 :: :: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.132 255.255.255.128 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.129 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r5 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r5 tping 100 5 1234:1::1 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat09.tst 0000664 0000000 0000000 00000002052 14716276021 0016751 0 ustar 00root root 0000000 0000000 description ipv4-ipv6 protocol translation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int eth2 vrf for v1 ipv6 addr 1234::101:106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc exit int tun1 tunnel vrf v1 tunnel key 120 tunnel mode 6to4 tunnel source eth2 tunnel destination 1234::101:101 vrf for v1 ipv4 addr 1.1.1.0 255.255.255.0 ipv6 addr 1234::101:100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv6 addr 1234::101:105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc exit ipv6 route v1 :: :: 1234::101:106 ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::101:105 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234::101:101 vrf v1 freeRtr-24.11.16/cfg/crypt-nat10.tst 0000664 0000000 0000000 00000002752 14716276021 0016750 0 ustar 00root root 0000000 0000000 description source prefix translation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 7.7.7.0 255.255.255.0 1.1.1.2 ipv6 route v1 7777:: ffff:ffff:: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 route v1 8.8.8.8 255.255.255.255 1.1.1.6 ipv6 route v1 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 nat v1 srcpref 8.8.8.8 7.7.7.7 255.255.255.0 ipv6 nat v1 srcpref 8888::8 7777::7 ffff:ffff:: ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 8.8.8.8 255.255.255.255 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.1 vrf v1 sou lo1 r3 tping 100 5 1234:1::1 vrf v1 sou lo1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat11.tst 0000664 0000000 0000000 00000002730 14716276021 0016745 0 ustar 00root root 0000000 0000000 description target prefix translation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 7.7.7.0 255.255.255.0 1.1.1.2 ipv6 route v1 7777:: ffff:ffff:: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 route v1 8.8.8.8 255.255.255.255 1.1.1.6 ipv6 route v1 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 nat v1 trgpref 7.7.7.7 8.8.8.8 255.255.255.0 ipv6 nat v1 trgpref 7777::7 8888::8 ffff:ffff:: ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 8.8.8.8 255.255.255.255 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r1 tping 100 5 7.7.7.8 vrf v1 r1 tping 100 5 7777::8 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat12.tst 0000664 0000000 0000000 00000002632 14716276021 0016747 0 ustar 00root root 0000000 0000000 description nat64 translation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234::2 access-list nat deny all fe80:: ffff:: all any all deny all any all fe80:: ffff:: all deny all any all ff00:: ff00:: all deny all 6464:: ffff:ffff:ffff:ffff:: all 6464:: ffff:ffff:ffff:ffff:: all perm all any all 6464:: ffff:ffff:ffff:ffff:: all exit int tun1 tun key 96 tun vrf v1 tun sou eth2 tun des 6464::a01:4042 tun mod 6to4 vrf forwarding v1 ipv4 addr 10.1.64.65 255.255.255.252 ipv6 addr 6464::a01:4042 ffff:ffff:ffff:ffff:ffff:ffff:: exit ipv6 nat v1 srclist nat int tun1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv6 addr 1234::2 ffff:ffff:: exit int lo1 vrf for v1 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv6 route v1 :: :: 1234::1 ! r1 tping 100 5 1.1.1.2 vrf v1 r3 tping 100 5 1234::1 vrf v1 r3 tping 100 5 6464::0202:0202 vrf v1 sou lo1 freeRtr-24.11.16/cfg/crypt-nat13.tst 0000664 0000000 0000000 00000003011 14716276021 0016740 0 ustar 00root root 0000000 0000000 description source port randomization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 nat v1 seq 10 srclist test4 interface ethernet1 ipv4 nat v1 seq 10 random 1024 2048 ipv6 nat v1 seq 10 srclist test6 interface ethernet1 ipv6 nat v1 seq 10 random 1024 2048 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r2 tping 100 5 1.1.1.6 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r3 send telnet 1.1.1.1 666 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 send exit r3 read closed r3 send telnet 1234:1::1 666 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r3 send exit r3 read closed r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat14.tst 0000664 0000000 0000000 00000002521 14716276021 0016746 0 ustar 00root root 0000000 0000000 description source interface translation to address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 route v1 8.8.8.8 255.255.255.255 1.1.1.6 ipv6 route v1 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 nat v1 source interface eth2 1.1.1.2 ipv6 nat v1 source interface eth2 1234:1::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 8.8.8.8 255.255.255.255 ipv6 addr 8888::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! r3 tping 100 5 1.1.1.5 vrf v1 sou lo1 r3 tping 100 5 1234:2::1 vrf v1 sou lo1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat15.tst 0000664 0000000 0000000 00000002333 14716276021 0016750 0 ustar 00root root 0000000 0000000 description target interface translation to address addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list test4 permit all 1.1.1.4 255.255.255.252 all 1.1.1.0 255.255.255.252 all exit access-list test6 permit all 1234:2:: ffff:ffff:: all 1234:1:: ffff:ffff:: all exit ipv4 nat v1 target interface eth2 1.1.1.1 ipv6 nat v1 target interface eth2 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234:2::1 vrf v1 r2 output show ipv4 nat v1 tran r2 output show ipv6 nat v1 tran freeRtr-24.11.16/cfg/crypt-nat16.tst 0000664 0000000 0000000 00000003412 14716276021 0016750 0 ustar 00root root 0000000 0000000 description ipv4 target port selection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun dom 1.1.1.2 10000-19999 1.1.1.6 20000-29999 tun mod aplusp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 ipv6 addr 4321::1234 ffff:ffff:: exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 client tcp-portrange 12000 13000 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 client tcp-portrange 22000 23000 ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234:2::1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 sou lo1 r2 tping 100 5 3.3.3.3 vrf v2 r2 send exit r2 read closed r3 send telnet 1.1.1.1 666 vrf v1 sou lo1 r3 tping 100 5 3.3.3.3 vrf v2 r3 send exit r3 read closed freeRtr-24.11.16/cfg/crypt-nat17.tst 0000664 0000000 0000000 00000003422 14716276021 0016752 0 ustar 00root root 0000000 0000000 description ipv6 target port selection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun dom 1234:1::2 10000-19999 1234:2::2 20000-29999 tun mod aplusp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 ipv6 addr 4321::1234 ffff:ffff:: exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 client tcp-portrange 12000 13000 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 client tcp-portrange 22000 23000 ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1234:2::1 vrf v1 r2 send telnet 1234:1::1 666 vrf v1 sou lo1 r2 tping 100 5 3.3.3.3 vrf v2 r2 send exit r2 read closed r3 send telnet 1234:1::1 666 vrf v1 sou lo1 r3 tping 100 5 3.3.3.3 vrf v2 r3 send exit r3 read closed freeRtr-24.11.16/cfg/crypt-openvpn01.tst 0000664 0000000 0000000 00000004210 14716276021 0017642 0 ustar 00root root 0000000 0000000 description openvpn over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-openvpn.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-openvpn02.tst 0000664 0000000 0000000 00000003650 14716276021 0017652 0 ustar 00root root 0000000 0000000 description openvpn over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn03.tst 0000664 0000000 0000000 00000006704 14716276021 0017656 0 ustar 00root root 0000000 0000000 description openvpn over openvpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips1 cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit crypto ipsec ips2 cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips2 tunnel mode openvpn tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips1 tunnel mode openvpn tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit crypto ipsec ips1 cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit crypto ipsec ips2 cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips2 tunnel mode openvpn tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips1 tunnel mode openvpn tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn04.tst 0000664 0000000 0000000 00000004165 14716276021 0017656 0 ustar 00root root 0000000 0000000 description openvpn over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn05.tst 0000664 0000000 0000000 00000003647 14716276021 0017663 0 ustar 00root root 0000000 0000000 description openvpn with des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn06.tst 0000664 0000000 0000000 00000003666 14716276021 0017665 0 ustar 00root root 0000000 0000000 description openvpn with blowfish addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn07.tst 0000664 0000000 0000000 00000003652 14716276021 0017661 0 ustar 00root root 0000000 0000000 description openvpn with 3des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher 3des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher 3des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn08.tst 0000664 0000000 0000000 00000003671 14716276021 0017663 0 ustar 00root root 0000000 0000000 description openvpn with aes128cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn09.tst 0000664 0000000 0000000 00000003671 14716276021 0017664 0 ustar 00root root 0000000 0000000 description openvpn with aes192cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn10.tst 0000664 0000000 0000000 00000003671 14716276021 0017654 0 ustar 00root root 0000000 0000000 description openvpn with aes256cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn11.tst 0000664 0000000 0000000 00000003647 14716276021 0017660 0 ustar 00root root 0000000 0000000 description openvpn with md5 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn12.tst 0000664 0000000 0000000 00000003652 14716276021 0017655 0 ustar 00root root 0000000 0000000 description openvpn with sha1 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha1 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha1 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn13.tst 0000664 0000000 0000000 00000003660 14716276021 0017655 0 ustar 00root root 0000000 0000000 description openvpn with sha256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha256 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha256 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn14.tst 0000664 0000000 0000000 00000003660 14716276021 0017656 0 ustar 00root root 0000000 0000000 description openvpn with sha512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha512 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha512 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn15.tst 0000664 0000000 0000000 00000003740 14716276021 0017656 0 ustar 00root root 0000000 0000000 description openvpn over asymmetric ports addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel key 1234 4321 tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel key 4321 1234 tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn16.tst 0000664 0000000 0000000 00000003671 14716276021 0017662 0 ustar 00root root 0000000 0000000 description openvpn with aes128cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn17.tst 0000664 0000000 0000000 00000003671 14716276021 0017663 0 ustar 00root root 0000000 0000000 description openvpn with aes192cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn18.tst 0000664 0000000 0000000 00000003671 14716276021 0017664 0 ustar 00root root 0000000 0000000 description openvpn with aes256cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn19.tst 0000664 0000000 0000000 00000003671 14716276021 0017665 0 ustar 00root root 0000000 0000000 description openvpn with aes128ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn20.tst 0000664 0000000 0000000 00000003671 14716276021 0017655 0 ustar 00root root 0000000 0000000 description openvpn with aes192ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn21.tst 0000664 0000000 0000000 00000003671 14716276021 0017656 0 ustar 00root root 0000000 0000000 description openvpn with aes256ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn22.tst 0000664 0000000 0000000 00000003660 14716276021 0017655 0 ustar 00root root 0000000 0000000 description openvpn with sha224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha224 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha224 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn23.tst 0000664 0000000 0000000 00000003660 14716276021 0017656 0 ustar 00root root 0000000 0000000 description openvpn with sha384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha384 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha384 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn24.tst 0000664 0000000 0000000 00000003663 14716276021 0017662 0 ustar 00root root 0000000 0000000 description openvpn with sha3224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3224 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3224 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn25.tst 0000664 0000000 0000000 00000003663 14716276021 0017663 0 ustar 00root root 0000000 0000000 description openvpn with sha3256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3256 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3256 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn26.tst 0000664 0000000 0000000 00000003663 14716276021 0017664 0 ustar 00root root 0000000 0000000 description openvpn with sha3384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3384 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3384 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn27.tst 0000664 0000000 0000000 00000003663 14716276021 0017665 0 ustar 00root root 0000000 0000000 description openvpn with sha3512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3512 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3512 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn28.tst 0000664 0000000 0000000 00000003665 14716276021 0017670 0 ustar 00root root 0000000 0000000 description openvpn with none encryption addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher none hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher none hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-openvpn29.tst 0000664 0000000 0000000 00000003657 14716276021 0017672 0 ustar 00root root 0000000 0000000 description openvpn with none hash addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash none key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash none key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode openvpn tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-proxy.tst 0000664 0000000 0000000 00000002450 14716276021 0017201 0 ustar 00root root 0000000 0000000 description transparent proxy addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 proxy-profile p1 vrf v1 exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int ser1 transproxy p1 exit int ser2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit int lo0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:: exit server telnet telnet vrf v1 exit ! r2 tping 100 10 2.2.2.3 vrf v1 r1 tping 0 5 3.3.3.3 vrf v1 r1 send telnet 2.2.2.3 prox p1 r1 tping 100 5 3.3.3.3 vrf v1 r1 send exit r1 read closed r1 tping 0 60 3.3.3.3 vrf v1 r1 send telnet 4321::3 prox p1 r1 tping 100 5 3.3.3.3 vrf v1 r1 send exit r1 read closed r1 tping 0 60 3.3.3.3 vrf v1 r2 output show transprox ser1 output ../binTmp/crypt-proxy.html here is the session list:
show:0! freeRtr-24.11.16/cfg/crypt-satp01.tst 0000664 0000000 0000000 00000002210 14716276021 0017122 0 ustar 00root root 0000000 0000000 description satp over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-satp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-satp02.tst 0000664 0000000 0000000 00000001653 14716276021 0017135 0 ustar 00root root 0000000 0000000 description satp over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp03.tst 0000664 0000000 0000000 00000002326 14716276021 0017134 0 ustar 00root root 0000000 0000000 description satp over satp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp04.tst 0000664 0000000 0000000 00000002170 14716276021 0017132 0 ustar 00root root 0000000 0000000 description satp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp05.tst 0000664 0000000 0000000 00000001652 14716276021 0017137 0 ustar 00root root 0000000 0000000 description satp with des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp06.tst 0000664 0000000 0000000 00000001671 14716276021 0017141 0 ustar 00root root 0000000 0000000 description satp with blowfish addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp07.tst 0000664 0000000 0000000 00000001655 14716276021 0017144 0 ustar 00root root 0000000 0000000 description satp with 3des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp08.tst 0000664 0000000 0000000 00000001674 14716276021 0017146 0 ustar 00root root 0000000 0000000 description satp with aes128cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp09.tst 0000664 0000000 0000000 00000001674 14716276021 0017147 0 ustar 00root root 0000000 0000000 description satp with aes192cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp10.tst 0000664 0000000 0000000 00000001674 14716276021 0017137 0 ustar 00root root 0000000 0000000 description satp with aes256cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp11.tst 0000664 0000000 0000000 00000001652 14716276021 0017134 0 ustar 00root root 0000000 0000000 description satp with md5 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp12.tst 0000664 0000000 0000000 00000001655 14716276021 0017140 0 ustar 00root root 0000000 0000000 description satp with sha1 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp13.tst 0000664 0000000 0000000 00000001663 14716276021 0017140 0 ustar 00root root 0000000 0000000 description satp with sha256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp14.tst 0000664 0000000 0000000 00000001663 14716276021 0017141 0 ustar 00root root 0000000 0000000 description satp with sha512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp15.tst 0000664 0000000 0000000 00000001743 14716276021 0017141 0 ustar 00root root 0000000 0000000 description satp over asymmetric ports addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel key 1234 4321 tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel key 4321 1234 tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp16.tst 0000664 0000000 0000000 00000001674 14716276021 0017145 0 ustar 00root root 0000000 0000000 description satp with aes128cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp17.tst 0000664 0000000 0000000 00000001674 14716276021 0017146 0 ustar 00root root 0000000 0000000 description satp with aes192cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp18.tst 0000664 0000000 0000000 00000001674 14716276021 0017147 0 ustar 00root root 0000000 0000000 description satp with aes256cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp19.tst 0000664 0000000 0000000 00000001674 14716276021 0017150 0 ustar 00root root 0000000 0000000 description satp with aes128ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp20.tst 0000664 0000000 0000000 00000001674 14716276021 0017140 0 ustar 00root root 0000000 0000000 description satp with aes192ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp21.tst 0000664 0000000 0000000 00000001674 14716276021 0017141 0 ustar 00root root 0000000 0000000 description satp with aes256ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp22.tst 0000664 0000000 0000000 00000001663 14716276021 0017140 0 ustar 00root root 0000000 0000000 description satp with sha224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp23.tst 0000664 0000000 0000000 00000001663 14716276021 0017141 0 ustar 00root root 0000000 0000000 description satp with sha384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp24.tst 0000664 0000000 0000000 00000001666 14716276021 0017145 0 ustar 00root root 0000000 0000000 description satp with sha3224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp25.tst 0000664 0000000 0000000 00000001666 14716276021 0017146 0 ustar 00root root 0000000 0000000 description satp with sha3256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp26.tst 0000664 0000000 0000000 00000001666 14716276021 0017147 0 ustar 00root root 0000000 0000000 description satp with sha3384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp27.tst 0000664 0000000 0000000 00000001666 14716276021 0017150 0 ustar 00root root 0000000 0000000 description satp with sha3512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp28.tst 0000664 0000000 0000000 00000001670 14716276021 0017144 0 ustar 00root root 0000000 0000000 description satp with none encryption addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-satp29.tst 0000664 0000000 0000000 00000001662 14716276021 0017146 0 ustar 00root root 0000000 0000000 description satp with none hash addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode satp tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt01.tst 0000664 0000000 0000000 00000001001 14716276021 0016745 0 ustar 00root root 0000000 0000000 description sgt ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt02.tst 0000664 0000000 0000000 00000001005 14716276021 0016752 0 ustar 00root root 0000000 0000000 description sgt vlan encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1.123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt03.tst 0000664 0000000 0000000 00000001052 14716276021 0016755 0 ustar 00root root 0000000 0000000 description sgt bridge encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt04.tst 0000664 0000000 0000000 00000001052 14716276021 0016756 0 ustar 00root root 0000000 0000000 description sgt bundle encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bundle 1 exit int eth1 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt05.tst 0000664 0000000 0000000 00000000767 14716276021 0016773 0 ustar 00root root 0000000 0000000 description sgt hdlc encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc hdlc ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt06.tst 0000664 0000000 0000000 00000000764 14716276021 0016771 0 ustar 00root root 0000000 0000000 description sgt ppp encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc ppp ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt07.tst 0000664 0000000 0000000 00000001162 14716276021 0016763 0 ustar 00root root 0000000 0000000 description sgt framerelay encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt08.tst 0000664 0000000 0000000 00000001065 14716276021 0016766 0 ustar 00root root 0000000 0000000 description sgt atmdxi encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt09.tst 0000664 0000000 0000000 00000001006 14716276021 0016762 0 ustar 00root root 0000000 0000000 description sgt isdn encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc isdn ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt10.tst 0000664 0000000 0000000 00000000764 14716276021 0016764 0 ustar 00root root 0000000 0000000 description sgt sep encapsulation addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 enc sep ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt11.tst 0000664 0000000 0000000 00000001543 14716276021 0016761 0 ustar 00root root 0000000 0000000 description sgt gre encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun mod gre sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun mod gre sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt12.tst 0000664 0000000 0000000 00000002751 14716276021 0016764 0 ustar 00root root 0000000 0000000 description sgt ethernet chain encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-out p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/crypt-sgt13.tst 0000664 0000000 0000000 00000002765 14716276021 0016772 0 ustar 00root root 0000000 0000000 description sgt vlan chain encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1.123 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1.123 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2.123 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1.123 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-out p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/crypt-sgt14.tst 0000664 0000000 0000000 00000003025 14716276021 0016761 0 ustar 00root root 0000000 0000000 description sgt vlan map out encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1.123 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1.123 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena exit int eth2.123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 sgt ena exit int eth1.123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-out p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/crypt-sgt15.tst 0000664 0000000 0000000 00000003407 14716276021 0016766 0 ustar 00root root 0000000 0000000 description sgt tunnel map out encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int tun1 tun vrf v1 tun sou eth2 tun dest 3.3.3.2 tun mod gre sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 3.3.3.1 tun mod gre sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-out p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/crypt-sgt16.tst 0000664 0000000 0000000 00000003257 14716276021 0016772 0 ustar 00root root 0000000 0000000 description sgt over macsec ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 macsec ips sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 macsec ips sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-out p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 30 2.2.2.2 vrf v1 siz 200 r3 tping 100 30 1.1.1.1 vrf v1 siz 200 r1 tping 100 30 4321::2 vrf v1 siz 200 r3 tping 100 30 1234::1 vrf v1 siz 200 r1 tping 0 30 2.2.2.2 vrf v1 siz 400 r3 tping 0 30 1.1.1.1 vrf v1 siz 400 r1 tping 0 30 4321::2 vrf v1 siz 400 r3 tping 0 30 1234::1 vrf v1 siz 400 r1 tping 100 30 2.2.2.2 vrf v1 siz 600 r3 tping 100 30 1.1.1.1 vrf v1 siz 600 r1 tping 100 30 4321::2 vrf v1 siz 600 r3 tping 100 30 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/crypt-sgt17.tst 0000664 0000000 0000000 00000003321 14716276021 0016763 0 ustar 00root root 0000000 0000000 description sgt over macsec vlan encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 macsec ips exit int eth1.123 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int eth1 macsec ips exit int eth1.123 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-out p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 30 2.2.2.2 vrf v1 siz 200 r3 tping 100 30 1.1.1.1 vrf v1 siz 200 r1 tping 100 30 4321::2 vrf v1 siz 200 r3 tping 100 30 1234::1 vrf v1 siz 200 r1 tping 0 30 2.2.2.2 vrf v1 siz 400 r3 tping 0 30 1.1.1.1 vrf v1 siz 400 r1 tping 0 30 4321::2 vrf v1 siz 400 r3 tping 0 30 1234::1 vrf v1 siz 400 r1 tping 100 30 2.2.2.2 vrf v1 siz 600 r3 tping 100 30 1.1.1.1 vrf v1 siz 600 r1 tping 100 30 4321::2 vrf v1 siz 600 r3 tping 100 30 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/crypt-sgt18.tst 0000664 0000000 0000000 00000001142 14716276021 0016763 0 ustar 00root root 0000000 0000000 description sgt hairpin encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit hairpin 1 ether exit int eth1 bridge-gr 1 exit int hair11 bridge-gr 1 exit int hair12 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt19.tst 0000664 0000000 0000000 00000001010 14716276021 0016756 0 ustar 00root root 0000000 0000000 description no sgt ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena disable-sgt exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt20.tst 0000664 0000000 0000000 00000002410 14716276021 0016753 0 ustar 00root root 0000000 0000000 description sgt encapsulation with ingress allow addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena sgt allow-in 0 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 sgt 0 r3 tping 100 5 1.1.1.1 vrf v1 sgt 0 r1 tping 100 5 4321::2 vrf v1 sgt 0 r3 tping 100 5 1234::1 vrf v1 sgt 0 r1 tping 0 5 2.2.2.2 vrf v1 sgt 1 r3 tping 0 5 1.1.1.1 vrf v1 sgt 1 r1 tping 0 5 4321::2 vrf v1 sgt 1 r3 tping 0 5 1234::1 vrf v1 sgt 1 r1 tping 100 5 2.2.2.2 vrf v1 sgt 2 r3 tping 100 5 1.1.1.1 vrf v1 sgt 2 r1 tping 100 5 4321::2 vrf v1 sgt 2 r3 tping 100 5 1234::1 vrf v1 sgt 2 freeRtr-24.11.16/cfg/crypt-sgt21.tst 0000664 0000000 0000000 00000002410 14716276021 0016754 0 ustar 00root root 0000000 0000000 description sgt encapsulation with egress allow addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena sgt allow-out 0 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 sgt 0 r3 tping 100 5 1.1.1.1 vrf v1 sgt 0 r1 tping 100 5 4321::2 vrf v1 sgt 0 r3 tping 100 5 1234::1 vrf v1 sgt 0 r1 tping 0 5 2.2.2.2 vrf v1 sgt 1 r3 tping 0 5 1.1.1.1 vrf v1 sgt 1 r1 tping 0 5 4321::2 vrf v1 sgt 1 r3 tping 0 5 1234::1 vrf v1 sgt 1 r1 tping 100 5 2.2.2.2 vrf v1 sgt 2 r3 tping 100 5 1.1.1.1 vrf v1 sgt 2 r1 tping 100 5 4321::2 vrf v1 sgt 2 r3 tping 100 5 1234::1 vrf v1 sgt 2 freeRtr-24.11.16/cfg/crypt-sgt22.tst 0000664 0000000 0000000 00000002410 14716276021 0016755 0 ustar 00root root 0000000 0000000 description sgt encapsulation with ingress forbid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena sgt forbid-in 1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 sgt 0 r3 tping 100 5 1.1.1.1 vrf v1 sgt 0 r1 tping 100 5 4321::2 vrf v1 sgt 0 r3 tping 100 5 1234::1 vrf v1 sgt 0 r1 tping 0 5 2.2.2.2 vrf v1 sgt 1 r3 tping 0 5 1.1.1.1 vrf v1 sgt 1 r1 tping 0 5 4321::2 vrf v1 sgt 1 r3 tping 0 5 1234::1 vrf v1 sgt 1 r1 tping 100 5 2.2.2.2 vrf v1 sgt 2 r3 tping 100 5 1.1.1.1 vrf v1 sgt 2 r1 tping 100 5 4321::2 vrf v1 sgt 2 r3 tping 100 5 1234::1 vrf v1 sgt 2 freeRtr-24.11.16/cfg/crypt-sgt23.tst 0000664 0000000 0000000 00000002410 14716276021 0016756 0 ustar 00root root 0000000 0000000 description sgt encapsulation with egress forbid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena sgt forbid-out 1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 sgt 0 r3 tping 100 5 1.1.1.1 vrf v1 sgt 0 r1 tping 100 5 4321::2 vrf v1 sgt 0 r3 tping 100 5 1234::1 vrf v1 sgt 0 r1 tping 0 5 2.2.2.2 vrf v1 sgt 1 r3 tping 0 5 1.1.1.1 vrf v1 sgt 1 r1 tping 0 5 4321::2 vrf v1 sgt 1 r3 tping 0 5 1234::1 vrf v1 sgt 1 r1 tping 100 5 2.2.2.2 vrf v1 sgt 2 r3 tping 100 5 1.1.1.1 vrf v1 sgt 2 r1 tping 100 5 4321::2 vrf v1 sgt 2 r3 tping 100 5 1234::1 vrf v1 sgt 2 freeRtr-24.11.16/cfg/crypt-sgt24.tst 0000664 0000000 0000000 00000001546 14716276021 0016770 0 ustar 00root root 0000000 0000000 description sgt tmux encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun mod tmux sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun mod tmux sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-sgt25.tst 0000664 0000000 0000000 00000001605 14716276021 0016765 0 ustar 00root root 0000000 0000000 description sgt l2tp3 encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 1234 tun mod l2tp3 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.1 tun key 1234 tun mod l2tp3 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r2 tping 100 10 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip01.tst 0000664 0000000 0000000 00000002210 14716276021 0017121 0 ustar 00root root 0000000 0000000 description skip over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-skip.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-skip02.tst 0000664 0000000 0000000 00000001653 14716276021 0017134 0 ustar 00root root 0000000 0000000 description skip over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip03.tst 0000664 0000000 0000000 00000002326 14716276021 0017133 0 ustar 00root root 0000000 0000000 description skip over skip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip04.tst 0000664 0000000 0000000 00000002170 14716276021 0017131 0 ustar 00root root 0000000 0000000 description skip over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip05.tst 0000664 0000000 0000000 00000001652 14716276021 0017136 0 ustar 00root root 0000000 0000000 description skip with des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip06.tst 0000664 0000000 0000000 00000001671 14716276021 0017140 0 ustar 00root root 0000000 0000000 description skip with blowfish addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip07.tst 0000664 0000000 0000000 00000001655 14716276021 0017143 0 ustar 00root root 0000000 0000000 description skip with 3des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip08.tst 0000664 0000000 0000000 00000001674 14716276021 0017145 0 ustar 00root root 0000000 0000000 description skip with aes128cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip09.tst 0000664 0000000 0000000 00000001674 14716276021 0017146 0 ustar 00root root 0000000 0000000 description skip with aes192cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip10.tst 0000664 0000000 0000000 00000001674 14716276021 0017136 0 ustar 00root root 0000000 0000000 description skip with aes256cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip11.tst 0000664 0000000 0000000 00000001652 14716276021 0017133 0 ustar 00root root 0000000 0000000 description skip with md5 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip12.tst 0000664 0000000 0000000 00000001655 14716276021 0017137 0 ustar 00root root 0000000 0000000 description skip with sha1 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip13.tst 0000664 0000000 0000000 00000001663 14716276021 0017137 0 ustar 00root root 0000000 0000000 description skip with sha256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip14.tst 0000664 0000000 0000000 00000001663 14716276021 0017140 0 ustar 00root root 0000000 0000000 description skip with sha512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip15.tst 0000664 0000000 0000000 00000001674 14716276021 0017143 0 ustar 00root root 0000000 0000000 description skip with aes128cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip16.tst 0000664 0000000 0000000 00000001674 14716276021 0017144 0 ustar 00root root 0000000 0000000 description skip with aes192cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip17.tst 0000664 0000000 0000000 00000001674 14716276021 0017145 0 ustar 00root root 0000000 0000000 description skip with aes256cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip18.tst 0000664 0000000 0000000 00000001674 14716276021 0017146 0 ustar 00root root 0000000 0000000 description skip with aes128ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip19.tst 0000664 0000000 0000000 00000001674 14716276021 0017147 0 ustar 00root root 0000000 0000000 description skip with aes192ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip20.tst 0000664 0000000 0000000 00000001674 14716276021 0017137 0 ustar 00root root 0000000 0000000 description skip with aes256ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip21.tst 0000664 0000000 0000000 00000001663 14716276021 0017136 0 ustar 00root root 0000000 0000000 description skip with sha224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip22.tst 0000664 0000000 0000000 00000001663 14716276021 0017137 0 ustar 00root root 0000000 0000000 description skip with sha384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip23.tst 0000664 0000000 0000000 00000001666 14716276021 0017143 0 ustar 00root root 0000000 0000000 description skip with sha3224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip24.tst 0000664 0000000 0000000 00000001666 14716276021 0017144 0 ustar 00root root 0000000 0000000 description skip with sha3256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip25.tst 0000664 0000000 0000000 00000001666 14716276021 0017145 0 ustar 00root root 0000000 0000000 description skip with sha3384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip26.tst 0000664 0000000 0000000 00000001666 14716276021 0017146 0 ustar 00root root 0000000 0000000 description skip with sha3512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip27.tst 0000664 0000000 0000000 00000001670 14716276021 0017142 0 ustar 00root root 0000000 0000000 description skip with none encryption addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-skip28.tst 0000664 0000000 0000000 00000001662 14716276021 0017144 0 ustar 00root root 0000000 0000000 description skip with none hash addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode skip tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-ssh.tst 0000664 0000000 0000000 00000001543 14716276021 0016617 0 ustar 00root root 0000000 0000000 description ssh test addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit aaa userlist usr username c password c username c privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 server telnet ssh security rsakey rsa security dsakey dsa security ecdsakey ecdsa security authentication usr security protocol ssh port 666 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 ssh r2 send c r2 send c r2 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe01.tst 0000664 0000000 0000000 00000002214 14716276021 0017306 0 ustar 00root root 0000000 0000000 description swipe over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-swipe.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-swipe02.tst 0000664 0000000 0000000 00000001656 14716276021 0017320 0 ustar 00root root 0000000 0000000 description swipe over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe03.tst 0000664 0000000 0000000 00000002334 14716276021 0017313 0 ustar 00root root 0000000 0000000 description swipe over swipe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe04.tst 0000664 0000000 0000000 00000002173 14716276021 0017315 0 ustar 00root root 0000000 0000000 description swipe over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe05.tst 0000664 0000000 0000000 00000001655 14716276021 0017322 0 ustar 00root root 0000000 0000000 description swipe with des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe06.tst 0000664 0000000 0000000 00000001674 14716276021 0017324 0 ustar 00root root 0000000 0000000 description swipe with blowfish addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher blowfish hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe07.tst 0000664 0000000 0000000 00000001660 14716276021 0017320 0 ustar 00root root 0000000 0000000 description swipe with 3des addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher 3des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe08.tst 0000664 0000000 0000000 00000001677 14716276021 0017331 0 ustar 00root root 0000000 0000000 description swipe with aes128cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe09.tst 0000664 0000000 0000000 00000001677 14716276021 0017332 0 ustar 00root root 0000000 0000000 description swipe with aes192cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe10.tst 0000664 0000000 0000000 00000001677 14716276021 0017322 0 ustar 00root root 0000000 0000000 description swipe with aes256cbc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cbc hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe11.tst 0000664 0000000 0000000 00000001655 14716276021 0017317 0 ustar 00root root 0000000 0000000 description swipe with md5 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe12.tst 0000664 0000000 0000000 00000001660 14716276021 0017314 0 ustar 00root root 0000000 0000000 description swipe with sha1 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha1 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe13.tst 0000664 0000000 0000000 00000001666 14716276021 0017323 0 ustar 00root root 0000000 0000000 description swipe with sha256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe14.tst 0000664 0000000 0000000 00000001666 14716276021 0017324 0 ustar 00root root 0000000 0000000 description swipe with sha512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe15.tst 0000664 0000000 0000000 00000001677 14716276021 0017327 0 ustar 00root root 0000000 0000000 description swipe with aes128cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe16.tst 0000664 0000000 0000000 00000001677 14716276021 0017330 0 ustar 00root root 0000000 0000000 description swipe with aes192cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe17.tst 0000664 0000000 0000000 00000001677 14716276021 0017331 0 ustar 00root root 0000000 0000000 description swipe with aes256cfb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256cfb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe18.tst 0000664 0000000 0000000 00000001677 14716276021 0017332 0 ustar 00root root 0000000 0000000 description swipe with aes128ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes128ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe19.tst 0000664 0000000 0000000 00000001677 14716276021 0017333 0 ustar 00root root 0000000 0000000 description swipe with aes192ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes192ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe20.tst 0000664 0000000 0000000 00000001677 14716276021 0017323 0 ustar 00root root 0000000 0000000 description swipe with aes256ecb addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher aes256ecb hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe21.tst 0000664 0000000 0000000 00000001666 14716276021 0017322 0 ustar 00root root 0000000 0000000 description swipe with sha224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe22.tst 0000664 0000000 0000000 00000001666 14716276021 0017323 0 ustar 00root root 0000000 0000000 description swipe with sha384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe23.tst 0000664 0000000 0000000 00000001671 14716276021 0017320 0 ustar 00root root 0000000 0000000 description swipe with sha3224 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3224 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe24.tst 0000664 0000000 0000000 00000001671 14716276021 0017321 0 ustar 00root root 0000000 0000000 description swipe with sha3256 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3256 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe25.tst 0000664 0000000 0000000 00000001671 14716276021 0017322 0 ustar 00root root 0000000 0000000 description swipe with sha3384 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3384 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe26.tst 0000664 0000000 0000000 00000001671 14716276021 0017323 0 ustar 00root root 0000000 0000000 description swipe with sha3512 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash sha3512 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe27.tst 0000664 0000000 0000000 00000001673 14716276021 0017326 0 ustar 00root root 0000000 0000000 description swipe with none encryption addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher none hash md5 key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-swipe28.tst 0000664 0000000 0000000 00000001665 14716276021 0017330 0 ustar 00root root 0000000 0000000 description swipe with none hash addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips cipher des hash none key tester exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode swipe tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-tls.tst 0000664 0000000 0000000 00000001657 14716276021 0016632 0 ustar 00root root 0000000 0000000 description tls test addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa server telnet tel security rsakey rsa security dsakey dsa security ecdsakey ecdsa security rsacert rsa security dsacert dsa security ecdsacert ecdsa security protocol tls vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 tls r2 tping 100 5 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/crypt-wireguard01.tst 0000664 0000000 0000000 00000002424 14716276021 0020153 0 ustar 00root root 0000000 0000000 description wireguard over ipv4 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode wireguard tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode wireguard tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 r1 output show inter tun1 full output ../binTmp/crypt-wireguard.html here is the interface:
show:0! freeRtr-24.11.16/cfg/crypt-wireguard02.tst 0000664 0000000 0000000 00000002062 14716276021 0020152 0 ustar 00root root 0000000 0000000 description wireguard over ipv6 addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode wireguard tunnel source ser1 tunnel destination 1234::2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode wireguard tunnel source ser1 tunnel destination 1234::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-wireguard03.tst 0000664 0000000 0000000 00000003330 14716276021 0020152 0 ustar 00root root 0000000 0000000 description wireguard over wireguard addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit crypto ipsec ips1 key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit crypto ipsec ips2 key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit int tun1 tunnel vrf v1 tunnel prot ips2 tunnel mode wireguard tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips1 tunnel mode wireguard tunnel source tun1 tunnel destination 2.2.2.2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 exit crypto ipsec ips1 key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit crypto ipsec ips2 key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit int tun1 tunnel vrf v1 tunnel prot ips2 tunnel mode wireguard tunnel source ethernet1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun2 tunnel vrf v1 tunnel prot ips1 tunnel mode wireguard tunnel source tun1 tunnel destination 2.2.2.1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 1234::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/crypt-wireguard04.tst 0000664 0000000 0000000 00000002377 14716276021 0020165 0 ustar 00root root 0000000 0000000 description wireguard over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.101 255.255.255.255 exit ipv4 route v1 1.1.1.102 255.255.255.255 1.1.1.2 crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode wireguard tunnel source lo0 tunnel destination 1.1.1.102 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 exit int lo0 vrf for v1 ipv4 addr 1.1.1.102 255.255.255.255 exit ipv4 route v1 1.1.1.101 255.255.255.255 1.1.1.1 crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode wireguard tunnel source lo0 tunnel destination 1.1.1.101 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/crypt-wireguard05.tst 0000664 0000000 0000000 00000002152 14716276021 0020155 0 ustar 00root root 0000000 0000000 description wireguard over asymmetric ports addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel key 1234 4321 tunnel mode wireguard tunnel source ser1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit int tun1 tunnel vrf v1 tunnel prot ips tunnel key 4321 1234 tunnel mode wireguard tunnel source ser1 tunnel destination 1.1.1.1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 2.2.2.1 vrf v1 r1 tping 100 5 4321::2 vrf v1 r2 tping 100 5 4321::1 vrf v1 freeRtr-24.11.16/cfg/demo01.tst 0000664 0000000 0000000 00000001500 14716276021 0015741 0 ustar 00root root 0000000 0000000 description empty demo network addrouter r1 int eth1 eth 0000.1111.0001 $1a$ $1b$ int eth2 eth 0000.1111.0002 $2a$ $2b$ ! int eth1 desc r2 e1 lldp ena exit int eth2 desc r3 e2 lldp ena exit ! addrouter r2 int eth1 eth 0000.2222.0001 $1b$ $1a$ int eth2 eth 0000.2222.0002 $3a$ $3b$ ! int eth1 desc r1 e1 lldp ena exit int eth2 desc r4 e2 lldp ena exit ! addrouter r3 int eth1 eth 0000.3333.0001 $4a$ $4b$ int eth2 eth 0000.3333.0002 $2b$ $2a$ ! int eth1 desc r4 e1 lldp ena exit int eth2 desc r1 e2 lldp ena exit ! addrouter r4 int eth1 eth 0000.4444.0001 $4b$ $4a$ int eth2 eth 0000.4444.0002 $3b$ $3a$ ! int eth1 desc r3 e1 lldp ena exit int eth2 desc r2 e2 lldp ena exit ! exit r1----e1----r2 | | | | e2 e2 | | | | r3----e1----r4 freeRtr-24.11.16/cfg/demo02.tst 0000664 0000000 0000000 00000004641 14716276021 0015753 0 ustar 00root root 0000000 0000000 description addressed demo network addrouter r1 int eth1 eth 0000.1111.0001 $1a$ $1b$ int eth2 eth 0000.1111.0002 $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit server telnet tel security protocol tel vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 desc r2 e1 lldp ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 desc r3 e2 lldp ena vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit client proxy p1 ! addrouter r2 int eth1 eth 0000.2222.0001 $1b$ $1a$ int eth2 eth 0000.2222.0002 $3a$ $3b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit server telnet tel security protocol tel vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 desc r1 e1 lldp ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 desc r4 e2 lldp ena vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit client proxy p1 ! addrouter r3 int eth1 eth 0000.3333.0001 $4a$ $4b$ int eth2 eth 0000.3333.0002 $2b$ $2a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit server telnet tel security protocol tel vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 desc r4 e1 lldp ena vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit int eth2 desc r1 e2 lldp ena vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit client proxy p1 ! addrouter r4 int eth1 eth 0000.4444.0001 $4b$ $4a$ int eth2 eth 0000.4444.0002 $3b$ $3a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit server telnet tel security protocol tel vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 desc r3 e1 lldp ena vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit int eth2 desc r2 e2 lldp ena vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit client proxy p1 ! exit r1----e1----r2 | | | | e2 e2 | | | | r3----e1----r4 freeRtr-24.11.16/cfg/intop1-bgp01.tst 0000664 0000000 0000000 00000002203 14716276021 0016776 0 ustar 00root root 0000000 0000000 description interop1: ebgp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit router bgp 2 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 redistribute connected address-family ipv6 unicast neighbor 1234::1 remote-as 1 redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp02.tst 0000664 0000000 0000000 00000002147 14716276021 0017006 0 ustar 00root root 0000000 0000000 description interop1: ibgp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 redistribute connected address-family ipv6 unicast neighbor 1234::1 remote-as 1 redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp03.tst 0000664 0000000 0000000 00000003356 14716276021 0017012 0 ustar 00root root 0000000 0000000 description interop1: bgp locpref addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match locpref 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set local-preference 1234 exit route-map rm1 permit 20 set local-preference 4321 exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp04.tst 0000664 0000000 0000000 00000003332 14716276021 0017005 0 ustar 00root root 0000000 0000000 description interop1: bgp origin addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match origin 2 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set origin incomplete exit route-map rm1 permit 20 set origin igp exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp05.tst 0000664 0000000 0000000 00000003330 14716276021 0017004 0 ustar 00root root 0000000 0000000 description interop1: bgp metric addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match metric 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set metric 1234 exit route-map rm1 permit 20 set metric 4321 exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp06.tst 0000664 0000000 0000000 00000003573 14716276021 0017016 0 ustar 00root root 0000000 0000000 description interop1: bgp community addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match stdcomm 1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 neigh 1234::2 send-comm both red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set community 1234:4321 exit route-map rm1 permit 20 set community 1234:1234 exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 send-community both redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 send-community both redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp07.tst 0000664 0000000 0000000 00000004054 14716276021 0017012 0 ustar 00root root 0000000 0000000 description interop1: bgp aspath addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match aspath .*1234.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 route-map-in rm1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit ip prefix-list pl4 seq 5 permit 2.2.2.3/32 ipv6 prefix-list pl6 seq 5 permit 4321::3/128 route-map rm4 permit 10 match ip address prefix-list pl4 set as-path prepend 1234 exit route-map rm4 permit 20 set as-path prepend 4321 exit route-map rm6 permit 10 match ipv6 address prefix-list pl6 set as-path prepend 1234 exit route-map rm6 permit 20 set as-path prepend 4321 exit router bgp 2 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 route-map rm4 out redistribute connected address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 route-map rm6 out redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp08.tst 0000664 0000000 0000000 00000006371 14716276021 0017017 0 ustar 00root root 0000000 0000000 description interop1: bgp with labels addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ! ipv6 access-group-out test6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234:1::2/64 mpls bgp forwarding no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.0 ipv6 address 1234:2::2/64 mpls bgp forwarding no shutdown exit router bgp 2 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 send-label explicit-null neighbor 1.1.2.1 remote-as 3 neighbor 1.1.2.1 send-label explicit-null redistribute connected address-family ipv6 unicast neighbor 1234:1::1 remote-as 1 neighbor 1234:1::1 send-label neighbor 1234:2::1 remote-as 3 neighbor 1234:2::1 send-label redistribute connected exit ! addrouter r3 int eth1 eth 0000.0000.1131 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ! ipv6 access-group-out test6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.2.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 0 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 !r1 tping 100 120 4321::2 vrf v1 sou lo0 r3 tping 100 120 2.2.2.2 vrf v1 sou lo0 !r3 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 100 120 2.2.2.3 vrf v1 sou lo0 !r1 tping 100 120 4321::3 vrf v1 sou lo0 r3 tping 100 120 2.2.2.1 vrf v1 sou lo0 !r3 tping 100 120 4321::1 vrf v1 sou lo0 r1 tping 100 120 3.3.3.2 vrf v1 r3 tping 100 120 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp09.tst 0000664 0000000 0000000 00000002516 14716276021 0017015 0 ustar 00root root 0000000 0000000 description interop1: bgp addpath addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 additional-path-tx uni neigh 1.1.1.2 additional-path-rx uni red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 additional-path-tx uni neigh 1234::2 additional-path-rx uni red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit router bgp 1 address-family ipv4 unicast bgp additional-paths send receive neighbor 1.1.1.1 remote-as 1 redistribute connected address-family ipv6 unicast bgp additional-paths send receive neighbor 1234::1 remote-as 1 redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp10.tst 0000664 0000000 0000000 00000003010 14716276021 0016773 0 ustar 00root root 0000000 0000000 description interop1: bgp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 redistribute connected address-family ipv6 unicast neighbor 1234::1 remote-as 1 redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 send conf t r1 send router bgp4 1 r1 send no red conn r1 send exit r1 send router bgp6 1 r1 send no red conn r1 send end r1 tping 0 120 2.2.2.2 vrf v1 sou lo0 r1 tping 0 120 4321::2 vrf v1 sou lo0 r1 send conf t r1 send router bgp4 1 r1 send red conn r1 send exit r1 send router bgp6 1 r1 send red conn r1 send end r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp11.tst 0000664 0000000 0000000 00000005633 14716276021 0017011 0 ustar 00root root 0000000 0000000 description interop1: bgp vpnv4 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null vrf definition v2 rd 1:2 route-target export 1:2 route-target import 1:2 address-family ipv4 address-family ipv6 exit vrf definition v3 rd 1:3 route-target export 1:3 route-target import 1:3 address-family ipv4 address-family ipv6 exit interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback2 vrf forwarding v2 ip address 9.9.2.2 255.255.255.255 ipv6 address 9992::2/128 exit interface loopback3 vrf forwarding v3 ip address 9.9.3.2 255.255.255.255 ipv6 address 9993::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 neighbor 4321::1 remote-as 1 neighbor 4321::1 update-source loopback0 neighbor 4321::1 shutdown address-family vpnv4 unicast neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both address-family vpnv6 unicast neighbor 4321::1 activate neighbor 4321::1 send-community both address-family ipv4 vrf v2 redistribute connected address-family ipv6 vrf v2 redistribute connected address-family ipv4 vrf v3 redistribute connected address-family ipv6 vrf v3 redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 100 120 9.9.2.2 vrf v2 !r1 tping 100 120 9992::2 vrf v2 r1 tping 100 120 9.9.3.2 vrf v3 !r1 tping 100 120 9993::2 vrf v3 freeRtr-24.11.16/cfg/intop1-bgp12.tst 0000664 0000000 0000000 00000002371 14716276021 0017006 0 ustar 00root root 0000000 0000000 description interop1: bgp authentication addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 password tester red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 password tester red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 password tester redistribute connected address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 password tester redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp13.tst 0000664 0000000 0000000 00000005645 14716276021 0017016 0 ustar 00root root 0000000 0000000 description interop1: bgp vpnv6 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null vrf definition v2 rd 1:2 route-target export 1:2 route-target import 1:2 address-family ipv4 address-family ipv6 exit vrf definition v3 rd 1:3 route-target export 1:3 route-target import 1:3 address-family ipv4 address-family ipv6 exit interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback2 vrf forwarding v2 ip address 9.9.2.2 255.255.255.255 ipv6 address 9992::2/128 exit interface loopback3 vrf forwarding v3 ip address 9.9.3.2 255.255.255.255 ipv6 address 9993::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 neighbor 4321::1 remote-as 1 neighbor 4321::1 update-source loopback0 neighbor 4321::1 shutdown address-family vpnv4 unicast neighbor 4321::1 activate neighbor 4321::1 send-community both address-family vpnv6 unicast neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both address-family ipv4 vrf v2 redistribute connected address-family ipv6 vrf v2 redistribute connected address-family ipv4 vrf v3 redistribute connected address-family ipv6 vrf v3 redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 !r1 tping 100 120 9.9.2.2 vrf v2 r1 tping 100 120 9992::2 vrf v2 !r1 tping 100 120 9.9.3.2 vrf v3 r1 tping 100 120 9993::2 vrf v3 freeRtr-24.11.16/cfg/intop1-bgp14.tst 0000664 0000000 0000000 00000004355 14716276021 0017014 0 ustar 00root root 0000000 0000000 description interop1: vpls/ldp over bgp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 neighbor 4321::1 remote-as 1 neighbor 4321::1 update-source loopback0 neighbor 4321::1 shutdown address-family l2vpn vpls neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both neighbor 2.2.2.1 prefix-length-size 2 neighbor 4321::1 activate neighbor 4321::1 send-community both neighbor 4321::1 prefix-length-size 2 exit l2vpn vfi context a vpn id 1 autodiscovery bgp signaling ldp vpls-id 1:1 rd 1:1 route-target export 1:1 route-target import 1:1 exit bridge-domain 1 member vfi a exit interface bdi1 ip address 3.3.3.2 255.255.255.252 ipv6 address 4444::2/64 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 100 120 3.3.3.2 vrf v1 r1 tping 100 120 4444::2 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp15.tst 0000664 0000000 0000000 00000004550 14716276021 0017012 0 ustar 00root root 0000000 0000000 description interop1: vpls/bgp over bgp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 neighbor 4321::1 remote-as 1 neighbor 4321::1 update-source loopback0 neighbor 4321::1 shutdown address-family l2vpn vpls neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both neighbor 2.2.2.1 prefix-length-size 2 neighbor 2.2.2.1 suppress-signaling-protocol ldp neighbor 4321::1 activate neighbor 4321::1 send-community both neighbor 4321::1 prefix-length-size 2 neighbor 4321::1 suppress-signaling-protocol ldp exit l2vpn vfi context a vpn id 1 autodiscovery bgp signaling bgp ve id 2 rd 1:1 route-target export 1:1 route-target import 1:1 exit bridge-domain 1 member vfi a exit interface bdi1 ip address 3.3.3.2 255.255.255.252 ipv6 address 4444::2/64 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 100 120 3.3.3.2 vrf v1 r1 tping 100 120 4444::2 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp16.tst 0000664 0000000 0000000 00000003637 14716276021 0017020 0 ustar 00root root 0000000 0000000 description interop1: bgp extended community addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match extcomm 17153:33036:1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 neigh 1234::2 send-comm both red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set extcommunity cost igp 12 1234 exit route-map rm1 permit 20 set extcommunity cost igp 23 4321 exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 send-community both redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 send-community both redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp17.tst 0000664 0000000 0000000 00000005113 14716276021 0017010 0 ustar 00root root 0000000 0000000 description interop1: evpn/cmac over bgp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 10 bridge 1 afi-evpn 10 encap cmac afi-evpn 10 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit interface gigabit2 no shutdown service instance 10 ethernet encapsulation dot1q 10 rewrite ingress tag pop 1 symmetric exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 neighbor 4321::1 remote-as 1 neighbor 4321::1 update-source loopback0 neighbor 4321::1 shutdown address-family l2vpn evpn neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both neighbor 4321::1 activate neighbor 4321::1 send-community both exit l2vpn evpn replication-type ingress router-id Loopback0 exit l2vpn evpn instance 10 vlan-aware rd 1:1 route-target export 1:1 route-target import 1:1 exit bridge-domain 10 member gigabit2 service-instance 10 member evpn-instance 10 ethernet-tag 10 exit ! addrouter r3 int eth1 eth 0000.0000.1111 $per2$ ! vrf def v1 rd 1:1 exit int eth1.10 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r3 tping 100 120 3.3.3.1 vrf v1 r3 tping 100 120 4444::1 vrf v1 r1 tping 100 120 3.3.3.2 vrf v1 r1 tping 100 120 4444::2 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp18.tst 0000664 0000000 0000000 00000002232 14716276021 0017010 0 ustar 00root root 0000000 0000000 description interop1: bgp 6pe addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 mpls enable mpls ldp4 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other ena afi-other red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 address-family ipv6 unicast neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both neighbor 2.2.2.1 send-label red conn exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 4321::2 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp19.tst 0000664 0000000 0000000 00000003400 14716276021 0017007 0 ustar 00root root 0000000 0000000 description interop1: bgp aigp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match aigp 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set aigp 1234 exit route-map rm1 permit 20 set aigp 4321 exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 aigp redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 aigp redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp20.tst 0000664 0000000 0000000 00000006471 14716276021 0017012 0 ustar 00root root 0000000 0000000 description interop1: bgp with php labels addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ! ipv6 access-group-out test6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234:1::2/64 mpls bgp forwarding no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.0 ipv6 address 1234:2::2/64 mpls bgp forwarding no shutdown exit router bgp 2 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 send-label neighbor 1.1.2.1 remote-as 3 neighbor 1.1.2.1 send-label redistribute connected address-family ipv6 unicast neighbor 1234:1::1 remote-as 1 neighbor 1234:1::1 send-label neighbor 1234:2::1 remote-as 3 neighbor 1234:2::1 send-label redistribute connected exit ! addrouter r3 int eth1 eth 0000.0000.1131 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ! ipv6 access-group-out test6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.2.2 remote-as 2 neigh 1.1.2.2 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 0 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r1 tping 0 120 2.2.2.2 vrf v1 sou lo0 !r1 tping 0 120 4321::2 vrf v1 sou lo0 r3 tping 0 120 2.2.2.2 vrf v1 sou lo0 !r3 tping 0 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 !r1 tping 0 120 4321::3 vrf v1 sou lo0 r3 tping 0 120 2.2.2.1 vrf v1 sou lo0 !r3 tping 0 120 4321::1 vrf v1 sou lo0 r1 tping 100 120 3.3.3.2 vrf v1 r3 tping 100 120 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp21.tst 0000664 0000000 0000000 00000003620 14716276021 0017004 0 ustar 00root root 0000000 0000000 description interop1: bgp large community addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match lrgcomm 12:34:1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-map-in rm1 neigh 1234::2 send-comm both red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface loopback1 ip addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3/128 exit interface loopback2 ip addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit route-map rm1 permit 10 match interface Loopback1 set large-community 12:34:1234 exit route-map rm1 permit 20 set large-community 12:34:4321 exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 send-community both redistribute connected route-map rm1 address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 send-community both redistribute connected route-map rm1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 0 120 2.2.2.3 vrf v1 sou lo0 r1 tping 0 120 4321::3 vrf v1 sou lo0 r1 tping 100 120 2.2.2.4 vrf v1 sou lo0 r1 tping 100 120 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-bgp22.tst 0000664 0000000 0000000 00000004406 14716276021 0017010 0 ustar 00root root 0000000 0000000 description interop1: vpls/ldp cw over bgp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 router bgp 1 neighbor 2.2.2.1 remote-as 1 neighbor 2.2.2.1 update-source loopback0 neighbor 4321::1 remote-as 1 neighbor 4321::1 update-source loopback0 neighbor 4321::1 shutdown address-family l2vpn vpls neighbor 2.2.2.1 activate neighbor 2.2.2.1 send-community both neighbor 2.2.2.1 prefix-length-size 2 neighbor 4321::1 activate neighbor 4321::1 send-community both neighbor 4321::1 prefix-length-size 2 exit l2vpn vfi context a vpn id 1 autodiscovery bgp signaling ldp vpls-id 1:1 rd 1:1 route-target export 1:1 route-target import 1:1 exit bridge-domain 1 member vfi a exit interface bdi1 ip address 3.3.3.2 255.255.255.252 ipv6 address 4444::2/64 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 r1 tping 100 120 3.3.3.2 vrf v1 r1 tping 100 120 4444::2 vrf v1 freeRtr-24.11.16/cfg/intop1-bgp23.tst 0000664 0000000 0000000 00000003104 14716276021 0017003 0 ustar 00root root 0000000 0000000 description interop1: bgp ao authentication addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 connection pass neigh 1.1.1.2 authen-type sha1 1 neigh 1.1.1.2 password tester red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 connection pass neigh 1234::2 authen-type sha1 1 neigh 1234::2 password tester red conn exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit key chain kc tcp key 1 send-id 1 recv-id 1 include-tcp-options cryptographic-algorithm hmac-sha-1 key-string tester send-lifetime 00:00:00 Jul 9 2022 infinite exit router bgp 1 address-family ipv4 unicast neighbor 1.1.1.1 remote-as 1 neighbor 1.1.1.1 ao kc include-tcp-options redistribute connected address-family ipv6 unicast neighbor 1234::1 remote-as 1 neighbor 1234::1 ao kc include-tcp-options redistribute connected exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 sou lo0 r1 tping 100 120 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-dhcp01.tst 0000664 0000000 0000000 00000001567 14716276021 0017160 0 ustar 00root root 0000000 0000000 description interop1: dhcp server addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server dhcp4 dh pool 1.1.1.11 1.1.1.99 gateway 1.1.1.1 netmask 255.255.255.0 interface ethernet1 static 0000.0000.1100 1.1.1.2 vrf v1 exit server dhcp6 dh netmask ffff:ffff:ffff:ffff:: gateway 1234::1 static 0000.0000.1100 1234::2 interface ethernet1 vrf v1 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loop0 ipv6 address fe80::1 link-local ipv6 enable ipv6 address prefix ::/128 exit interface gigabit1 ip address dhcp ipv6 address fe80::1 link-local ipv6 enable ipv6 dhcp client pd hint 1234::2/64 ipv6 dhcp client pd prefix no shutdown exit ! r1 tping 100 30 1.1.1.2 vrf v1 !r1 tping 100 30 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-dhcp02.tst 0000664 0000000 0000000 00000001641 14716276021 0017152 0 ustar 00root root 0000000 0000000 description interop1: dhcp client addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit prefix-list p4 permit 0.0.0.0/0 exit prefix-list p6 permit ::/0 exit int eth1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.128 ipv4 dhcp-client enable ipv4 dhcp-client early ipv4 gateway-prefix p4 ipv6 addr 3333::3 ffff:: ipv6 dhcp-client enable ipv6 dhcp-client prefix ipv6 gateway-prefix p6 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing ipv6 local pool dhcpv6 1234:1234:1234::/40 48 ipv6 dhcp pool dhcpv6 prefix-delegation pool dhcpv6 lifetime 1800 1800 exit interface loop0 ipv6 address 4321::1/128 exit interface gigabit1 ip address 1.1.1.1 255.255.255.0 ipv6 enable ipv6 dhcp server dhcpv6 no shutdown exit ip dhcp pool p1 network 1.1.1.0 255.255.255.0 default-router 1.1.1.1 exit ! r1 tping 100 30 1.1.1.1 vrf v1 r1 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/intop1-dns.tst 0000664 0000000 0000000 00000003105 14716276021 0016653 0 ustar 00root root 0000000 0000000 description interop1: dns addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr ip4.test.corp ip4a 2.2.2.2 rr ip6.test.corp ip6a 1234::1 vrf v1 exit int lo1 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 exit server tel tel vrf v1 security protocol tel exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit interface gigabit2 ip address 2.2.2.1 255.255.255.0 ipv6 address 4321::1/64 no shutdown exit ip name-server 1.1.1.1 ip domain lookup line vty 0 4 transport input all transport output all no motd-banner no exec-banner no vacant-message no login exit ! addrouter r3 int eth1 eth 0000.0000.1111 $per2$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit int lo1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 exit server tel tel vrf v1 security protocol tel exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r3 tping 100 10 4321::1 vrf v1 r1 send telnet 1.1.1.2 vrf v1 telnet sleep 3000 r1 char 13 r1 read vxe# r1 send telnet ip4.test.corp /ipv4 sleep 3000 r1 tping 100 10 3.3.3.3 vrf v1 r3 send telnet 2.2.2.1 vrf v1 telnet sleep 3000 r3 char 13 r3 read vxe# r3 send telnet ip6.test.corp /ipv6 sleep 3000 r3 tping 100 10 4.4.4.4 vrf v1 freeRtr-24.11.16/cfg/intop1-eigrp01.tst 0000664 0000000 0000000 00000001711 14716276021 0017337 0 ustar 00root root 0000000 0000000 description interop1: eigrp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr fe80::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router eigrp 1 network 1.0.0.0 redistribute connected exit ipv6 router eigrp 1 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 enable ipv6 eigrp 1 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 !r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-eigrp02.tst 0000664 0000000 0000000 00000002561 14716276021 0017344 0 ustar 00root root 0000000 0000000 description interop1: eigrp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr fe80::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router eigrp 1 network 1.0.0.0 redistribute connected exit ipv6 router eigrp 1 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 enable ipv6 eigrp 1 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 !r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 send conf t r1 send router eigrp4 1 r1 send no red conn r1 send exit r1 send router eigrp6 1 r1 send no red conn r1 send end r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 !r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 send conf t r1 send router eigrp4 1 r1 send red conn r1 send exit r1 send router eigrp6 1 r1 send red conn r1 send end r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 !r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-eth01.tst 0000664 0000000 0000000 00000000710 14716276021 0017007 0 ustar 00root root 0000000 0000000 description interop1: ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth02.tst 0000664 0000000 0000000 00000000777 14716276021 0017025 0 ustar 00root root 0000000 0000000 description interop1: dot1q encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1.123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 no shutdown exit interface gigabit1.123 encapsulation dot1q 123 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth03.tst 0000664 0000000 0000000 00000001315 14716276021 0017013 0 ustar 00root root 0000000 0000000 description interop1: spantree nonroot exit addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.1112 $per2$ ! vrf def v1 rd 1:1 exit bridge 1 stp-priority 40960 stp-mode ieee mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing bridge irb bridge 1 protocol ieee bridge 1 route ip interface gigabit1 bridge-group 1 no shutdown exit interface gigabit2 bridge-group 1 no shutdown exit interface bvi1 ip address 1.1.1.2 255.255.255.0 no shutdown exit ! r1 tping 100 60 1.1.1.2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth04.tst 0000664 0000000 0000000 00000001311 14716276021 0017010 0 ustar 00root root 0000000 0000000 description interop1: spantree root exit addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.1112 $per2$ ! vrf def v1 rd 1:1 exit bridge 1 stp-priority 4096 stp-mode ieee mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing bridge irb bridge 1 protocol ieee bridge 1 route ip interface gigabit1 bridge-group 1 no shutdown exit interface gigabit2 bridge-group 1 no shutdown exit interface bvi1 ip address 1.1.1.2 255.255.255.0 no shutdown exit ! r1 tping 100 60 1.1.1.2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth05.tst 0000664 0000000 0000000 00000000772 14716276021 0017023 0 ustar 00root root 0000000 0000000 description interop1: point2point ethernet encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.3 255.255.255.254 ipv6 address 1234::3/127 no shutdown exit ! r1 tping 100 10 1.1.1.3 vrf v1 r1 tping 100 10 1234::3 vrf v1 freeRtr-24.11.16/cfg/intop1-eth06.tst 0000664 0000000 0000000 00000001055 14716276021 0017017 0 ustar 00root root 0000000 0000000 description interop1: lacp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 lacp 0000.0000.1111 123 12345 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface port-channel1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit interface gigabit1 lacp rate fast channel-group 1 mode active no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth07.tst 0000664 0000000 0000000 00000001245 14716276021 0017021 0 ustar 00root root 0000000 0000000 description interop1: fragmentation and reassembly addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 mtu 1500 enforce-mtu both vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 reassembly 16 ipv4 fragmentation 1400 ipv6 reassembly 16 ipv6 fragmentation 1400 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit ! r1 tping 100 15 1.1.1.2 vrf v1 siz 222 r1 tping 100 15 1234::2 vrf v1 siz 222 r1 tping 100 15 1.1.1.2 vrf v1 siz 2222 r1 tping 100 15 1234::2 vrf v1 siz 2222 freeRtr-24.11.16/cfg/intop1-eth08.tst 0000664 0000000 0000000 00000000751 14716276021 0017023 0 ustar 00root root 0000000 0000000 description interop1: sgt encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 cts manual propagate sgt no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 !r1 tping 100 10 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth09.tst 0000664 0000000 0000000 00000000737 14716276021 0017030 0 ustar 00root root 0000000 0000000 description interop1: verify source addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 verify rx ipv6 verify rx exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-eth10.tst 0000664 0000000 0000000 00000001054 14716276021 0017011 0 ustar 00root root 0000000 0000000 description interop1: qinq encapsulation addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1.123 exit int eth1.123.1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 no shutdown exit interface gigabit1.1231234 encapsulation dot1q 123 second-dot1q 1234 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike101.tst 0000664 0000000 0000000 00000002443 14716276021 0017065 0 ustar 00root root 0000000 0000000 description interop1: ike1 with ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike102.tst 0000664 0000000 0000000 00000002435 14716276021 0017067 0 ustar 00root root 0000000 0000000 description interop1: ike1 with ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ipv6 address 4321::2/64 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 v6 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 4321::2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike103.tst 0000664 0000000 0000000 00000002446 14716276021 0017072 0 ustar 00root root 0000000 0000000 description interop1: ike1 with 3des addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher 3des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption 3des hash md5 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-3des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike104.tst 0000664 0000000 0000000 00000002466 14716276021 0017075 0 ustar 00root root 0000000 0000000 description interop1: ike1 with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes128cbc hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption aes 128 hash md5 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-aes 128 esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike105.tst 0000664 0000000 0000000 00000002466 14716276021 0017076 0 ustar 00root root 0000000 0000000 description interop1: ike1 with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes192cbc hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption aes 192 hash md5 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-aes 192 esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike106.tst 0000664 0000000 0000000 00000002466 14716276021 0017077 0 ustar 00root root 0000000 0000000 description interop1: ike1 with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes256cbc hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption aes 256 hash md5 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-aes 256 esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike107.tst 0000664 0000000 0000000 00000002444 14716276021 0017074 0 ustar 00root root 0000000 0000000 description interop1: ike1 with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash sha1 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash sha authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-sha-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike108.tst 0000664 0000000 0000000 00000002456 14716276021 0017100 0 ustar 00root root 0000000 0000000 description interop1: ike1 with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash sha256 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash sha256 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-sha256-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike109.tst 0000664 0000000 0000000 00000002456 14716276021 0017101 0 ustar 00root root 0000000 0000000 description interop1: ike1 with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash sha512 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash sha512 authentication pre-share group 1 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-sha512-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike110.tst 0000664 0000000 0000000 00000002445 14716276021 0017067 0 ustar 00root root 0000000 0000000 description interop1: ike1 with group2 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 2 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike111.tst 0000664 0000000 0000000 00000002445 14716276021 0017070 0 ustar 00root root 0000000 0000000 description interop1: ike1 with group5 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 05 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 5 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike112.tst 0000664 0000000 0000000 00000002447 14716276021 0017073 0 ustar 00root root 0000000 0000000 description interop1: ike1 with group14 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 14 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 14 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike113.tst 0000664 0000000 0000000 00000002447 14716276021 0017074 0 ustar 00root root 0000000 0000000 description interop1: ike1 with group15 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 15 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 15 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike114.tst 0000664 0000000 0000000 00000002447 14716276021 0017075 0 ustar 00root root 0000000 0000000 description interop1: ike1 with group16 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 16 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 16 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike115.tst 0000664 0000000 0000000 00000002447 14716276021 0017076 0 ustar 00root root 0000000 0000000 description interop1: ike1 with group24 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 24 cipher des hash md5 seconds 3600 bytes 67108864 key tester role init isakmp 1 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto isakmp policy 10 encryption des hash md5 authentication pre-share group 24 lifetime 3600 exit crypto isakmp key tester address 1.1.1.1 crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike201.tst 0000664 0000000 0000000 00000003057 14716276021 0017070 0 ustar 00root root 0000000 0000000 description interop1: ike2 with ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike202.tst 0000664 0000000 0000000 00000003051 14716276021 0017063 0 ustar 00root root 0000000 0000000 description interop1: ike2 with ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv6 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ipv6 address 4321::2/64 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 v6 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 4321::2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike203.tst 0000664 0000000 0000000 00000003062 14716276021 0017066 0 ustar 00root root 0000000 0000000 description interop1: ike2 with 3des addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher 3des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption 3des integrity md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-3des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike204.tst 0000664 0000000 0000000 00000003106 14716276021 0017066 0 ustar 00root root 0000000 0000000 description interop1: ike2 with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes128cbc hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption aes-cbc-128 integrity md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-aes 128 esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike205.tst 0000664 0000000 0000000 00000003106 14716276021 0017067 0 ustar 00root root 0000000 0000000 description interop1: ike2 with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes192cbc hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption aes-cbc-192 integrity md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-aes 192 esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike206.tst 0000664 0000000 0000000 00000003106 14716276021 0017070 0 ustar 00root root 0000000 0000000 description interop1: ike2 with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes256cbc hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption aes-cbc-256 integrity md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-aes 256 esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike207.tst 0000664 0000000 0000000 00000003062 14716276021 0017072 0 ustar 00root root 0000000 0000000 description interop1: ike2 with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash sha1 prf sha1 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity sha1 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-sha-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike208.tst 0000664 0000000 0000000 00000003075 14716276021 0017077 0 ustar 00root root 0000000 0000000 description interop1: ike2 with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash sha256 prf sha256 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity sha256 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-sha256-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike209.tst 0000664 0000000 0000000 00000003075 14716276021 0017100 0 ustar 00root root 0000000 0000000 description interop1: ike2 with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher des hash sha512 prf sha512 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity sha512 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-sha512-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike210.tst 0000664 0000000 0000000 00000003061 14716276021 0017063 0 ustar 00root root 0000000 0000000 description interop1: ike2 with group2 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 2 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike211.tst 0000664 0000000 0000000 00000003061 14716276021 0017064 0 ustar 00root root 0000000 0000000 description interop1: ike2 with group5 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 05 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 5 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike212.tst 0000664 0000000 0000000 00000003063 14716276021 0017067 0 ustar 00root root 0000000 0000000 description interop1: ike2 with group14 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 14 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 14 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike213.tst 0000664 0000000 0000000 00000003063 14716276021 0017070 0 ustar 00root root 0000000 0000000 description interop1: ike2 with group15 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 15 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 15 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike214.tst 0000664 0000000 0000000 00000003063 14716276021 0017071 0 ustar 00root root 0000000 0000000 description interop1: ike2 with group16 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 16 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 16 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike215.tst 0000664 0000000 0000000 00000003063 14716276021 0017072 0 ustar 00root root 0000000 0000000 description interop1: ike2 with group24 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 24 cipher des hash md5 prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption des integrity md5 group 24 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-des esp-md5-hmac mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike216.tst 0000664 0000000 0000000 00000003051 14716276021 0017070 0 ustar 00root root 0000000 0000000 description interop1: ike2 with aes128gcm addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes128gcm prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption aes-gcm-128 prf md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-gcm 128 mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-ike217.tst 0000664 0000000 0000000 00000003051 14716276021 0017071 0 ustar 00root root 0000000 0000000 description interop1: ike2 with aes256gcm addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit crypto ipsec ips group 01 cipher aes256gcm prf md5 seconds 3600 bytes 67108864 key tester role init isakmp 2 protected ipv4 exit int tun1 tunnel vrf v1 tunnel prot ips tunnel mode ipsec tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 no shutdown exit crypto ikev2 proposal pr1 encryption aes-gcm-256 prf md5 group 1 exit crypto ikev2 policy pl1 proposal pr1 exit crypto ikev2 keyring kr1 peer p1 address 1.1.1.1 pre-shared-key tester exit crypto ikev2 profile pr1 match identity remote address 1.1.1.1 255.255.255.255 authentication local pre-share authentication remote pre-share lifetime 3600 keyring local kr1 exit crypto ipsec transform-set ts1 esp-gcm 256 mode tunnel exit crypto ipsec profile pr1 set security-association lifetime seconds 3600 set security-association lifetime kilobytes 65536 set transform-set ts1 set ikev2-profile pr1 exit interface tunnel1 ip address 2.2.2.2 255.255.255.0 tunnel source gigabit1 tunnel destination 1.1.1.1 tunnel mode ipsec ipv4 tunnel protection ipsec profile pr1 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 120 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/intop1-isis01.tst 0000664 0000000 0000000 00000002301 14716276021 0017174 0 ustar 00root root 0000000 0000000 description interop1: point2point isis addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis02.tst 0000664 0000000 0000000 00000002341 14716276021 0017201 0 ustar 00root root 0000000 0000000 description interop1: isis dis addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 net broad router isis4 1 pri 50 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena router isis6 1 net broad router isis6 1 pri 50 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ip router isis no shutdown exit interface gigabit2 ipv6 enable ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis03.tst 0000664 0000000 0000000 00000002344 14716276021 0017205 0 ustar 00root root 0000000 0000000 description interop1: isis nondis addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 net broad router isis4 1 pri 70 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena router isis6 1 net broad router isis6 1 pri 70 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ip router isis no shutdown exit interface gigabit2 ipv6 enable ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis04.tst 0000664 0000000 0000000 00000002345 14716276021 0017207 0 ustar 00root root 0000000 0000000 description interop1: isis narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 no metric-wide red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style narrow redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis05.tst 0000664 0000000 0000000 00000007254 14716276021 0017214 0 ustar 00root root 0000000 0000000 description interop1: isis te addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 2.2.2.1 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 both traff red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int tun1 bandwidth 11 tun sou eth1 tun dest 2.2.2.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 bandwidth 11 tun sou eth1 tun dest 2.2.2.3 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.9 255.255.255.252 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ int eth3 eth 0000.0000.2233 $per3$ int eth4 eth 0000.0000.2244 $per4$ ! ip routing ipv6 unicast-routing mpls traffic-eng tunnels no mpls traffic-eng signalling advertise implicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2 redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit3 ip address 1.1.2.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit4 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface Tunnel1 ip address 3.3.3.2 255.255.255.252 tunnel mode mpls traffic-eng tunnel destination 2.2.2.1 tunnel mpls traffic-eng path-option 1 dynamic exit interface Tunnel2 ip address 3.3.3.6 255.255.255.252 tunnel mode mpls traffic-eng tunnel destination 2.2.2.3 tunnel mpls traffic-eng path-option 1 dynamic exit ! addrouter r3 int eth1 eth 0000.0000.1121 $per3$ int eth2 eth 0000.0000.3343 $per4$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 traffeng 2.2.2.3 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 traffeng 6.6.6.3 both traff red conn exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int tun1 bandwidth 11 tun sou eth1 tun dest 2.2.2.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 exit int tun2 bandwidth 11 tun sou eth1 tun dest 2.2.2.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.10 255.255.255.252 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 3.3.3.6 vrf v1 r1 tping 100 60 3.3.3.10 vrf v1 r3 tping 100 60 3.3.3.9 vrf v1 freeRtr-24.11.16/cfg/intop1-isis06.tst 0000664 0000000 0000000 00000002345 14716276021 0017211 0 ustar 00root root 0000000 0000000 description interop1: isis multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 multi-topology redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis07.tst 0000664 0000000 0000000 00000003127 14716276021 0017211 0 ustar 00root root 0000000 0000000 description interop1: isis prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 send conf t r1 send router isis4 1 r1 send no red conn r1 send exit r1 send router isis6 1 r1 send no red conn r1 send end r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 send conf t r1 send router isis4 1 r1 send red conn r1 send exit r1 send router isis6 1 r1 send red conn r1 send end r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis08.tst 0000664 0000000 0000000 00000002671 14716276021 0017215 0 ustar 00root root 0000000 0000000 description interop1: isis text authentication addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 password tester exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena router isis6 1 password tester exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit key chain kc key 0 key-string tester exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point isis authentication key-chain kc isis authentication mode text ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point isis authentication key-chain kc isis authentication mode text ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis09.tst 0000664 0000000 0000000 00000006415 14716276021 0017216 0 ustar 00root root 0000000 0000000 description interop1: isis p2mp te exit addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 2.2.2.1 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 both traff red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit interface tunnel1 bandwidth 11 tunnel source loopback0 tunnel destination 9.9.9.9 tunnel domain-name 2.2.2.3 tunnel vrf v1 tunnel mode p2mpte vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ int eth3 eth 0000.0000.2233 $per3$ int eth4 eth 0000.0000.2244 $per4$ ! ip routing ipv6 unicast-routing mpls traffic-eng tunnels no mpls traffic-eng signalling advertise implicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2 redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit3 ip address 1.1.2.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit4 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit ! addrouter r3 int eth1 eth 0000.0000.5555 $per3$ int eth2 eth 0000.0000.7777 $per4$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 traffeng 2.2.2.3 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 traffeng 6.6.6.3 both traff red conn exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv6 addr fe80::2 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit interface tunnel1 bandwidth 11 tunnel source loopback0 tunnel destination 9.9.9.9 tunnel domain-name 2.2.2.1 tunnel vrf v1 tunnel mode p2mpte vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.3 vrf v1 sou lo0 r3 tping 100 60 3.3.3.1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis10.tst 0000664 0000000 0000000 00000010110 14716276021 0017171 0 ustar 00root root 0000000 0000000 description interop1: isis sr addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 deny 1 any all any all sequence 20 permit all any all any all exit access-list test6 sequence 10 deny all 4321:: ffff:: all 4321:: ffff:: all sequence 20 permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 2.2.2.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena mpls enable ipv4 access-group-in test4 ! ipv4 access-group-out test4 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable ipv6 access-group-in test6 ipv6 access-group-out test6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ int eth3 eth 0000.0000.2233 $per3$ int eth4 eth 0000.0000.2244 $per4$ ! ip routing ipv6 unicast-routing mpls traffic-eng tunnels no mpls traffic-eng signalling advertise implicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit segment-routing mpls set-attributes address-family ipv4 explicit-null connected-prefix-sid-map address-family ipv4 2.2.2.2/32 index 3 router isis net 48.0000.0000.1234.00 metric-style wide mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2 redistribute connected is-type level-2-only segment-routing mpls address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit3 ip address 1.1.2.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit4 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit ! addrouter r3 int eth1 eth 0000.0000.1121 $per3$ int eth2 eth 0000.0000.3343 $per4$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 deny 1 any all any all sequence 20 permit all any all any all exit access-list test6 sequence 10 deny all 4321:: ffff:: all 4321:: ffff:: all sequence 20 permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 traffeng 2.2.2.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena mpls enable ipv4 access-group-in test4 ! ipv4 access-group-out test4 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable ipv6 access-group-in test6 ipv6 access-group-out test6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 5 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 6 router isis6 1 segrout node exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit ! r1 tping 0 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo1 r1 tping 0 60 4321::2 vrf v1 sou lo2 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 sou lo1 r3 tping 0 60 4321::2 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-isis11.tst 0000664 0000000 0000000 00000002447 14716276021 0017210 0 ustar 00root root 0000000 0000000 description interop1: isis lsp text authentication addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both lsp-pass tester red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both lsp-pass tester red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 domain-password tester area-password tester metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis12.tst 0000664 0000000 0000000 00000010201 14716276021 0017174 0 ustar 00root root 0000000 0000000 description interop1: isis php sr addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 deny 1 any all any all sequence 20 permit all any all any all exit access-list test6 sequence 10 deny all 4321:: ffff:: all 4321:: ffff:: all sequence 20 permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 2.2.2.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena mpls enable ipv4 access-group-in test4 ! ipv4 access-group-out test4 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable ipv6 access-group-in test6 ipv6 access-group-out test6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node router isis4 1 segrout pop exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node router isis6 1 segrout pop exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ int eth3 eth 0000.0000.2233 $per3$ int eth4 eth 0000.0000.2244 $per4$ ! ip routing ipv6 unicast-routing mpls traffic-eng tunnels interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit segment-routing mpls set-attributes address-family ipv4 explicit-null connected-prefix-sid-map address-family ipv4 2.2.2.2/32 index 3 router isis net 48.0000.0000.1234.00 metric-style wide mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2 redistribute connected is-type level-2-only segment-routing mpls address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit3 ip address 1.1.2.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit4 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit ! addrouter r3 int eth1 eth 0000.0000.1121 $per3$ int eth2 eth 0000.0000.3343 $per4$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 deny 1 any all any all sequence 20 permit all any all any all exit access-list test6 sequence 10 deny all 4321:: ffff:: all 4321:: ffff:: all sequence 20 permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 traffeng 2.2.2.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena mpls enable ipv4 access-group-in test4 ! ipv4 access-group-out test4 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable ipv6 access-group-in test6 ipv6 access-group-out test6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 5 router isis4 1 segrout node router isis4 1 segrout pop exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 6 router isis6 1 segrout node router isis6 1 segrout pop exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit ! r1 tping 0 10 1.1.1.2 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 sou lo1 r1 tping 0 60 4321::2 vrf v1 sou lo2 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 sou lo1 r3 tping 0 60 4321::2 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-isis13.tst 0000664 0000000 0000000 00000011467 14716276021 0017214 0 ustar 00root root 0000000 0000000 description interop1: isis te with pcep addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 2.2.2.1 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 both traff red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int tun1 bandwidth 11 tun sou eth1 tun dest 2.2.2.2 tun vrf v1 tun dom 1.1.3.2 v1 lo0 tun mod pcete vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 bandwidth 11 tun sou eth1 tun dest 2.2.2.3 tun vrf v1 tun dom 1.1.3.2 v1 lo0 tun mod pcete vrf for v1 ipv4 addr 3.3.3.9 255.255.255.252 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ int eth3 eth 0000.0000.2233 $per3$ int eth4 eth 0000.0000.2244 $per4$ ! ip routing ipv6 unicast-routing mpls traffic-eng tunnels no mpls traffic-eng signalling advertise implicit-null mpls traffic-eng pcc peer 1.1.3.2 interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2 redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit3 ip address 1.1.2.2 255.255.255.0 isis network point-to-point ip router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface gigabit4 ipv6 enable isis network point-to-point ipv6 router isis ip rsvp bandwidth mpls traffic-eng tunnels no shutdown exit interface Tunnel1 ip address 3.3.3.2 255.255.255.252 tunnel mode mpls traffic-eng tunnel destination 2.2.2.1 tunnel mpls traffic-eng path-option 1 dynamic pce exit interface Tunnel2 ip address 3.3.3.6 255.255.255.252 tunnel mode mpls traffic-eng tunnel destination 2.2.2.3 tunnel mpls traffic-eng path-option 1 dynamic pce exit ! addrouter r3 int eth1 eth 0000.0000.1121 $per3$ int eth2 eth 0000.0000.3343 $per4$ int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 traffeng 2.2.2.3 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 traffeng 6.6.6.3 both traff red conn exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int ser1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int ser2 vrf for v1 ipv6 addr 4444::1 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int tun1 bandwidth 11 tun sou eth1 tun dest 2.2.2.2 tun vrf v1 tun dom 1.1.3.2 v1 lo0 tun mod pcete vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 exit int tun2 bandwidth 11 tun sou eth1 tun dest 2.2.2.1 tun vrf v1 tun dom 1.1.3.2 v1 lo0 tun mod pcete vrf for v1 ipv4 addr 3.3.3.10 255.255.255.252 exit ! addrouter r4 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit serv pcep p export-vrf v1 vrf v1 exit router isis4 1 vrf v1 net 48.4444.0000.4444.00 traffeng 2.2.2.4 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.4444.00 traffeng 6.6.6.4 both traff red conn exit int ser1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 router isis4 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int ser2 vrf for v1 ipv6 addr 4444::2 ffff:: router isis6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit ! r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 4321::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 3.3.3.6 vrf v1 r1 tping 100 60 3.3.3.10 vrf v1 r3 tping 100 60 3.3.3.9 vrf v1 freeRtr-24.11.16/cfg/intop1-isis14.tst 0000664 0000000 0000000 00000002007 14716276021 0017203 0 ustar 00root root 0000000 0000000 description interop1: integrated isis addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr fe80::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 enable isis network point-to-point ip router isis ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis15.tst 0000664 0000000 0000000 00000002766 14716276021 0017220 0 ustar 00root root 0000000 0000000 description interop1: isis md5 authentication addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 password tester router isis4 1 authen-type md5 exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena router isis6 1 password tester router isis6 1 authen-type md5 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit router isis net 48.0000.0000.1234.00 metric-style wide redistribute connected address-family ipv6 redistribute connected exit key chain kc key 0 key-string tester exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point isis authentication key-chain kc isis authentication mode md5 ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point isis authentication key-chain kc isis authentication mode md5 ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-isis16.tst 0000664 0000000 0000000 00000002604 14716276021 0017210 0 ustar 00root root 0000000 0000000 description interop1: isis lsp md5 authentication addrouter r1 int eth1 eth 0000.0000.1111 $per1$ int eth2 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both lsp-pass tester both authen-type md5 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both lsp-pass tester both authen-type md5 red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr fe80::1 ffff:: router isis6 1 ena exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit key chain kc1 key 0 key-string tester router isis net 48.0000.0000.1234.00 authentication key-chain kc1 authentication mode md5 metric-style wide redistribute connected address-family ipv6 redistribute connected exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 isis network point-to-point ip router isis no shutdown exit interface gigabit2 ipv6 enable isis network point-to-point ipv6 router isis no shutdown exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-l2tp01.tst 0000664 0000000 0000000 00000001744 14716276021 0017120 0 ustar 00root root 0000000 0000000 description interop1: l2tp2 client addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit prefix-list p1 permit 0.0.0.0/0 exit int di1 enc ppp ppp ip4cp open vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ppp ip4cp local 0.0.0.0 ipv4 gateway-prefix p1 exit vpdn l2tp int di1 proxy p1 tar 1.1.1.2 called 1234 calling 4321 dir in prot l2tp2 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface Loopback0 ip address 2.2.2.1 255.255.255.255 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 no shutdown exit ip local pool p1 2.2.2.11 2.2.2.99 interface virtual-template1 ip unnumbered Loopback0 peer default ip address pool p1 exit vpdn enable vpdn-group 1 accept-dialin protocol l2tp virtual-template 1 no l2tp tunnel authentication exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/intop1-l2tp02.tst 0000664 0000000 0000000 00000001556 14716276021 0017122 0 ustar 00root root 0000000 0000000 description interop1: l2tp2 server exit addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr fe80::1234 ffff:: ppp ip4cp local 2.2.2.1 ppp ip4cp open ppp ip6cp open exit server l2tp2 l2tp clone di1 vrf v1 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 no shutdown exit vpdn enable pseudowire-class l2tp encapsulation l2tpv2 protocol l2tpv2 ip local interface gigabit1 exit interface virtual-ppp1 ip address 2.2.2.2 255.255.255.0 ipv6 address fe80::4321 link-local pseudowire 1.1.1.1 1234 pw-class l2tp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 fe80::4321 vrf v1 freeRtr-24.11.16/cfg/intop1-l2tp03.tst 0000664 0000000 0000000 00000001617 14716276021 0017121 0 ustar 00root root 0000000 0000000 description interop1: l2tp3 server exit addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr fe80::1234 ffff:: ppp ip4cp local 2.2.2.1 ppp ip4cp open ppp ip6cp open exit server l2tp3 l2tp clone di1 vrf v1 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 no shutdown exit vpdn enable l2tp-class l2tpc exit pseudowire-class l2tp encapsulation l2tpv3 protocol l2tpv3ietf l2tpc ip local interface gigabit1 exit interface virtual-ppp1 ip address 2.2.2.2 255.255.255.0 ipv6 address fe80::4321 link-local pseudowire 1.1.1.1 1234 pw-class l2tp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 fe80::4321 vrf v1 freeRtr-24.11.16/cfg/intop1-l2tp04.tst 0000664 0000000 0000000 00000002070 14716276021 0017114 0 ustar 00root root 0000000 0000000 description interop1: ethernet tunneling with l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 exit bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit server l2tp3 l2tp bridge 1 vrf v1 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.1.2 255.255.255.0 no shutdown exit vpdn enable l2tp-class l2tpc exit pseudowire-class l2tp encapsulation l2tpv3 protocol l2tpv3ietf l2tpc ip local interface gigabit1 exit interface gigabit2 xconnect 1.1.1.1 1234 pw-class l2tp no shutdown exit ! addrouter r3 int eth1 eth 0000.0000.4444 $per2$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/intop1-ldp01.tst 0000664 0000000 0000000 00000005312 14716276021 0017011 0 ustar 00root root 0000000 0000000 description interop1: ldp lsp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234:1::2/64 mpls ip no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.0 ipv6 address 1234:2::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234:1::1 ip route 2.2.2.3 255.255.255.255 1.1.2.1 ipv6 route 4321::3/128 1234:2::1 ! addrouter r3 int eth1 eth 0000.0000.1131 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 10 1.1.2.2 vrf v1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-ldp02.tst 0000664 0000000 0000000 00000003001 14716276021 0017003 0 ustar 00root root 0000000 0000000 description interop1: ethernet over mpls addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit interface gigabit2 xconnect 2.2.2.1 1234 encapsulation mpls no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 ! addrouter r3 int eth1 eth 0000.0000.4444 $per2$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit ! r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 freeRtr-24.11.16/cfg/intop1-ldp03.tst 0000664 0000000 0000000 00000005437 14716276021 0017023 0 ustar 00root root 0000000 0000000 description interop1: ldp p2mp lsp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.0 ipv6 address 1235::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 ip route 2.2.2.3 255.255.255.255 1.1.2.1 ipv6 route 4321::3/128 1235::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.3 vrf v1 sou lo0 r3 tping 0 60 3.3.3.1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-ldp04.tst 0000664 0000000 0000000 00000005444 14716276021 0017022 0 ustar 00root root 0000000 0000000 description interop1: ldp mp2mp lsp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.0 ipv6 address 1235::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 ip route 2.2.2.3 255.255.255.255 1.1.2.1 ipv6 route 4321::3/128 1235::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1235::2 int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.3 vrf v1 sou lo0 r3 tping 100 60 3.3.3.1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-ldp05.tst 0000664 0000000 0000000 00000005363 14716276021 0017023 0 ustar 00root root 0000000 0000000 description interop1: ldp php lsp addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls label4pop mpls ldp6 mpls label6pop exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234:1::2/64 mpls ip no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.0 ipv6 address 1234:2::2/64 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234:1::1 ip route 2.2.2.3 255.255.255.255 1.1.2.1 ipv6 route 4321::3/128 1234:2::1 ! addrouter r3 int eth1 eth 0000.0000.1131 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls label4pop mpls ldp6 mpls label6pop exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 10 1.1.2.2 vrf v1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-ldp06.tst 0000664 0000000 0000000 00000005454 14716276021 0017025 0 ustar 00root root 0000000 0000000 description interop1: ldp over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.3 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.3 255.255.255.254 ipv6 address 1234:1::3/127 mpls ip no shutdown exit interface gigabit2 ip address 1.1.2.2 255.255.255.254 ipv6 address 1234:2::2/127 mpls ip no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.2 ipv6 route 4321::1/128 1234:1::2 ip route 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route 4321::3/128 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.1131 $per2$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.254 ipv6 addr 1234:2::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 access-group-in test4 ipv6 access-group-in test6 ! ipv4 access-group-out test4 ipv6 access-group-out test6 mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 1.1.1.3 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 10 1.1.2.2 vrf v1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/intop1-ldp07.tst 0000664 0000000 0000000 00000003015 14716276021 0017015 0 ustar 00root root 0000000 0000000 description interop1: ethernet over mpls cw addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype eth control protocol pweompls exit ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing mpls ldp explicit-null interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 address 1234::2/64 mpls ip no shutdown exit interface gigabit2 xconnect 2.2.2.1 1234 encapsulation mpls no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 1234::1 ! addrouter r3 int eth1 eth 0000.0000.4444 $per2$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit ! r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 freeRtr-24.11.16/cfg/intop1-mcast01.tst 0000664 0000000 0000000 00000002550 14716276021 0017342 0 ustar 00root root 0000000 0000000 description interop1: igmp3/mld2 addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr fe80::1 ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff fe80::2 ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing ip multicast-routing distributed ipv6 multicast-routing ip pim ssm default interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 ip pim sparse-mode ip igmp version 3 ipv6 pim exit interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 enable ipv6 address fe80::2 link-local ip pim sparse-mode ip igmp version 3 ipv6 pim ip igmp join-group 232.2.2.2 source 2.2.2.1 ipv6 mld join-group ff06::1 4321::1 no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 gigabit1 fe80::1 ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 232.2.2.2 vrf v1 sou lo0 r1 tping 100 60 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-mcast02.tst 0000664 0000000 0000000 00000002361 14716276021 0017343 0 ustar 00root root 0000000 0000000 description interop1: pim addrouter r1 int eth1 eth 0000.0000.1111 $per1$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr fe80::1 ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff fe80::2 ! addpersist r2 int eth1 eth 0000.0000.2222 $per1$ ! ip routing ipv6 unicast-routing ip multicast-routing distributed ipv6 multicast-routing ip pim ssm default interface gigabit1 ip address 1.1.1.2 255.255.255.0 ipv6 enable ipv6 address fe80::2 link-local ip pim sparse-mode ip igmp version 3 ipv6 pim no shutdown exit ip route 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route 4321::1/128 gigabit1 fe80::1 interface loopback0 ip addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2/128 ip pim sparse-mode ip igmp version 3 ipv6 pim ip igmp join-group 232.2.2.2 source 2.2.2.1 ipv6 mld join-group ff06::1 4321::1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 232.2.2.2 vrf v1 sou lo0 r1 tping 100 60 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/intop1-modem01.tst 0000664 0000000 0000000 00000004501 14716276021 0017332 0 ustar 00root root 0000000 0000000 description interop1: modem with alaw exit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server modem sm codec alaw vrf v1 exit ! addrouter r2 int eth1 eth 0000.1234.2222 $1b$ $1a$ int eth2 eth 0000.1234.2222 $per1$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit dial-peer 1 codec alaw match-calling .* match-called .* vrf v1 myname 99 port-local 5060 target 1.1.1.1 direction both exit dial-peer 2 codec alaw match-calling .* match-called .* vrf v1 myname 99 port-local 5060 target 1.1.2.1 direction both exit ! addpersist r3 int eth1 eth 0000.0000.2222 $per1$ int eth2 eth 0000.0000.2211 $per2$ ! ip routing ipv6 unicast-routing interface gigabit1 ip address 1.1.2.1 255.255.255.0 no shutdown exit interface gigabit2 ip address 1.1.3.1 255.255.255.0 no shutdown exit voice service voip no ip address trusted authenticate allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip sip-ua connection-reuse dial-peer voice 1 voip destination-pattern 2[0-9] media flow-through session protocol sipv2 session target ipv4:1.1.2.2 session transport udp codec g711alaw no vad dial-peer voice 2 voip destination-pattern 3[0-9] media flow-through session protocol sipv2 session target ipv4:1.1.3.2 session transport udp codec g711alaw no vad ! addrouter r4 int eth1 eth 0000.0000.4444 $per2$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit translation-rule 1 match ^.*
show:0here is the lib:
show:1here is the lib:
show:2here is the lib:
show:3! freeRtr-24.11.16/cfg/mpls-bier02.tst 0000664 0000000 0000000 00000007715 14716276021 0016726 0 ustar 00root root 0000000 0000000 description bier in star addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier03.tst 0000664 0000000 0000000 00000015173 14716276021 0016724 0 ustar 00root root 0000000 0000000 description bier in dense chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit access-list test4 permit all 2.2.2.1 255.255.255.255 all any all exit access-list test6 permit all 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit access-list test4 permit all 2.2.2.2 255.255.255.255 all any all exit access-list test6 permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit access-list test4 permit all 2.2.2.3 255.255.255.255 all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1113 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit access-list test4 permit all 2.2.2.4 255.255.255.255 all any all exit access-list test6 permit all 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou lo1 r1 tping 100 20 4321::1112 vrf v1 sou lo1 r1 tping 100 20 3.3.3.3 vrf v1 sou lo1 r1 tping 100 20 4321::1113 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r2 tping 100 20 3.3.3.1 vrf v1 sou lo1 r2 tping 100 20 4321::1111 vrf v1 sou lo1 r2 tping 100 20 3.3.3.3 vrf v1 sou lo1 r2 tping 100 20 4321::1113 vrf v1 sou lo1 r2 tping 100 20 3.3.3.4 vrf v1 sou lo1 r2 tping 100 20 4321::1114 vrf v1 sou lo1 r3 tping 100 20 3.3.3.1 vrf v1 sou lo1 r3 tping 100 20 4321::1111 vrf v1 sou lo1 r3 tping 100 20 3.3.3.2 vrf v1 sou lo1 r3 tping 100 20 4321::1112 vrf v1 sou lo1 r3 tping 100 20 3.3.3.4 vrf v1 sou lo1 r3 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 r4 tping 100 20 3.3.3.2 vrf v1 sou lo1 r4 tping 100 20 4321::1112 vrf v1 sou lo1 r4 tping 100 20 3.3.3.3 vrf v1 sou lo1 r4 tping 100 20 4321::1113 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier04.tst 0000664 0000000 0000000 00000015172 14716276021 0016724 0 ustar 00root root 0000000 0000000 description bier in dense star addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit access-list test4 permit all 2.2.2.1 255.255.255.255 all any all exit access-list test6 permit all 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit access-list test4 permit all 2.2.2.2 255.255.255.255 all any all exit access-list test6 permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit access-list test4 permit all 2.2.2.3 255.255.255.255 all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1113 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit access-list test4 permit all 2.2.2.4 255.255.255.255 all any all exit access-list test6 permit all 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou lo1 r1 tping 100 20 4321::1112 vrf v1 sou lo1 r1 tping 100 20 3.3.3.3 vrf v1 sou lo1 r1 tping 100 20 4321::1113 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r2 tping 100 20 3.3.3.1 vrf v1 sou lo1 r2 tping 100 20 4321::1111 vrf v1 sou lo1 r2 tping 100 20 3.3.3.3 vrf v1 sou lo1 r2 tping 100 20 4321::1113 vrf v1 sou lo1 r2 tping 100 20 3.3.3.4 vrf v1 sou lo1 r2 tping 100 20 4321::1114 vrf v1 sou lo1 r3 tping 100 20 3.3.3.1 vrf v1 sou lo1 r3 tping 100 20 4321::1111 vrf v1 sou lo1 r3 tping 100 20 3.3.3.2 vrf v1 sou lo1 r3 tping 100 20 4321::1112 vrf v1 sou lo1 r3 tping 100 20 3.3.3.4 vrf v1 sou lo1 r3 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 r4 tping 100 20 3.3.3.2 vrf v1 sou lo1 r4 tping 100 20 4321::1112 vrf v1 sou lo1 r4 tping 100 20 3.3.3.3 vrf v1 sou lo1 r4 tping 100 20 4321::1113 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier05.tst 0000664 0000000 0000000 00000015233 14716276021 0016723 0 ustar 00root root 0000000 0000000 description bier on multiple si addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 1000 100 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 1000 100 red conn exit access-list test4 permit all 2.2.2.1 255.255.255.255 all any all exit access-list test6 permit all 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 1000 400 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 1000 400 red conn exit access-list test4 permit all 2.2.2.2 255.255.255.255 all any all exit access-list test6 permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 1000 600 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 1000 600 red conn exit access-list test4 permit all 2.2.2.3 255.255.255.255 all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1113 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 1000 900 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 1000 900 red conn exit access-list test4 permit all 2.2.2.4 255.255.255.255 all any all exit access-list test6 permit all 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou lo1 r1 tping 100 20 4321::1112 vrf v1 sou lo1 r1 tping 100 20 3.3.3.3 vrf v1 sou lo1 r1 tping 100 20 4321::1113 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r2 tping 100 20 3.3.3.1 vrf v1 sou lo1 r2 tping 100 20 4321::1111 vrf v1 sou lo1 r2 tping 100 20 3.3.3.3 vrf v1 sou lo1 r2 tping 100 20 4321::1113 vrf v1 sou lo1 r2 tping 100 20 3.3.3.4 vrf v1 sou lo1 r2 tping 100 20 4321::1114 vrf v1 sou lo1 r3 tping 100 20 3.3.3.1 vrf v1 sou lo1 r3 tping 100 20 4321::1111 vrf v1 sou lo1 r3 tping 100 20 3.3.3.2 vrf v1 sou lo1 r3 tping 100 20 4321::1112 vrf v1 sou lo1 r3 tping 100 20 3.3.3.4 vrf v1 sou lo1 r3 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 r4 tping 100 20 3.3.3.2 vrf v1 sou lo1 r4 tping 100 20 4321::1112 vrf v1 sou lo1 r4 tping 100 20 3.3.3.3 vrf v1 sou lo1 r4 tping 100 20 4321::1113 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier06.tst 0000664 0000000 0000000 00000015230 14716276021 0016721 0 ustar 00root root 0000000 0000000 description bier on mixed si addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 1000 100 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 1000 100 red conn exit access-list test4 permit all 2.2.2.1 255.255.255.255 all any all exit access-list test6 permit all 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 1000 400 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 1000 400 red conn exit access-list test4 permit all 2.2.2.2 255.255.255.255 all any all exit access-list test6 permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 1000 600 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 1000 600 red conn exit access-list test4 permit all 2.2.2.3 255.255.255.255 all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1113 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 1000 150 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 1000 150 red conn exit access-list test4 permit all 2.2.2.4 255.255.255.255 all any all exit access-list test6 permit all 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou lo1 r1 tping 100 20 4321::1112 vrf v1 sou lo1 r1 tping 100 20 3.3.3.3 vrf v1 sou lo1 r1 tping 100 20 4321::1113 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r2 tping 100 20 3.3.3.1 vrf v1 sou lo1 r2 tping 100 20 4321::1111 vrf v1 sou lo1 r2 tping 100 20 3.3.3.3 vrf v1 sou lo1 r2 tping 100 20 4321::1113 vrf v1 sou lo1 r2 tping 100 20 3.3.3.4 vrf v1 sou lo1 r2 tping 100 20 4321::1114 vrf v1 sou lo1 r3 tping 100 20 3.3.3.1 vrf v1 sou lo1 r3 tping 100 20 4321::1111 vrf v1 sou lo1 r3 tping 100 20 3.3.3.2 vrf v1 sou lo1 r3 tping 100 20 4321::1112 vrf v1 sou lo1 r3 tping 100 20 3.3.3.4 vrf v1 sou lo1 r3 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 r4 tping 100 20 3.3.3.2 vrf v1 sou lo1 r4 tping 100 20 4321::1112 vrf v1 sou lo1 r4 tping 100 20 3.3.3.3 vrf v1 sou lo1 r4 tping 100 20 4321::1113 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier07.tst 0000664 0000000 0000000 00000007712 14716276021 0016730 0 ustar 00root root 0000000 0000000 description bier with 64b bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 64 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 64 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 64 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 64 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 64 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 64 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 64 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 64 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier08.tst 0000664 0000000 0000000 00000007723 14716276021 0016733 0 ustar 00root root 0000000 0000000 description bier with 128b bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 128 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 128 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 128 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 128 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 128 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 128 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 128 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 128 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier09.tst 0000664 0000000 0000000 00000007723 14716276021 0016734 0 ustar 00root root 0000000 0000000 description bier with 256b bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier10.tst 0000664 0000000 0000000 00000007723 14716276021 0016724 0 ustar 00root root 0000000 0000000 description bier with 512b bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 512 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 512 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 512 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 512 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 512 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 512 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 512 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 512 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier11.tst 0000664 0000000 0000000 00000007731 14716276021 0016724 0 ustar 00root root 0000000 0000000 description bier with 1k bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 1024 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 1024 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 1024 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 1024 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 1024 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 1024 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 1024 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 1024 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier12.tst 0000664 0000000 0000000 00000007731 14716276021 0016725 0 ustar 00root root 0000000 0000000 description bier with 2k bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 2048 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 2048 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 2048 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 2048 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 2048 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 2048 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 2048 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 2048 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier13.tst 0000664 0000000 0000000 00000007731 14716276021 0016726 0 ustar 00root root 0000000 0000000 description bier with 4k bsl addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 4096 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 4096 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 4096 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 4096 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 4096 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 4096 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 4096 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 4096 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier14.tst 0000664 0000000 0000000 00000014732 14716276021 0016726 0 ustar 00root root 0000000 0000000 description bier over broadcast subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit access-list test4 permit all 2.2.2.1 255.255.255.255 all any all exit access-list test6 permit all 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit access-list test4 permit all 2.2.2.2 255.255.255.255 all any all exit access-list test6 permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 2 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit access-list test4 permit all 2.2.2.3 255.255.255.255 all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1113 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit access-list test4 permit all 2.2.2.4 255.255.255.255 all any all exit access-list test6 permit all 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 4321::2 4321::3 4321::4 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 ipv6 access-group-out test6 no ipv6 unreachables exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou lo1 r1 tping 100 20 4321::1112 vrf v1 sou lo1 r1 tping 100 20 3.3.3.3 vrf v1 sou lo1 r1 tping 100 20 4321::1113 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r2 tping 100 20 3.3.3.1 vrf v1 sou lo1 r2 tping 100 20 4321::1111 vrf v1 sou lo1 r2 tping 100 20 3.3.3.3 vrf v1 sou lo1 r2 tping 100 20 4321::1113 vrf v1 sou lo1 r2 tping 100 20 3.3.3.4 vrf v1 sou lo1 r2 tping 100 20 4321::1114 vrf v1 sou lo1 r3 tping 100 20 3.3.3.1 vrf v1 sou lo1 r3 tping 100 20 4321::1111 vrf v1 sou lo1 r3 tping 100 20 3.3.3.2 vrf v1 sou lo1 r3 tping 100 20 4321::1112 vrf v1 sou lo1 r3 tping 100 20 3.3.3.4 vrf v1 sou lo1 r3 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 r4 tping 100 20 3.3.3.2 vrf v1 sou lo1 r4 tping 100 20 4321::1112 vrf v1 sou lo1 r4 tping 100 20 3.3.3.3 vrf v1 sou lo1 r4 tping 100 20 4321::1113 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier15.tst 0000664 0000000 0000000 00000007731 14716276021 0016730 0 ustar 00root root 0000000 0000000 description mixed protocol over bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-bier16.tst 0000664 0000000 0000000 00000011260 14716276021 0016721 0 ustar 00root root 0000000 0000000 description mpls over bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4321::2221 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 mpls enable exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 mpls enable exit ipv4 route v1 4.4.4.2 255.255.255.255 3.3.3.2 mplsexp ipv6 route v1 4321::2222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::1112 mplsexp ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4321::2222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 mpls enable exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 4 tun mod bier vrf for v1 ipv6 addr 4321::1114 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 mpls enable exit ipv4 route v1 4.4.4.1 255.255.255.255 3.3.3.1 mplsexp ipv6 route v1 4321::2221 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::1111 mplsexp ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 3.3.3.4 vrf v1 sou lo1 r1 tping 100 20 4321::1114 vrf v1 sou lo1 r4 tping 100 20 3.3.3.1 vrf v1 sou lo1 r4 tping 100 20 4321::1111 vrf v1 sou lo1 r1 tping 100 20 4.4.4.1 vrf v1 sou lo2 r1 tping 100 20 4321::2221 vrf v1 sou lo2 r4 tping 100 20 4.4.4.2 vrf v1 sou lo2 r4 tping 100 20 4321::2222 vrf v1 sou lo2 freeRtr-24.11.16/cfg/mpls-bier17.tst 0000664 0000000 0000000 00000003254 14716276021 0016726 0 ustar 00root root 0000000 0000000 description mpls over multicast ethertype addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ethert multi mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ethert multi mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-bier18.tst 0000664 0000000 0000000 00000003245 14716276021 0016727 0 ustar 00root root 0000000 0000000 description mpls over bier ethertype addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ethert bier mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ethert bier mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-evc01.tst 0000664 0000000 0000000 00000003162 14716276021 0016551 0 ustar 00root root 0000000 0000000 description bridged evcs over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit bridge 3 exit int eth1 service-inst 11 bri 1 service-inst 12 bri 2 service-inst 13 bri 3 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 10 1111::1 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r2 tping 100 10 1112::1 vrf v1 r2 tping 100 10 1.1.3.1 vrf v1 r2 tping 100 10 1113::1 vrf v1 r2 output show inter eth1 full r2 output show bridge 1 r2 output show bridge 2 r2 output show bridge 3 output ../binTmp/mpls-evc.html here is the interface:
show:0here is the bridge:
show:1here is the bridge:
show:2here is the bridge:
show:3! freeRtr-24.11.16/cfg/mpls-evc02.tst 0000664 0000000 0000000 00000002535 14716276021 0016555 0 ustar 00root root 0000000 0000000 description bridged evcs over hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit bridge 3 exit int ser1 enc hdlc exit int ser1.11 bridge-group 1 exit int ser1.12 bridge-group 2 exit int ser1.13 bridge-group 3 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit bridge 3 exit int ser1 enc hdlc service-inst 11 bri 1 service-inst 12 bri 2 service-inst 13 bri 3 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 10 1111::1 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r2 tping 100 10 1112::1 vrf v1 r2 tping 100 10 1.1.3.1 vrf v1 r2 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc03.tst 0000664 0000000 0000000 00000003172 14716276021 0016554 0 ustar 00root root 0000000 0000000 description bridged evcs over gre addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit bridge 3 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source serial1 tunnel destination 2.2.2.2 exit int tun1.11 bridge-group 1 exit int tun1.12 bridge-group 2 exit int tun1.13 bridge-group 3 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit bridge 3 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source serial1 tunnel destination 2.2.2.1 service-inst 11 bri 1 service-inst 12 bri 2 service-inst 13 bri 3 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 10 1111::1 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r2 tping 100 10 1112::1 vrf v1 r2 tping 100 10 1.1.3.1 vrf v1 r2 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc04.tst 0000664 0000000 0000000 00000002247 14716276021 0016557 0 ustar 00root root 0000000 0000000 description bridged evcs and subif addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 3 exit int eth1 service-inst 11 bri 1 service-inst 13 bri 3 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 10 1111::1 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r2 tping 100 10 1112::1 vrf v1 r2 tping 100 10 1.1.3.1 vrf v1 r2 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc05.tst 0000664 0000000 0000000 00000002221 14716276021 0016550 0 ustar 00root root 0000000 0000000 description bridged evcs and main addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 3 exit int eth1 service-inst 11 bri 1 service-inst 13 bri 3 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 10 1111::1 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r2 tping 100 10 1112::1 vrf v1 r2 tping 100 10 1.1.3.1 vrf v1 r2 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc06.tst 0000664 0000000 0000000 00000003506 14716276021 0016560 0 ustar 00root root 0000000 0000000 description xconnect evcs terminated on xconnects addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:: exit int eth1 service-inst 11 xconn v1 eth2 vxlan 2.2.2.2 123 service-inst 12 xconn v1 eth2 geneve 2.2.2.2 123 service-inst 13 xconn v1 eth2 etherip 2.2.2.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:: exit int eth2.11 xconn v1 eth1 vxlan 2.2.2.1 123 exit int eth2.12 xconn v1 eth1 geneve 2.2.2.1 123 exit int eth2.13 xconn v1 eth1 etherip 2.2.2.1 123 exit exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 r4 tping 100 10 1.1.2.1 vrf v1 r4 tping 100 10 1112::1 vrf v1 r4 tping 100 10 1.1.3.1 vrf v1 r4 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc07.tst 0000664 0000000 0000000 00000003224 14716276021 0016556 0 ustar 00root root 0000000 0000000 description xconnect evcs terminated on pwhes addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:: exit int eth1 service-inst 11 xconn v1 eth2 vxlan 2.2.2.2 123 service-inst 12 xconn v1 eth2 geneve 2.2.2.2 123 service-inst 13 xconn v1 eth2 etherip 2.2.2.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:: exit int pweth11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: pseudo v1 eth1 vxlan 2.2.2.1 123 exit int pweth12 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: pseudo v1 eth1 geneve 2.2.2.1 123 exit int pweth13 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: pseudo v1 eth1 etherip 2.2.2.1 123 exit exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1111::1 vrf v1 r3 tping 100 10 1.1.2.1 vrf v1 r3 tping 100 10 1112::1 vrf v1 r3 tping 100 10 1.1.3.1 vrf v1 r3 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc08.tst 0000664 0000000 0000000 00000002760 14716276021 0016563 0 ustar 00root root 0000000 0000000 description xconnect terminated on pwhe subifs addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:: exit int eth1 xconn v1 eth2 vxlan 2.2.2.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:: exit int pweth1 pseudo v1 eth1 vxlan 2.2.2.1 123 exit int pweth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int pweth1.12 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int pweth1.13 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1111::1 vrf v1 r3 tping 100 10 1.1.2.1 vrf v1 r3 tping 100 10 1112::1 vrf v1 r3 tping 100 10 1.1.3.1 vrf v1 r3 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc09.tst 0000664 0000000 0000000 00000003131 14716276021 0016555 0 ustar 00root root 0000000 0000000 description xconnect terminated on pwhe bridged evcs addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:: exit int eth1 xconn v1 eth2 vxlan 2.2.2.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit bridge 3 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:: exit int pweth1 service-inst 11 bri 1 service-inst 12 bri 2 service-inst 13 bri 3 pseudo v1 eth1 vxlan 2.2.2.1 123 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi3 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1111::1 vrf v1 r3 tping 100 10 1.1.2.1 vrf v1 r3 tping 100 10 1112::1 vrf v1 r3 tping 100 10 1.1.3.1 vrf v1 r3 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc10.tst 0000664 0000000 0000000 00000004030 14716276021 0016544 0 ustar 00root root 0000000 0000000 description xconnect terminated on pwhe xconnect evcs addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:: exit int eth1 xconn v1 eth2 vxlan 2.2.2.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int pweth1 service-inst 11 xconn v1 eth2 vxlan 3.3.3.2 123 service-inst 12 xconn v1 eth2 geneve 3.3.3.2 123 service-inst 13 xconn v1 eth2 etherip 3.3.3.2 123 pseudo v1 eth1 vxlan 2.2.2.1 123 exit exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int pweth11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: pseudo v1 eth1 vxlan 3.3.3.1 123 exit int pweth12 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: pseudo v1 eth1 geneve 3.3.3.1 123 exit int pweth13 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: pseudo v1 eth1 etherip 3.3.3.1 123 exit exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 r4 tping 100 10 1.1.2.1 vrf v1 r4 tping 100 10 1112::1 vrf v1 r4 tping 100 10 1.1.3.1 vrf v1 r4 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-evc11.tst 0000664 0000000 0000000 00000003546 14716276021 0016560 0 ustar 00root root 0000000 0000000 description xconnect evcs terminated on vpdns addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1112::1 ffff:: exit int eth1.13 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1113::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:: exit int eth1 service-inst 11 xconn v1 eth2 vxlan 2.2.2.2 123 service-inst 12 xconn v1 eth2 geneve 2.2.2.2 123 service-inst 13 xconn v1 eth2 etherip 2.2.2.2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:: exit bridge 11 exit bridge 12 exit bridge 13 exit vpdn bvi11 bridge 11 proxy p1 target 2.2.2.1 vcid 123 protocol vxlan exit vpdn bvi12 bridge 12 proxy p1 target 2.2.2.1 vcid 123 protocol geneve exit vpdn bvi13 bridge 13 proxy p1 target 2.2.2.1 vcid 123 protocol etherip exit int bvi11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit int bvi12 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1112::2 ffff:: exit int bvi13 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1113::2 ffff:: exit exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1112::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1113::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1111::1 vrf v1 r3 tping 100 10 1.1.2.1 vrf v1 r3 tping 100 10 1112::1 vrf v1 r3 tping 100 10 1.1.3.1 vrf v1 r3 tping 100 10 1113::1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp01.tst 0000664 0000000 0000000 00000004307 14716276021 0016555 0 ustar 00root root 0000000 0000000 description ldp over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 output show mpls forw r1 output show ipv4 ldp v1 sum r1 output show ipv6 ldp v1 sum r1 output show ipv4 ldp v1 dat r1 output show ipv6 ldp v1 dat output ../binTmp/mpls-ldp.html here is the lib:
show:0here is the ipv4 neighbor:
show:1here is the ipv6 neighbor:
show:2here is the ipv4 database:
show:3here is the ipv6 database:
show:4! freeRtr-24.11.16/cfg/mpls-ldp02.tst 0000664 0000000 0000000 00000003277 14716276021 0016563 0 ustar 00root root 0000000 0000000 description ldp over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp03.tst 0000664 0000000 0000000 00000003427 14716276021 0016561 0 ustar 00root root 0000000 0000000 description ldp over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp04.tst 0000664 0000000 0000000 00000003252 14716276021 0016556 0 ustar 00root root 0000000 0000000 description ldp over hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp05.tst 0000664 0000000 0000000 00000003353 14716276021 0016561 0 ustar 00root root 0000000 0000000 description ldp over ppp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp06.tst 0000664 0000000 0000000 00000003420 14716276021 0016555 0 ustar 00root root 0000000 0000000 description ldp over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp07.tst 0000664 0000000 0000000 00000003350 14716276021 0016560 0 ustar 00root root 0000000 0000000 description ldp over atmdxi addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp08.tst 0000664 0000000 0000000 00000003703 14716276021 0016563 0 ustar 00root root 0000000 0000000 description ldp over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv6 addr 1111::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1111::2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv6 addr 1111::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1111::1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp09.tst 0000664 0000000 0000000 00000006435 14716276021 0016571 0 ustar 00root root 0000000 0000000 description ldp over broadcast subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 mac-learn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ! addrouter r3 int eth1 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r1 tping 0 10 1.1.1.3 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r2 tping 0 10 1.1.1.3 vrf v1 r3 tping 0 10 1.1.1.1 vrf v1 r3 tping 0 10 1.1.1.2 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp10.tst 0000664 0000000 0000000 00000006441 14716276021 0016556 0 ustar 00root root 0000000 0000000 description ldp over hub and spoke subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 mac-learn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! addrouter r3 int eth1 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r1 tping 0 10 1.1.1.3 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r2 tping 0 10 1.1.1.3 vrf v1 r3 tping 0 10 1.1.1.1 vrf v1 r3 tping 0 10 1.1.1.2 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp11.tst 0000664 0000000 0000000 00000004234 14716276021 0016555 0 ustar 00root root 0000000 0000000 description ldp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 lo1 mpls ldp6 lo1 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 3.3.3.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv6 route v1 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 lo1 mpls ldp6 lo1 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 3.3.3.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv6 route v1 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp12.tst 0000664 0000000 0000000 00000007261 14716276021 0016561 0 ustar 00root root 0000000 0000000 description p2p ldp tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 int tun1 tun sou lo0 tun dest 2.2.2.3 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::3 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 3333::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 3333::3 ffff:ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 3.3.3.3 vrf v1 sou tun1 r1 tping 100 10 3333::3 vrf v1 sou tun2 r3 tping 100 10 3.3.3.1 vrf v1 sou tun1 r3 tping 100 10 3333::1 vrf v1 sou tun2 r1 output show mpls forw r1 output show ipv4 ldp v1 sum r1 output show ipv6 ldp v1 sum r1 output show ipv4 ldp v1 dat r1 output show ipv6 ldp v1 dat r1 output show inter tun1 full r1 output show inter tun2 full output ../binTmp/mpls-ldp-p2p.html here is the lib:
show:0here is the ipv4 neighbor:
show:1here is the ipv6 neighbor:
show:2here is the ipv4 database:
show:3here is the ipv6 database:
show:4here is the ipv4 interface:
show:5here is the ipv6 interface:
show:6! freeRtr-24.11.16/cfg/mpls-ldp13.tst 0000664 0000000 0000000 00000011347 14716276021 0016562 0 ustar 00root root 0000000 0000000 description p2mp ldp tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.3.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 route v1 :: :: 1234:2::1 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::3 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 route v1 :: :: 1234:3::1 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::4 ffff:ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 4321::4 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r3 tping 100 10 4321::4 vrf v1 sou lo0 r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 r4 tping 100 10 4321::1 vrf v1 sou lo0 r4 tping 100 10 4321::2 vrf v1 sou lo0 r4 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou tun1 r3 tping 100 10 4321::1 vrf v1 sou tun2 r4 tping 100 10 2.2.2.1 vrf v1 sou tun1 r4 tping 100 10 4321::1 vrf v1 sou tun2 r3 output show mpls forw r3 output show ipv4 ldp v1 sum r3 output show ipv6 ldp v1 sum r3 output show ipv4 ldp v1 mpdat r3 output show ipv6 ldp v1 mpdat r3 output show inter tun1 full r3 output show inter tun2 full output ../binTmp/mpls-ldp-p2mp.html here is the lib:
show:0here is the ipv4 neighbor:
show:1here is the ipv6 neighbor:
show:2here is the ipv4 database:
show:3here is the ipv6 database:
show:4here is the ipv4 interface:
show:5here is the ipv6 interface:
show:6! freeRtr-24.11.16/cfg/mpls-ldp14.tst 0000664 0000000 0000000 00000010613 14716276021 0016556 0 ustar 00root root 0000000 0000000 description p2mp ldp tunnel head+mid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.3.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::2 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 route v1 :: :: 1234:2::1 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::3 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 route v1 :: :: 1234:3::1 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 1234 tun mod p2mpldp vrf for v1 ipv6 addr 3333::4 ffff:ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 4321::4 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r3 tping 100 10 4321::4 vrf v1 sou lo0 r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 r4 tping 100 10 4321::1 vrf v1 sou lo0 r4 tping 100 10 4321::2 vrf v1 sou lo0 r4 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou tun1 r2 tping 100 10 4321::1 vrf v1 sou tun2 r3 tping 100 10 2.2.2.1 vrf v1 sou tun1 r3 tping 100 10 4321::1 vrf v1 sou tun2 r4 tping 100 10 2.2.2.1 vrf v1 sou tun1 r4 tping 100 10 4321::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-ldp15.tst 0000664 0000000 0000000 00000012044 14716276021 0016557 0 ustar 00root root 0000000 0000000 description mp2mp ldp tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.3.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 route v1 :: :: 1234:2::1 int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::3 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 route v1 :: :: 1234:3::1 int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::4 ffff:ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 4321::4 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r3 tping 100 10 4321::4 vrf v1 sou lo0 r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 r4 tping 100 10 4321::1 vrf v1 sou lo0 r4 tping 100 10 4321::2 vrf v1 sou lo0 r4 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 3.3.3.3 vrf v1 sou lo0 r1 tping 100 10 3.3.3.4 vrf v1 sou lo0 r1 tping 100 10 3333::3 vrf v1 sou lo0 r1 tping 100 10 3333::4 vrf v1 sou lo0 r3 tping 100 10 3.3.3.1 vrf v1 sou lo0 r3 tping 100 10 3.3.3.4 vrf v1 sou lo0 r3 tping 100 10 3333::1 vrf v1 sou lo0 r3 tping 100 10 3333::4 vrf v1 sou lo0 r4 tping 100 10 3.3.3.1 vrf v1 sou lo0 r4 tping 100 10 3.3.3.3 vrf v1 sou lo0 r4 tping 100 10 3333::1 vrf v1 sou lo0 r4 tping 100 10 3333::3 vrf v1 sou lo0 r3 output show mpls forw r3 output show ipv4 ldp v1 sum r3 output show ipv6 ldp v1 sum r3 output show ipv4 ldp v1 mpdat r3 output show ipv6 ldp v1 mpdat r3 output show inter tun1 full r3 output show inter tun2 full output ../binTmp/mpls-ldp-mp2mp.html here is the lib:
show:0here is the ipv4 neighbor:
show:1here is the ipv6 neighbor:
show:2here is the ipv4 database:
show:3here is the ipv6 database:
show:4here is the ipv4 interface:
show:5here is the ipv6 interface:
show:6! freeRtr-24.11.16/cfg/mpls-ldp16.tst 0000664 0000000 0000000 00000014525 14716276021 0016566 0 ustar 00root root 0000000 0000000 description mp2mp ldp tunnel mid+head addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 access-list test4 permit all 2.2.2.1 255.255.255.255 all any all deny all any all any all exit access-list test6 permit all 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all any all any all exit int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::1 ffff:ffff:: ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.3.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 access-list test4 permit all 2.2.2.2 255.255.255.255 all any all deny all any all any all exit access-list test6 permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all any all any all exit int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::2 ffff:ffff:: ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 route v1 :: :: 1234:2::1 access-list test4 permit all 2.2.2.3 255.255.255.255 all any all deny all any all any all exit access-list test6 permit all 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all any all any all exit int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::3 ffff:ffff:: ipv6 access-group-out test6 no ipv6 unreachables exit ! addrouter r4 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 route v1 :: :: 1234:3::1 access-list test4 permit all 2.2.2.4 255.255.255.255 all any all deny all any all any all exit access-list test6 permit all 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all deny all any all any all exit int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv4 access-group-out test4 no ipv4 unreachables exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 1234 tun mod mp2mpldp vrf for v1 ipv6 addr 3333::4 ffff:ffff:: ipv6 access-group-out test6 no ipv6 unreachables exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 4321::4 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r3 tping 100 10 4321::4 vrf v1 sou lo0 r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 r4 tping 100 10 4321::1 vrf v1 sou lo0 r4 tping 100 10 4321::2 vrf v1 sou lo0 r4 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 3.3.3.2 vrf v1 sou lo0 r1 tping 100 10 3.3.3.3 vrf v1 sou lo0 r1 tping 100 10 3.3.3.4 vrf v1 sou lo0 r1 tping 100 10 3333::2 vrf v1 sou lo0 r1 tping 100 10 3333::3 vrf v1 sou lo0 r1 tping 100 10 3333::4 vrf v1 sou lo0 r2 tping 100 10 3.3.3.1 vrf v1 sou lo0 r2 tping 100 10 3.3.3.3 vrf v1 sou lo0 r2 tping 100 10 3.3.3.4 vrf v1 sou lo0 r2 tping 100 10 3333::1 vrf v1 sou lo0 r2 tping 100 10 3333::3 vrf v1 sou lo0 r2 tping 100 10 3333::4 vrf v1 sou lo0 r3 tping 100 10 3.3.3.1 vrf v1 sou lo0 r3 tping 100 10 3.3.3.2 vrf v1 sou lo0 r3 tping 100 10 3.3.3.4 vrf v1 sou lo0 r3 tping 100 10 3333::1 vrf v1 sou lo0 r3 tping 100 10 3333::2 vrf v1 sou lo0 r3 tping 100 10 3333::4 vrf v1 sou lo0 r4 tping 100 10 3.3.3.1 vrf v1 sou lo0 r4 tping 100 10 3.3.3.2 vrf v1 sou lo0 r4 tping 100 10 3.3.3.3 vrf v1 sou lo0 r4 tping 100 10 3333::1 vrf v1 sou lo0 r4 tping 100 10 3333::2 vrf v1 sou lo0 r4 tping 100 10 3333::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-ldp17.tst 0000664 0000000 0000000 00000003343 14716276021 0016563 0 ustar 00root root 0000000 0000000 description targeted ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldptarget 1.1.1.2 mpls ldptarget 1234::2 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldptarget 1.1.1.1 mpls ldptarget 1234::1 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp18.tst 0000664 0000000 0000000 00000003443 14716276021 0016565 0 ustar 00root root 0000000 0000000 description ldp password addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls ldppass 1.1.1.2 tester mpls ldppass 1234::2 tester exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls ldppass 1.1.1.1 tester mpls ldppass 1234::1 tester exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp19.tst 0000664 0000000 0000000 00000003540 14716276021 0016564 0 ustar 00root root 0000000 0000000 description targeted ldp password addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldptarget 1.1.1.2 mpls ldptarget 1234::2 mpls ldppass 1.1.1.2 tester mpls ldppass 1234::2 tester exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldptarget 1.1.1.1 mpls ldptarget 1234::1 mpls ldppass 1.1.1.1 tester mpls ldppass 1234::1 tester exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp20.tst 0000664 0000000 0000000 00000005000 14716276021 0016545 0 ustar 00root root 0000000 0000000 description ingress label filtering with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit prefix-list p4 sequence 10 deny 2.2.2.3/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::3/128 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls label4in p4 mpls label6in p6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-ldp21.tst 0000664 0000000 0000000 00000005001 14716276021 0016547 0 ustar 00root root 0000000 0000000 description egress label filtering with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit prefix-list p4 sequence 10 deny 2.2.2.3/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::3/128 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls label4out p4 mpls label6out p6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-ldp22.tst 0000664 0000000 0000000 00000004772 14716276021 0016566 0 ustar 00root root 0000000 0000000 description vrf label filtering with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! prefix-list p4 sequence 10 deny 2.2.2.3/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::3/128 sequence 20 permit ::/0 le 128 exit vrf def v1 rd 1:1 label-mode per-prefix label4filter p4 label6filter p6 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-ldp23.tst 0000664 0000000 0000000 00000006134 14716276021 0016561 0 ustar 00root root 0000000 0000000 description mpls expbundle addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ int ser3 ser - $3a$ $3b$ int ser4 ser - $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int ser2 enc hdlc vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int ser3 enc hdlc vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int ser4 enc hdlc vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ int ser3 ser - $3b$ $3a$ int ser4 ser - $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int ser2 enc hdlc vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int ser3 enc hdlc vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int ser4 enc hdlc vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun1 tunnel vrf v1 tunnel source ser1 tunnel destination 1.1.1.1 tunnel domain-name 1:ser1 2:ser2 4:ser3 5:ser4 tunnel mode expbun vrf forwarding v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 no shutdown no log-link-change exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.5.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 tos 32 r1 tping 100 10 4321::2 vrf v1 sou lo0 tos 32 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 tos 32 r2 tping 100 10 4321::1 vrf v1 sou lo0 tos 32 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 tos 64 r1 tping 100 10 4321::2 vrf v1 sou lo0 tos 64 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 tos 64 r2 tping 100 10 4321::1 vrf v1 sou lo0 tos 64 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 tos 96 r1 tping 0 10 4321::2 vrf v1 sou lo0 tos 96 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 tos 96 r2 tping 0 10 4321::1 vrf v1 sou lo0 tos 96 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 tos 128 r1 tping 100 10 4321::2 vrf v1 sou lo0 tos 128 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 tos 128 r2 tping 100 10 4321::1 vrf v1 sou lo0 tos 128 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 tos 160 r1 tping 100 10 4321::2 vrf v1 sou lo0 tos 160 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 tos 160 r2 tping 100 10 4321::1 vrf v1 sou lo0 tos 160 freeRtr-24.11.16/cfg/mpls-ldp24.tst 0000664 0000000 0000000 00000004247 14716276021 0016565 0 ustar 00root root 0000000 0000000 description mpls redirection addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int ser2 enc hdlc vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables no mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int ser2 enc hdlc vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls redir ser1 mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/mpls-ldp25.tst 0000664 0000000 0000000 00000007760 14716276021 0016571 0 ustar 00root root 0000000 0000000 description ldp php addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls label4pop mpls label6pop exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls label4pop mpls label6pop exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls label4pop mpls label6pop exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.2.3 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls label4pop mpls label6pop exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r2 tping 0 10 1.1.2.3 vrf v1 r3 tping 0 10 1.1.2.2 vrf v1 r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r2 tping 0 10 2.2.2.3 vrf v1 sou lo0 r2 tping 0 10 4321::3 vrf v1 sou lo0 r3 tping 0 10 2.2.2.1 vrf v1 sou lo0 r3 tping 0 10 4321::1 vrf v1 sou lo0 r3 tping 0 10 2.2.2.2 vrf v1 sou lo0 r3 tping 0 10 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp26.tst 0000664 0000000 0000000 00000003406 14716276021 0016563 0 ustar 00root root 0000000 0000000 description ldp over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.3 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.3 vrf v1 r2 tping 0 10 1.1.1.2 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp27.tst 0000664 0000000 0000000 00000003447 14716276021 0016571 0 ustar 00root root 0000000 0000000 description static labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls static-label 2.2.2.2/32 1.1.1.2 0 mpls static-label 4321::2/128 1234::2 2 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls static-label 2.2.2.1/32 1.1.1.1 0 mpls static-label 4321::1/128 1234::1 2 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-ldp28.tst 0000664 0000000 0000000 00000004267 14716276021 0016573 0 ustar 00root root 0000000 0000000 description static labels with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls static-label 2.2.2.2/32 1.1.1.2 10 mpls static-label 4321::2/128 1234::2 12 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 mpls static-label 2.2.2.1/32 1.1.1.1 0 mpls static-label 4321::1/128 1234::1 2 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ! r1 tping 0 10 2.2.2.2 vrf v1 sou lo0 r1 tping 0 10 4321::2 vrf v1 sou lo0 r2 tping 0 10 2.2.2.1 vrf v1 sou lo0 r2 tping 0 10 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth1 r1 send mpls static-label 2.2.2.2/32 1.1.1.2 0 r1 send mpls static-label 4321::2/128 1234::2 2 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh01.tst 0000664 0000000 0000000 00000002723 14716276021 0016566 0 ustar 00root root 0000000 0000000 description nsh over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int eth2 nsh ena exit nsh 2 255 int eth2 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! int eth1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int eth1 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 r2 output show inter eth1 full r2 output show inter eth2 full r2 output show nsh for r2 output show nsh for 2 255 r2 output show nsh for 3 254 output ../binTmp/mpls-nsh.html here is the interface:
show:0here is the interface:
show:1here is the fib:
show:2here is the detailed fib:
show:3here is the detailed fib:
show:4! freeRtr-24.11.16/cfg/mpls-nsh02.tst 0000664 0000000 0000000 00000001741 14716276021 0016566 0 ustar 00root root 0000000 0000000 description nsh over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int eth2.11 nsh ena exit nsh 2 255 int eth2.11 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! int eth1.11 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int eth1.11 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh03.tst 0000664 0000000 0000000 00000002063 14716276021 0016565 0 ustar 00root root 0000000 0000000 description nsh over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit bridge 1 exit int eth2.11 bridge-gr 1 exit int bvi1 nsh ena exit nsh 2 255 int bvi1 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int bvi1 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh04.tst 0000664 0000000 0000000 00000001740 14716276021 0016567 0 ustar 00root root 0000000 0000000 description nsh over hdlc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int ser1 enc hdlc nsh ena exit nsh 2 255 int ser1 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int ser1 ser 0000.0000.3333 $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! int ser1 enc hdlc nsh ena exit int eth1 nsh ena nsh xconn 3 255 exit nsh 3 255 int ser1 0000.1111.2222 nsh 2 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh05.tst 0000664 0000000 0000000 00000001735 14716276021 0016574 0 ustar 00root root 0000000 0000000 description nsh over ppp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int ser1 enc ppp nsh ena exit nsh 2 255 int ser1 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int ser1 ser 0000.0000.3333 $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! int ser1 enc ppp nsh ena exit int eth1 nsh ena nsh xconn 3 255 exit nsh 3 255 int ser1 0000.1111.2222 nsh 2 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh06.tst 0000664 0000000 0000000 00000002106 14716276021 0016566 0 ustar 00root root 0000000 0000000 description nsh over framerelay addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 nsh ena exit nsh 2 255 int ser1 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int ser1 ser 0000.0000.3333 $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! int ser1 enc framerelay framerelay mode dte framerelay dlci 123 nsh ena exit int eth1 nsh ena nsh xconn 3 255 exit nsh 3 255 int ser1 0000.1111.2222 nsh 2 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh07.tst 0000664 0000000 0000000 00000002036 14716276021 0016571 0 ustar 00root root 0000000 0000000 description nsh over atmdxi addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 nsh ena exit nsh 2 255 int ser1 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int ser1 ser 0000.0000.3333 $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 nsh ena exit int eth1 nsh ena nsh xconn 3 255 exit nsh 3 255 int ser1 0000.1111.2222 nsh 2 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh08.tst 0000664 0000000 0000000 00000002407 14716276021 0016574 0 ustar 00root root 0000000 0000000 description nsh over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 nsh ena nsh xconn 2 255 exit int eth2 vrf for v1 ipv6 addr 1111::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source eth2 tunnel destination 1111::2 nsh ena exit nsh 2 255 int tun1 0000.1111.2222 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv6 addr 1111::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source eth1 tunnel destination 1111::1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int tun1 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh09.tst 0000664 0000000 0000000 00000002232 14716276021 0016571 0 ustar 00root root 0000000 0000000 description nsh chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int eth2 nsh ena exit nsh 2 255 int eth2 0000.1111.2222 nsh 3 253 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! int eth1 nsh ena exit int eth2 nsh ena exit nsh 3 254 int eth1 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! int eth1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int eth1 0000.1111.2222 nsh 2 253 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r5 tping 100 10 1.1.1.1 vrf v1 r5 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh10.tst 0000664 0000000 0000000 00000002327 14716276021 0016566 0 ustar 00root root 0000000 0000000 description nsh loop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int eth2 nsh ena exit nsh 2 255 int eth2 0000.1111.2222 nsh 2 253 int eth2 0000.1111.2222 nsh 2 251 int eth2 0000.1111.2222 nsh 3 254 int eth2 0000.1111.2222 nsh 3 252 int eth2 0000.1111.2222 nsh 3 250 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! int eth1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int eth1 0000.1111.2222 nsh 3 253 int eth1 0000.1111.2222 nsh 3 251 int eth1 0000.1111.2222 nsh 2 254 int eth1 0000.1111.2222 nsh 2 252 int eth1 0000.1111.2222 nsh 2 250 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh11.tst 0000664 0000000 0000000 00000002265 14716276021 0016570 0 ustar 00root root 0000000 0000000 description nsh switch addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena nsh xconn 2 255 exit int eth2 nsh ena exit nsh 2 255 int eth2 0000.1111.2222 nsh 5 252 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! int eth1 nsh ena exit int eth2 nsh ena exit nsh 3 254 int eth1 0000.1111.2222 switch 5 252 nsh 2 254 int eth2 0000.1111.2222 switch 4 252 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! int eth1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int eth1 0000.1111.2222 nsh 4 252 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r5 tping 100 10 1.1.1.1 vrf v1 r5 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh12.tst 0000664 0000000 0000000 00000002577 14716276021 0016577 0 ustar 00root root 0000000 0000000 description nsh ip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 permit all 1.1.1.1 255.255.255.255 all any all exit access-list test6 sequence 10 permit all 1111::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:ffff:: exit int eth1 nsh ena exit ipv4 pbr v1 sequence 10 test4 v1 nsh 2 255 ipv6 pbr v1 sequence 10 test6 v1 nsh 2 255 nsh 2 255 int eth1 0000.1111.2222 nsh 3 253 route v1 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena exit int eth2 nsh ena exit nsh 3 254 int eth1 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 permit all 1.1.1.2 255.255.255.255 all any all exit access-list test6 sequence 10 permit all 1111::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:ffff:: exit int eth1 nsh ena exit ipv4 pbr v1 sequence 10 test4 v1 nsh 3 255 ipv6 pbr v1 sequence 10 test6 v1 nsh 3 255 nsh 3 255 int eth1 0000.1111.2222 nsh 2 253 route v1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh13.tst 0000664 0000000 0000000 00000002561 14716276021 0016571 0 ustar 00root root 0000000 0000000 description nsh mix of ip and ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 sequence 10 permit all 1.1.1.1 255.255.255.255 all any all exit access-list test6 sequence 10 permit all 1111::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all any all exit int lo1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:ffff:: exit int eth1 nsh ena exit ipv4 pbr v1 sequence 10 test4 v1 nsh 2 255 ipv6 pbr v1 sequence 10 test6 v1 nsh 2 255 nsh 2 255 int eth1 0000.1111.2222 nsh 3 253 route v1 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! int eth1 nsh ena exit int eth2 nsh ena exit nsh 3 254 int eth1 0000.1111.2222 nsh 2 254 int eth2 0000.1111.2222 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! int eth1 nsh ena exit int eth2 nsh ena nsh xconn 3 255 exit nsh 3 255 int eth1 0000.1111.2222 nsh 2 253 int eth2 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: ipv4 host-static 1.1.1.1 0000.1111.2222 ipv6 host-static 1111::1 0000.1111.2222 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh14.tst 0000664 0000000 0000000 00000002476 14716276021 0016577 0 ustar 00root root 0000000 0000000 description nsh over ipv4 tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 nsh ena nsh xconn 2 255 exit int ser1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:ffff:: ipv4 nsh ena ipv6 nsh ena exit nsh 2 255 tunnel v1 ser1 2.2.2.2 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int ser1 ser 0000.0000.3333 $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:ffff:: ipv4 nsh ena ipv6 nsh ena exit int eth1 nsh ena nsh xconn 3 255 exit nsh 3 255 tunnel v1 ser1 2.2.2.1 nsh 2 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2222::2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r3 tping 100 10 2222::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-nsh15.tst 0000664 0000000 0000000 00000002476 14716276021 0016600 0 ustar 00root root 0000000 0000000 description nsh over ipv6 tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1111::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int ser1 ser 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 nsh ena nsh xconn 2 255 exit int ser1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 2222::1 ffff:ffff:: ipv4 nsh ena ipv6 nsh ena exit nsh 2 255 tunnel v1 ser1 2222::2 nsh 3 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r3 int ser1 ser 0000.0000.3333 $2b$ $2a$ int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 2222::2 ffff:ffff:: ipv4 nsh ena ipv6 nsh ena exit int eth1 nsh ena nsh xconn 3 255 exit nsh 3 255 tunnel v1 ser1 2222::1 nsh 2 254 int eth1 0000.1111.2222 rawpack keephdr ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1111::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2222::2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r3 tping 100 10 2222::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1111::2 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1111::1 vrf v1 freeRtr-24.11.16/cfg/mpls-polka01.tst 0000664 0000000 0000000 00000006127 14716276021 0017106 0 ustar 00root root 0000000 0000000 description polka over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka02.tst 0000664 0000000 0000000 00000006150 14716276021 0017103 0 ustar 00root root 0000000 0000000 description polka over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka03.tst 0000664 0000000 0000000 00000006353 14716276021 0017111 0 ustar 00root root 0000000 0000000 description polka over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1.22 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka04.tst 0000664 0000000 0000000 00000006107 14716276021 0017107 0 ustar 00root root 0000000 0000000 description polka over hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc hdlc vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka05.tst 0000664 0000000 0000000 00000006102 14716276021 0017103 0 ustar 00root root 0000000 0000000 description polka over ppp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc ppp vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka06.tst 0000664 0000000 0000000 00000006415 14716276021 0017113 0 ustar 00root root 0000000 0000000 description polka over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka07.tst 0000664 0000000 0000000 00000006301 14716276021 0017106 0 ustar 00root root 0000000 0000000 description polka over atmdxi addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka08.tst 0000664 0000000 0000000 00000006546 14716276021 0017122 0 ustar 00root root 0000000 0000000 description polka over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv6 addr 1111::1 ffff:: exit int tun9 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1111::2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv6 addr 1111::2 ffff:: exit int tun9 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1111::1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka09.tst 0000664 0000000 0000000 00000006006 14716276021 0017112 0 ustar 00root root 0000000 0000000 description polka over broadcast subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka10.tst 0000664 0000000 0000000 00000010443 14716276021 0017102 0 ustar 00root root 0000000 0000000 description polka over ethernet chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.4 tunnel domain-name 2.2.2.2 2.2.2.3 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::4 tunnel domain-name 4321::2 4321::3 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.10 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.11 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.3 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::3 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r4 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-polka11.tst 0000664 0000000 0000000 00000007476 14716276021 0017117 0 ustar 00root root 0000000 0000000 description pwe over polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 mpls enable exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: mpls enable exit int tun3 tun sou tun1 tun dest 3.3.3.2 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 exit int tun4 tun sou tun2 tun dest 3333::2 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv6 addr 4444::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 mpls enable ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 mpls enable ipv6 address 3333::2 ffff:: exit int tun3 tun sou tun1 tun dest 3.3.3.1 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 exit int tun4 tun sou tun2 tun dest 3333::1 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv6 addr 4444::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r1 tping 100 20 3.3.3.6 vrf v1 sou tun3 r3 tping 100 20 3.3.3.5 vrf v1 sou tun3 r1 tping 100 20 4444::2 vrf v1 sou tun4 r3 tping 100 20 4444::1 vrf v1 sou tun4 freeRtr-24.11.16/cfg/mpls-polka12.tst 0000664 0000000 0000000 00000012756 14716276021 0017115 0 ustar 00root root 0000000 0000000 description bgp vpns over polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 mpls enable exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 3.3.3.2 remote-as 1 neigh 3.3.3.2 update tun1 neigh 3.3.3.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 3333::2 remote-as 1 neigh 3333::2 update tun2 neigh 3333::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 mpls enable exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 3.3.3.1 remote-as 1 neigh 3.3.3.1 update tun1 neigh 3.3.3.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 3333::1 remote-as 1 neigh 3333::1 update tun2 neigh 3333::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/mpls-polka13.tst 0000664 0000000 0000000 00000011677 14716276021 0017117 0 ustar 00root root 0000000 0000000 description mpolka over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka14.tst 0000664 0000000 0000000 00000011726 14716276021 0017113 0 ustar 00root root 0000000 0000000 description mpolka over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth3.33 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.33 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka15.tst 0000664 0000000 0000000 00000011761 14716276021 0017113 0 ustar 00root root 0000000 0000000 description mpolka over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka16.tst 0000664 0000000 0000000 00000011651 14716276021 0017112 0 ustar 00root root 0000000 0000000 description mpolka over hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ int ser3 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc hdlc vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser3 enc hdlc vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka17.tst 0000664 0000000 0000000 00000011642 14716276021 0017113 0 ustar 00root root 0000000 0000000 description mpolka over ppp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ int ser3 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc ppp vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser3 enc ppp vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka18.tst 0000664 0000000 0000000 00000012317 14716276021 0017114 0 ustar 00root root 0000000 0000000 description mpolka over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ int ser3 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser3 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka19.tst 0000664 0000000 0000000 00000012137 14716276021 0017115 0 ustar 00root root 0000000 0000000 description mpolka over atmdxi addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ int ser3 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser2 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int ser3 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka20.tst 0000664 0000000 0000000 00000012316 14716276021 0017104 0 ustar 00root root 0000000 0000000 description mpolka over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv6 addr 1111::1 ffff:: exit int tun9 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1111::2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 , 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 4321::4 , 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv6 addr 1111::2 ffff:: exit int tun9 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1111::1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-polka21.tst 0000664 0000000 0000000 00000011132 14716276021 0017100 0 ustar 00root root 0000000 0000000 description mpolka over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.3 2.2.2.3 , 2.2.2.4 2.2.2.4 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::3 4321::3 , 4321::4 4321::4 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo0 r1 tping 100 20 4321::2 vrf v1 sou lo0 r1 tping 100 20 2.2.2.3 vrf v1 sou lo0 r1 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 100 20 2.2.2.4 vrf v1 sou lo0 r1 tping 100 20 4321::4 vrf v1 sou lo0 r2 tping 100 20 2.2.2.1 vrf v1 sou lo0 r2 tping 100 20 4321::1 vrf v1 sou lo0 r2 tping 100 20 2.2.2.3 vrf v1 sou lo0 r2 tping 100 20 4321::3 vrf v1 sou lo0 r2 tping 100 20 2.2.2.4 vrf v1 sou lo0 r2 tping 100 20 4321::4 vrf v1 sou lo0 r3 tping 100 20 2.2.2.2 vrf v1 sou lo0 r3 tping 100 20 4321::2 vrf v1 sou lo0 r3 tping 100 20 2.2.2.3 vrf v1 sou lo0 r3 tping 100 20 4321::3 vrf v1 sou lo0 r3 tping 100 20 2.2.2.4 vrf v1 sou lo0 r3 tping 100 20 4321::4 vrf v1 sou lo0 r4 tping 100 20 2.2.2.1 vrf v1 sou lo0 r4 tping 100 20 4321::1 vrf v1 sou lo0 r4 tping 100 20 2.2.2.2 vrf v1 sou lo0 r4 tping 100 20 4321::2 vrf v1 sou lo0 r4 tping 100 20 2.2.2.3 vrf v1 sou lo0 r4 tping 100 20 4321::3 vrf v1 sou lo0 r1 tping 200 20 3.3.3.2 vrf v1 sou tun1 multi r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 multi r1 tping 200 20 3333::2 vrf v1 sou tun2 multi r3 tping 100 20 3333::1 vrf v1 sou tun2 multi r4 tping 100 20 3333::1 vrf v1 sou tun2 multi freeRtr-24.11.16/cfg/mpls-pwe01.tst 0000664 0000000 0000000 00000003144 14716276021 0016567 0 ustar 00root root 0000000 0000000 description ppp over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype ppp control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype ppp control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe02.tst 0000664 0000000 0000000 00000003151 14716276021 0016566 0 ustar 00root root 0000000 0000000 description hdlc over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc hdlc vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc hdlc vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe03.tst 0000664 0000000 0000000 00000003170 14716276021 0016570 0 ustar 00root root 0000000 0000000 description lapb over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc lapb lapb mode dce vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc lapb vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe04.tst 0000664 0000000 0000000 00000003344 14716276021 0016574 0 ustar 00root root 0000000 0000000 description framerelay over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe05.tst 0000664 0000000 0000000 00000003247 14716276021 0016577 0 ustar 00root root 0000000 0000000 description atmdxi over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe06.tst 0000664 0000000 0000000 00000003170 14716276021 0016573 0 ustar 00root root 0000000 0000000 description isdn over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc isdn isdn mode dce vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc isdn vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe07.tst 0000664 0000000 0000000 00000003146 14716276021 0016577 0 ustar 00root root 0000000 0000000 description sep over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc sep vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc sep vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe08.tst 0000664 0000000 0000000 00000003160 14716276021 0016574 0 ustar 00root root 0000000 0000000 description port mode ppp over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn atom interface di1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype hdlc control-word protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe09.tst 0000664 0000000 0000000 00000004412 14716276021 0016576 0 ustar 00root root 0000000 0000000 description ethernet over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 output show mpls forw r1 output show ipv4 ldp v1 sum r1 output show ipv6 ldp v1 sum r1 output show bridge 1 r1 output show inter bvi1 full r1 output show ipv4 arp bvi1 r1 output show ipv6 neigh bvi1 output ../binTmp/mpls-pwe.html here is the lib:
show:0here is the ipv4 neighbor:
show:1here is the ipv6 neighbor:
show:2here is the ipv4 bridge:
show:3here is the interface:
show:4here is the arp:
show:5here are the neighbors:
show:6! freeRtr-24.11.16/cfg/mpls-pwe10.tst 0000664 0000000 0000000 00000003141 14716276021 0016564 0 ustar 00root root 0000000 0000000 description vlan over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 bridge 1 exit int bvi1.111 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype vlan protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 bridge 1 exit int bvi1.111 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype vlan protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe11.tst 0000664 0000000 0000000 00000006424 14716276021 0016574 0 ustar 00root root 0000000 0000000 description multipoint ethernet over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 bridge 1 mac-learn exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn eompls1 bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit vpdn eompls2 bridge-gr 1 proxy p1 target 4321::3 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 bridge 1 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 bridge 1 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 4321::1 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r1 tping 100 40 3.3.3.3 vrf v1 r1 tping 100 40 3.3.3.4 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r2 tping 0 40 3.3.3.3 vrf v1 r2 tping 100 40 3.3.3.4 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r3 tping 0 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.4 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe12.tst 0000664 0000000 0000000 00000006431 14716276021 0016573 0 ustar 00root root 0000000 0000000 description interworking between l2tp3 and ethernet over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 bridge 1 mac-learn exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit vpdn l2tp bridge-gr 1 proxy p1 target 2.2.2.3 vcid 1234 pwtype eth dir in protocol l2tp3 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 bridge 1 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 bridge 1 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit vpdn l2tp bridge-gr 1 proxy p1 target 2.2.2.1 vcid 1234 pwtype eth dir out protocol l2tp3 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r1 tping 100 40 3.3.3.3 vrf v1 r1 tping 100 40 3.3.3.4 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r2 tping 0 40 3.3.3.3 vrf v1 r2 tping 100 40 3.3.3.4 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r3 tping 0 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.4 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe13.tst 0000664 0000000 0000000 00000003204 14716276021 0016567 0 ustar 00root root 0000000 0000000 description hdlc tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc hdlc vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe14.tst 0000664 0000000 0000000 00000003273 14716276021 0016576 0 ustar 00root root 0000000 0000000 description ppp tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe15.tst 0000664 0000000 0000000 00000003223 14716276021 0016572 0 ustar 00root root 0000000 0000000 description lapb tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb lapb mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc lapb vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe16.tst 0000664 0000000 0000000 00000003377 14716276021 0016605 0 ustar 00root root 0000000 0000000 description framerelay tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay mode dce framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc framerelay framerelay lmi ansi framerelay dlci 123 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe17.tst 0000664 0000000 0000000 00000003302 14716276021 0016572 0 ustar 00root root 0000000 0000000 description atmdxi tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe18.tst 0000664 0000000 0000000 00000003223 14716276021 0016575 0 ustar 00root root 0000000 0000000 description isdn tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn isdn mode dce vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc isdn vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe19.tst 0000664 0000000 0000000 00000003201 14716276021 0016572 0 ustar 00root root 0000000 0000000 description sep tunneling with mpls addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.2 1234 vlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int ser1 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int ser1 enc raw xconnect v1 lo0 pweompls 2.2.2.1 1234 vlan exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int ser1 enc sep vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe20.tst 0000664 0000000 0000000 00000003214 14716276021 0016566 0 ustar 00root root 0000000 0000000 description ethernet tunneling with mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int eth1 xconnect v1 lo0 pweompls 4321::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int eth2 xconnect v1 lo0 pweompls 4321::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 30 4321::2 vrf v1 r3 tping 100 30 4321::1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe21.tst 0000664 0000000 0000000 00000003230 14716276021 0016565 0 ustar 00root root 0000000 0000000 description vlan tunneling with mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1.111 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int eth1.111 xconnect v1 lo0 pweompls 4321::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int eth2.222 xconnect v1 lo0 pweompls 4321::1 1234 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.222 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 30 4321::2 vrf v1 r3 tping 100 30 4321::1 vrf v1 r1 tping 100 30 2.2.2.2 vrf v1 r1 tping 100 30 4321::2 vrf v1 r4 tping 100 30 2.2.2.1 vrf v1 r4 tping 100 30 4321::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe22.tst 0000664 0000000 0000000 00000002726 14716276021 0016577 0 ustar 00root root 0000000 0000000 description tunnel interface with mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int tun1 tun vrf v1 tun sou lo0 tun dest 2.2.2.2 tun key 1234 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int tun1 tun vrf v1 tun sou lo0 tun dest 2.2.2.1 tun key 1234 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit ! r1 tping 100 30 2.2.2.2 vrf v1 sou lo0 r2 tping 100 30 2.2.2.1 vrf v1 sou lo0 r1 tping 100 30 3.3.3.2 vrf v1 r1 tping 100 30 3333::2 vrf v1 r2 tping 100 30 3.3.3.1 vrf v1 r2 tping 100 30 3333::1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwe23.tst 0000664 0000000 0000000 00000003213 14716276021 0016570 0 ustar 00root root 0000000 0000000 description ethernet over mpls with cw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.2 mtu 1500 vcid 1234 control pwtype eth protocol pweompls exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit vpdn eompls bridge-gr 1 proxy p1 target 2.2.2.1 mtu 1500 vcid 1234 control pwtype eth protocol pweompls exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe01.tst 0000664 0000000 0000000 00000002740 14716276021 0016740 0 ustar 00root root 0000000 0000000 description ppp over packet over udp pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pckoudp 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pckoudp 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 output show inter virt1 full output ../binTmp/mpls-virtppp.html here is the interface:
show:0! freeRtr-24.11.16/cfg/mpls-pwhe02.tst 0000664 0000000 0000000 00000003153 14716276021 0016740 0 ustar 00root root 0000000 0000000 description ethernet over packet over udp pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pckoudp 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pckoudp 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 output show inter pweth1 full r1 output show ipv4 arp pweth1 r1 output show ipv6 neigh pweth1 output ../binTmp/mpls-pweth.html here is the interface:
show:0here is the arp:
show:1here are the neighbors:
show:2! freeRtr-24.11.16/cfg/mpls-pwhe03.tst 0000664 0000000 0000000 00000002347 14716276021 0016745 0 ustar 00root root 0000000 0000000 description ethernet over vxlan pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 vxlan 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 vxlan 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe04.tst 0000664 0000000 0000000 00000002352 14716276021 0016742 0 ustar 00root root 0000000 0000000 description ethernet over geneve pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 geneve 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 geneve 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe05.tst 0000664 0000000 0000000 00000002350 14716276021 0016741 0 ustar 00root root 0000000 0000000 description ethernet over erspan pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 erspan 2.2.2.2 123 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 erspan 2.2.2.1 123 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe06.tst 0000664 0000000 0000000 00000002344 14716276021 0016745 0 ustar 00root root 0000000 0000000 description ethernet over dlsw pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 dlsw 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 dlsw 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe07.tst 0000664 0000000 0000000 00000002355 14716276021 0016750 0 ustar 00root root 0000000 0000000 description ethernet over etherip pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 etherip 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 etherip 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe08.tst 0000664 0000000 0000000 00000002341 14716276021 0016744 0 ustar 00root root 0000000 0000000 description ethernet over uti pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 uti 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 uti 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe09.tst 0000664 0000000 0000000 00000002347 14716276021 0016753 0 ustar 00root root 0000000 0000000 description ethernet over nvgre pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 nvgre 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 nvgre 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe10.tst 0000664 0000000 0000000 00000002365 14716276021 0016743 0 ustar 00root root 0000000 0000000 description ppp over greppp pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 greppp 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 greppp 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe11.tst 0000664 0000000 0000000 00000002357 14716276021 0016745 0 ustar 00root root 0000000 0000000 description ppp over ax25 pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 ax25 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 ax25 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe12.tst 0000664 0000000 0000000 00000002526 14716276021 0016744 0 ustar 00root root 0000000 0000000 description ppp over l2f pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp ppp ip4cp open ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 l2f 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 pool p4 3.3.3.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.0 255.255.255.255 ppp ip4cp open ppp ip4cp local 3.3.3.0 ipv4 pool p4 exit server l2f l2f clone di1 vrf v1 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.0 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe13.tst 0000664 0000000 0000000 00000002532 14716276021 0016742 0 ustar 00root root 0000000 0000000 description ppp over pptp pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp ppp ip4cp open ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pptp 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 pool p4 3.3.3.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.0 255.255.255.255 ppp ip4cp local 3.3.3.0 ppp ip4cp open ipv4 pool p4 exit server pptp pptp clone di1 vrf v1 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.0 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe14.tst 0000664 0000000 0000000 00000002535 14716276021 0016746 0 ustar 00root root 0000000 0000000 description ppp over l2tp2 pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp ppp ip4cp open ppp ip4cp local 0.0.0.0 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 l2tp2 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 pool p4 3.3.3.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.0 255.255.255.255 ppp ip4cp local 3.3.3.0 ppp ip4cp open ipv4 pool p4 exit server l2tp2 l2tp clone di1 vrf v1 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.0 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe15.tst 0000664 0000000 0000000 00000002362 14716276021 0016745 0 ustar 00root root 0000000 0000000 description ppp over l2tp3 pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 l2tp3 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 l2tp3 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe16.tst 0000664 0000000 0000000 00000002347 14716276021 0016751 0 ustar 00root root 0000000 0000000 description ethernet over l2tp3 pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 l2tp3 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 l2tp3 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe17.tst 0000664 0000000 0000000 00000002553 14716276021 0016751 0 ustar 00root root 0000000 0000000 description ppp over mpls pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int virt1 enc ppp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe18.tst 0000664 0000000 0000000 00000002540 14716276021 0016746 0 ustar 00root root 0000000 0000000 description ethernet over mpls pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe19.tst 0000664 0000000 0000000 00000002570 14716276021 0016752 0 ustar 00root root 0000000 0000000 description ethernet over mpls pwhe with cw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 control exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 control exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe20.tst 0000664 0000000 0000000 00000002352 14716276021 0016740 0 ustar 00root root 0000000 0000000 description ethernet over gretap pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 gretap 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 gretap 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-pwhe21.tst 0000664 0000000 0000000 00000002347 14716276021 0016745 0 ustar 00root root 0000000 0000000 description ethernet over sreth pwhe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 sreth 2.2.2.2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 sreth 2.2.2.1 1234 exit ! r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 freeRtr-24.11.16/cfg/mpls-sr01.tst 0000664 0000000 0000000 00000011070 14716276021 0016415 0 ustar 00root root 0000000 0000000 description sr in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 output show mpls forw r2 output show mpls forw r3 output show mpls forw r4 output show mpls forw output ../binTmp/mpls-sr.html here is the lib:
show:0here is the lib:
show:1here is the lib:
show:2here is the lib:
show:3! freeRtr-24.11.16/cfg/mpls-sr02.tst 0000664 0000000 0000000 00000010246 14716276021 0016422 0 ustar 00root root 0000000 0000000 description sr in star addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-sr03.tst 0000664 0000000 0000000 00000005574 14716276021 0016433 0 ustar 00root root 0000000 0000000 description te over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 2.2.2.3 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 4321::3 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 2.2.2.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 4321::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 freeRtr-24.11.16/cfg/mpls-sr04.tst 0000664 0000000 0000000 00000005431 14716276021 0016424 0 ustar 00root root 0000000 0000000 description pwe over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 2.2.2.3 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 4321::3 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 2.2.2.1 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 4321::1 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 freeRtr-24.11.16/cfg/mpls-sr05.tst 0000664 0000000 0000000 00000006024 14716276021 0016424 0 ustar 00root root 0000000 0000000 description bgp over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 freeRtr-24.11.16/cfg/mpls-sr06.tst 0000664 0000000 0000000 00000007055 14716276021 0016432 0 ustar 00root root 0000000 0000000 description bgp with labels over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::11 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-sr07.tst 0000664 0000000 0000000 00000010714 14716276021 0016427 0 ustar 00root root 0000000 0000000 description vpns over bgp over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 neigh 4321::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/mpls-sr08.tst 0000664 0000000 0000000 00000010755 14716276021 0016435 0 ustar 00root root 0000000 0000000 description othervpns over bgp over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 neigh 2.2.2.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 neigh 4321::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/mpls-sr09.tst 0000664 0000000 0000000 00000007634 14716276021 0016440 0 ustar 00root root 0000000 0000000 description sr over broadcast subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-sr10.tst 0000664 0000000 0000000 00000010420 14716276021 0016413 0 ustar 00root root 0000000 0000000 description sr te over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.4.5 255.255.255.0 ipv6 addr 1237::5 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode srmpls vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode srmpls vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode srmpls vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode srmpls vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: no mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.4.4 255.255.255.0 ipv6 addr 1237::4 ffff:: no mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r1 tping 0 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 4321::4 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 0 20 2.2.2.4 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 0 20 4321::4 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-sr11.tst 0000664 0000000 0000000 00000004075 14716276021 0016425 0 ustar 00root root 0000000 0000000 description sr te over exthdr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! access-list all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 srh enable ipv6 srh enable exit interface tun1 tunnel vrf v1 tunnel source ethernet1 tunnel destination 1.1.2.3 tunnel domain-name 1.1.1.2 tunnel mode srext vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source ethernet1 tunnel destination 1235::3 tunnel domain-name 1234::2 tunnel mode srext vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! access-list all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 srh enable ipv6 srh enable exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 srh enable ipv6 srh enable exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! access-list all permit all any all any all exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 srh enable ipv6 srh enable exit interface tun1 tunnel vrf v1 tunnel source ethernet1 tunnel destination 1.1.1.1 tunnel domain-name 1.1.2.2 tunnel mode srext vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source ethernet1 tunnel destination 1234::1 tunnel domain-name 1235::2 tunnel mode srext vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 1.1.1.2 vrf v1 r1 tping 100 20 1234::2 vrf v1 r2 tping 100 20 1.1.1.1 vrf v1 r2 tping 100 20 1234::1 vrf v1 r2 tping 100 20 1.1.2.3 vrf v1 r2 tping 100 20 1235::3 vrf v1 r3 tping 100 20 1.1.2.2 vrf v1 r3 tping 100 20 1235::2 vrf v1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-sr12.tst 0000664 0000000 0000000 00000007225 14716276021 0016426 0 ustar 00root root 0000000 0000000 description bgp with php labels over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 label-pop neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 label-pop neigh 4321::3 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 label-pop neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 label-pop neigh 4321::1 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::11 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-sr13.tst 0000664 0000000 0000000 00000006034 14716276021 0016424 0 ustar 00root root 0000000 0000000 description sr te with pcep addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 1.1.1.2 v1 eth1 tunnel mode pcesr vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 1.1.1.2 v1 eth1 tunnel mode pcesr vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit serv pcep p export-vrf v1 vrf v1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 1.1.1.2 v1 eth1 tunnel mode pcesr vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 1.1.1.2 v1 eth1 tunnel mode pcesr vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-sr14.tst 0000664 0000000 0000000 00000007052 14716276021 0016426 0 ustar 00root root 0000000 0000000 description bgp with ctp over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::11 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-sr15.tst 0000664 0000000 0000000 00000007222 14716276021 0016426 0 ustar 00root root 0000000 0000000 description bgp with php ctp over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 label-pop neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 label-pop neigh 4321::3 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 label-pop neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 label-pop neigh 4321::1 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::11 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-sr16.tst 0000664 0000000 0000000 00000007052 14716276021 0016430 0 ustar 00root root 0000000 0000000 description bgp with car over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::11 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-sr17.tst 0000664 0000000 0000000 00000007222 14716276021 0016430 0 ustar 00root root 0000000 0000000 description bgp with php car over sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 label-pop neigh 2.2.2.3 update lo1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 label-pop neigh 4321::3 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 label-pop neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 label-pop neigh 4321::1 update lo1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo2 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::11 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 60 2.2.2.13 vrf v1 sou lo2 r1 tping 100 60 4321::13 vrf v1 sou lo2 r3 tping 100 60 2.2.2.11 vrf v1 sou lo2 r3 tping 100 60 4321::11 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te01.tst 0000664 0000000 0000000 00000003575 14716276021 0016414 0 ustar 00root root 0000000 0000000 description te over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 output show mpls forw r1 output show ipv4 rsvp v1 sum r1 output show ipv6 rsvp v1 sum output ../binTmp/mpls-te.html here is the lib:
show:0here is the ipv4 database:
show:1here is the ipv6 database:
show:2! freeRtr-24.11.16/cfg/mpls-te02.tst 0000664 0000000 0000000 00000003042 14716276021 0016402 0 ustar 00root root 0000000 0000000 description te over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1.11 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1.11 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1.11 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1.11 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te03.tst 0000664 0000000 0000000 00000003156 14716276021 0016411 0 ustar 00root root 0000000 0000000 description te over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou bvi1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou bvi1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bridge 1 exit int eth1.11 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou bvi1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou bvi1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te04.tst 0000664 0000000 0000000 00000003001 14716276021 0016377 0 ustar 00root root 0000000 0000000 description te over hdlc addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te05.tst 0000664 0000000 0000000 00000003102 14716276021 0016402 0 ustar 00root root 0000000 0000000 description te over ppp addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te06.tst 0000664 0000000 0000000 00000003147 14716276021 0016414 0 ustar 00root root 0000000 0000000 description te over framerelay addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te07.tst 0000664 0000000 0000000 00000003077 14716276021 0016417 0 ustar 00root root 0000000 0000000 description te over atmdxi addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou ser1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou ser1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te08.tst 0000664 0000000 0000000 00000003372 14716276021 0016416 0 ustar 00root root 0000000 0000000 description te over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv6 addr 1111::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mod gre tunnel sou eth1 tunnel dest 1111::2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun2 tun sou tun1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun3 tun sou tun1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv6 addr 1111::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mod gre tunnel sou eth1 tunnel dest 1111::1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun2 tun sou tun1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun3 tun sou tun1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te09.tst 0000664 0000000 0000000 00000004555 14716276021 0016423 0 ustar 00root root 0000000 0000000 description te in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.2 ipv6 route v1 2345::0 ffff:: 1234::2 int tun1 tun sou eth1 tun dest 1.1.2.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 2345::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234::0 ffff:: 2345::1 int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r3 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r2 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 10 1.1.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te10.tst 0000664 0000000 0000000 00000004572 14716276021 0016412 0 ustar 00root root 0000000 0000000 description ldp over te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 mpls enable mpls ldp4 ipv4 access-group-in test4 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 2345::1 ffff:: mpls enable mpls ldp6 ipv6 access-group-in test6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2345::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 mpls enable mpls ldp4 ipv4 access-group-in test4 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 2345::2 ffff:: mpls enable mpls ldp6 ipv6 access-group-in test6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2345::1 ! r1 tping 100 10 1.1.2.2 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r1 tping 100 10 2345::2 vrf v1 r2 tping 100 10 2345::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te11.tst 0000664 0000000 0000000 00000006210 14716276021 0016402 0 ustar 00root root 0000000 0000000 description pwe over te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 mpls enable mpls ldp4 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 2345::1 ffff:: mpls enable mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2345::2 int tun3 tun vrf v1 tun sou lo0 tun dest 2.2.2.2 tun key 1234 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int tun4 tun vrf v1 tun sou lo0 tun dest 4321::2 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 mpls enable mpls ldp4 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 2345::2 ffff:: mpls enable mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2345::1 int tun3 tun vrf v1 tun sou lo0 tun dest 2.2.2.1 tun key 1234 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int tun4 tun vrf v1 tun sou lo0 tun dest 4321::1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ! r1 tping 100 10 1.1.2.2 vrf v1 r2 tping 100 10 1.1.2.1 vrf v1 r1 tping 100 10 2345::2 vrf v1 r2 tping 100 10 2345::1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 10 3.3.3.2 vrf v1 r1 tping 100 10 3333::2 vrf v1 r2 tping 100 10 3.3.3.1 vrf v1 r2 tping 100 10 3333::1 vrf v1 r1 tping 100 10 4.4.4.2 vrf v1 r1 tping 100 10 4444::2 vrf v1 r2 tping 100 10 4.4.4.1 vrf v1 r2 tping 100 10 4444::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te12.tst 0000664 0000000 0000000 00000007023 14716276021 0016406 0 ustar 00root root 0000000 0000000 description ldp and te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int tun1 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun key 1234 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int tun2 tun sou lo0 tun dest 4321::2 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit int tun3 tun sou lo0 tun dest 2.2.2.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 5.5.5.1 255.255.255.252 exit int tun4 tun sou lo0 tun dest 4321::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 5555::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: mpls enable mpls ldp4 mpls ldp6 mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.2.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2345::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: mpls enable mpls ldp4 mpls ldp6 mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.2.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2345::1 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun key 1234 tun mod pweompls vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun key 4321 tun mod pweompls vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit int tun3 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 5.5.5.2 255.255.255.252 exit int tun4 tun sou lo0 tun dest 4321::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 5555::2 ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234::2 vrf v1 r3 tping 100 10 1.1.2.1 vrf v1 r3 tping 100 10 2345::1 vrf v1 r2 tping 100 10 1.1.1.1 vrf v1 r2 tping 100 10 1234::1 vrf v1 r2 tping 100 10 1.1.2.2 vrf v1 r2 tping 100 10 2345::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 100 10 3.3.3.2 vrf v1 r3 tping 100 10 3.3.3.1 vrf v1 r1 tping 100 10 3333::2 vrf v1 r3 tping 100 10 3333::1 vrf v1 r1 tping 100 10 4.4.4.2 vrf v1 r3 tping 100 10 4.4.4.1 vrf v1 r1 tping 100 10 4444::2 vrf v1 r3 tping 100 10 4444::1 vrf v1 r1 tping 100 10 5.5.5.2 vrf v1 r3 tping 100 10 5.5.5.1 vrf v1 r1 tping 100 10 5555::2 vrf v1 r3 tping 100 10 5555::1 vrf v1 freeRtr-24.11.16/cfg/mpls-te13.tst 0000664 0000000 0000000 00000012345 14716276021 0016412 0 ustar 00root root 0000000 0000000 description p2mp te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.11.2 ipv6 route v1 :: :: 1234:1::2 interface tunnel1 tunnel source loopback0 tunnel destination 9.9.9.9 tunnel domain-name 2.2.2.2 2.2.2.3 tunnel vrf v1 tunnel mode p2mpte vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit interface tunnel2 tunnel source loopback0 tunnel destination 9999::9 tunnel domain-name 4321::2 4321::3 tunnel vrf v1 tunnel mode p2mpte vrf for v1 ipv6 addr 3333::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.12.2 ipv6 route v1 :: :: 1234:2::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 3333::2 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.13.2 ipv6 route v1 :: :: 1234:3::2 int tun1 tun sou lo0 tun dest 2.2.2.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 3333::3 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.11.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 int eth2 vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.12.1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 int eth3 vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.13.1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 r4 tping 100 10 4321::1 vrf v1 sou lo0 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 r4 tping 100 10 4321::2 vrf v1 sou lo0 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 r4 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 r2 tping 100 10 4321::4 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 r3 tping 100 10 4321::4 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 3.3.3.1 vrf v1 r1 tping 100 10 3.3.3.2 vrf v1 r1 tping 100 10 3.3.3.3 vrf v1 r1 tping 100 10 3333::1 vrf v1 r1 tping 100 10 3333::2 vrf v1 r1 tping 100 10 3333::3 vrf v1 r2 tping 100 10 3.3.3.1 vrf v1 r2 tping 100 10 3.3.3.2 vrf v1 r2 tping 100 10 3.3.3.3 vrf v1 r2 tping 100 10 3333::1 vrf v1 r2 tping 100 10 3333::2 vrf v1 r2 tping 100 10 3333::3 vrf v1 r3 tping 100 10 3.3.3.1 vrf v1 r3 tping 100 10 3.3.3.2 vrf v1 r3 tping 100 10 3.3.3.3 vrf v1 r3 tping 100 10 3333::1 vrf v1 r3 tping 100 10 3333::2 vrf v1 r3 tping 100 10 3333::3 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 output show mpls forw r1 output show ipv4 rsvp v1 sum r1 output show ipv6 rsvp v1 sum output ../binTmp/mpls-te-p2mp.html here is the lib:
show:0here is the ipv4 database:
show:1here is the ipv6 database:
show:2! freeRtr-24.11.16/cfg/mpls-te14.tst 0000664 0000000 0000000 00000010634 14716276021 0016412 0 ustar 00root root 0000000 0000000 description p2mp te tail+mid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.11.2 ipv6 route v1 :: :: 1234:1::2 interface tunnel1 tunnel source loopback0 tunnel destination 9.9.9.9 tunnel domain-name 2.2.2.2 2.2.2.3 2.2.2.4 tunnel vrf v1 tunnel mode p2mpte vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit interface tunnel2 tunnel source loopback0 tunnel destination 9999::9 tunnel domain-name 4321::2 4321::3 4321::4 tunnel vrf v1 tunnel mode p2mpte vrf for v1 ipv6 addr 3333::1 ffff:ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.12.2 ipv6 route v1 :: :: 1234:2::2 int lo1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.13.2 ipv6 route v1 :: :: 1234:3::2 int lo1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.11.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 int eth2 vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.12.1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 int eth3 vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.13.1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 int lo1 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit ! r4 tping 100 10 2.2.2.1 vrf v1 sou lo0 r4 tping 100 10 4321::1 vrf v1 sou lo0 r4 tping 100 10 2.2.2.2 vrf v1 sou lo0 r4 tping 100 10 4321::2 vrf v1 sou lo0 r4 tping 100 10 2.2.2.3 vrf v1 sou lo0 r4 tping 100 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 2.2.2.3 vrf v1 sou lo0 r1 tping 100 10 4321::3 vrf v1 sou lo0 r2 tping 100 10 2.2.2.4 vrf v1 sou lo0 r2 tping 100 10 4321::4 vrf v1 sou lo0 r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r2 tping 100 10 2.2.2.3 vrf v1 sou lo0 r2 tping 100 10 4321::3 vrf v1 sou lo0 r3 tping 100 10 2.2.2.4 vrf v1 sou lo0 r3 tping 100 10 4321::4 vrf v1 sou lo0 r3 tping 100 10 2.2.2.1 vrf v1 sou lo0 r3 tping 100 10 4321::1 vrf v1 sou lo0 r3 tping 100 10 2.2.2.2 vrf v1 sou lo0 r3 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 100 10 3.3.3.1 vrf v1 sou lo0 multi r1 tping 100 10 3.3.3.2 vrf v1 sou lo0 multi r1 tping 100 10 3.3.3.3 vrf v1 sou lo0 multi r1 tping 300 10 3.3.3.4 vrf v1 sou lo0 multi r1 tping 100 10 3333::1 vrf v1 sou lo0 multi r1 tping 100 10 3333::2 vrf v1 sou lo0 multi r1 tping 100 10 3333::3 vrf v1 sou lo0 multi r1 tping 300 10 3333::4 vrf v1 sou lo0 multi freeRtr-24.11.16/cfg/mpls-te15.tst 0000664 0000000 0000000 00000003224 14716276021 0016410 0 ustar 00root root 0000000 0000000 description te with pcep addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun dom 1.1.1.2 v1 eth1 tun mod pcete vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun dom 1.1.1.2 v1 eth1 tun mod pcete vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit serv pcep p export-vrf v1 vrf v1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun dom 1.1.1.2 v1 eth1 tun mod pcete vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun dom 1.1.1.2 v1 eth1 tun mod pcete vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te16.tst 0000664 0000000 0000000 00000003135 14716276021 0016412 0 ustar 00root root 0000000 0000000 description te over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.3 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::3 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.3 vrf v1 r2 tping 0 10 1.1.1.2 vrf v1 freeRtr-24.11.16/cfg/mpls-te17.tst 0000664 0000000 0000000 00000003173 14716276021 0016415 0 ustar 00root root 0000000 0000000 description bidir te without global id addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun assoc 4.3.2.1 1234 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun assoc 4444::5555 1234 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun assoc 4.3.2.1 1234 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun assoc 4444::5555 1234 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te18.tst 0000664 0000000 0000000 00000003234 14716276021 0016414 0 ustar 00root root 0000000 0000000 description bidir te with global id addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.2 tun vrf v1 tun assoc 4.3.2.1 1234 12345678 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::2 tun vrf v1 tun assoc 4444::5555 1234 12345678 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun assoc 4.3.2.1 1234 12345678 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun assoc 4444::5555 1234 12345678 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit ! r1 tping 100 10 2.2.2.2 vrf v1 r2 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r2 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 freeRtr-24.11.16/cfg/mpls-te19.tst 0000664 0000000 0000000 00000010755 14716276021 0016423 0 ustar 00root root 0000000 0000000 description te explicit path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.4.5 255.255.255.0 ipv6 addr 1237::5 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router pvrp4 1 ena router pvrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode p2pte vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode p2pte vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router pvrp4 1 ena router pvrp4 1 metric-out 100 router pvrp6 1 ena router pvrp6 1 metric-out 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router pvrp4 1 ena router pvrp4 1 metric-out 100 router pvrp6 1 ena router pvrp6 1 metric-out 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable mpls rsvp4 mpls rsvp6 router pvrp4 1 ena router pvrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode p2pte vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode p2pte vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 red conn exit router pvrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: no mpls enable no mpls rsvp4 no mpls rsvp6 router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.4.4 255.255.255.0 ipv6 addr 1237::4 ffff:: no mpls enable no mpls rsvp4 no mpls rsvp6 router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/mpls-te20.tst 0000664 0000000 0000000 00000006257 14716276021 0016415 0 ustar 00root root 0000000 0000000 description bgp over te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.2 ipv6 route v1 2345::0 ffff:: 1234::2 int tun1 tun sou eth1 tun dest 1.1.2.2 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.1 255.255.255.252 exit int tun2 tun sou eth1 tun dest 2345::2 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::1 ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 2345::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 2345::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234::0 ffff:: 2345::1 int tun1 tun sou eth1 tun dest 1.1.1.1 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 2.2.2.2 255.255.255.252 exit int tun2 tun sou eth1 tun dest 1234::1 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 4321::2 ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 red conn exit ! r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r3 tping 100 10 4321::1 vrf v1 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r2 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 10 1.1.2.1 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 sou lo1 r3 tping 100 60 3.3.3.1 vrf v1 sou lo1 r1 tping 100 60 3333::3 vrf v1 sou lo1 r3 tping 100 60 3333::1 vrf v1 sou lo1 freeRtr-24.11.16/cfg/mpls-xconn01.tst 0000664 0000000 0000000 00000002527 14716276021 0017125 0 ustar 00root root 0000000 0000000 description cross connect with pwe over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 1234 side2 v1 eth2 pweompls 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn02.tst 0000664 0000000 0000000 00000002437 14716276021 0017126 0 ustar 00root root 0000000 0000000 description cross connect with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode pckoudp tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pckoudp 1.1.1.1 1234 side2 v1 eth2 pckoudp 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode pckoudp tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn03.tst 0000664 0000000 0000000 00000002415 14716276021 0017123 0 ustar 00root root 0000000 0000000 description cross connect with vxlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode vxlan tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 vxlan 1.1.1.1 1234 side2 v1 eth2 vxlan 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode vxlan tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn04.tst 0000664 0000000 0000000 00000002422 14716276021 0017122 0 ustar 00root root 0000000 0000000 description cross connect with geneve addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode geneve tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 geneve 1.1.1.1 1234 side2 v1 eth2 geneve 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode geneve tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn05.tst 0000664 0000000 0000000 00000002416 14716276021 0017126 0 ustar 00root root 0000000 0000000 description cross connect with erspan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode erspan tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 erspan 1.1.1.1 123 side2 v1 eth2 erspan 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode erspan tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn06.tst 0000664 0000000 0000000 00000002423 14716276021 0017125 0 ustar 00root root 0000000 0000000 description cross connect with etherip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode etherip tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 etherip 1.1.1.1 123 side2 v1 eth2 etherip 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode etherip tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn07.tst 0000664 0000000 0000000 00000002411 14716276021 0017123 0 ustar 00root root 0000000 0000000 description cross connect with sreth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode sreth tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 sreth 1.1.1.1 123 side2 v1 eth2 sreth 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode sreth tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn08.tst 0000664 0000000 0000000 00000002411 14716276021 0017124 0 ustar 00root root 0000000 0000000 description cross connect with nvgre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode nvgre tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 nvgre 1.1.1.1 123 side2 v1 eth2 nvgre 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode nvgre tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn09.tst 0000664 0000000 0000000 00000002377 14716276021 0017140 0 ustar 00root root 0000000 0000000 description cross connect with uti addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode uti tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 uti 1.1.1.1 123 side2 v1 eth2 uti 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode uti tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 r3 tping 100 5 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn10.tst 0000664 0000000 0000000 00000002611 14716276021 0017117 0 ustar 00root root 0000000 0000000 description cross connect with pwe over mpls with cw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel sequ tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 1234 control side2 v1 eth2 pweompls 1234:2::2 1234 control exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel sequ tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn11.tst 0000664 0000000 0000000 00000002512 14716276021 0017120 0 ustar 00root root 0000000 0000000 description cross connect interworking with packet over udp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 1234 side2 v1 eth2 pckoudp 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode pckoudp tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn12.tst 0000664 0000000 0000000 00000002474 14716276021 0017130 0 ustar 00root root 0000000 0000000 description cross connect interworking with vxlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 1234 side2 v1 eth2 vxlan 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode vxlan tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn13.tst 0000664 0000000 0000000 00000002477 14716276021 0017134 0 ustar 00root root 0000000 0000000 description cross connect interworking with geneve addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 1234 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 1234 side2 v1 eth2 geneve 1234:2::2 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode geneve tunnel key 1234 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn14.tst 0000664 0000000 0000000 00000002473 14716276021 0017131 0 ustar 00root root 0000000 0000000 description cross connect interworking with erspan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 123 side2 v1 eth2 erspan 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode erspan tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn15.tst 0000664 0000000 0000000 00000002476 14716276021 0017135 0 ustar 00root root 0000000 0000000 description cross connect interworking with etherip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 123 side2 v1 eth2 etherip 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode etherip tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn16.tst 0000664 0000000 0000000 00000002470 14716276021 0017130 0 ustar 00root root 0000000 0000000 description cross connect interworking with sreth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 123 side2 v1 eth2 sreth 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode sreth tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn17.tst 0000664 0000000 0000000 00000002470 14716276021 0017131 0 ustar 00root root 0000000 0000000 description cross connect interworking with nvgre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 123 side2 v1 eth2 nvgre 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode nvgre tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn18.tst 0000664 0000000 0000000 00000002462 14716276021 0017133 0 ustar 00root root 0000000 0000000 description cross connect interworking with uti addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 123 side2 v1 eth2 uti 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode uti tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn19.tst 0000664 0000000 0000000 00000002465 14716276021 0017137 0 ustar 00root root 0000000 0000000 description cross connect interworking with dlsw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit int tun1 tunnel vrf v1 tunnel mode pweompls tunnel key 123 tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit xconnect con side1 v1 eth1 pweompls 1.1.1.1 123 side2 v1 eth2 dlsw 1234:2::2 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tunnel vrf v1 tunnel mode dlsw tunnel key 123 tunnel source ethernet1 tunnel destination 1234:2::1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::2 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r3 tping 100 10 2.2.2.1 vrf v1 freeRtr-24.11.16/cfg/mpls-xconn20.tst 0000664 0000000 0000000 00000021356 14716276021 0017127 0 ustar 00root root 0000000 0000000 description cross connect with everything addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ int eth4 eth 0000.0000.4444 $4a$ $4b$ int eth5 eth 0000.0000.5555 $5a$ $5b$ int eth6 eth 0000.0000.6666 $6a$ $6b$ int eth7 eth 0000.0000.7777 $7a$ $7b$ int eth8 eth 0000.0000.8888 $8a$ $8b$ int eth9 eth 0000.0000.9999 $9a$ $9b$ int eth10 eth 0000.0000.aaaa $10a$ $10b$ int eth11 eth 0000.0000.bbbb $11a$ $11b$ int eth12 eth 0000.0000.cccc $12a$ $12b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p2 vrf v1 source lo0 exit proxy-profile p1 vrf v1 exit bridge 1 mac-learn exit int bvi1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.2 vcid 1234 dir out pwt eth prot l2tp3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 3.3.3.3 255.255.255.255 1.1.1.6 ipv6 route v1 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 vpdn eompls bridge-gr 1 proxy p2 target 3.3.3.3 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit vpdn pou bridge-gr 1 proxy p1 target 1.1.1.10 vcid 1234 protocol pckoudp exit int eth4 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit vpdn vxl bridge-gr 1 proxy p1 tar 1.1.1.14 vcid 1234 prot vxlan exit int eth5 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: exit vpdn gnv bridge-gr 1 proxy p1 tar 1.1.1.18 vcid 1234 prot geneve exit int eth6 vrf for v1 ipv4 addr 1.1.1.21 255.255.255.252 ipv6 addr 1234:6::1 ffff:ffff:: exit vpdn rspn bridge-gr 1 proxy p1 tar 1.1.1.22 vcid 123 prot erspan exit int eth7 vrf for v1 ipv4 addr 1.1.1.25 255.255.255.252 ipv6 addr 1234:7::1 ffff:ffff:: exit vpdn eip bridge-gr 1 proxy p1 tar 1.1.1.26 vcid 1234 prot etherip exit int eth8 vrf for v1 ipv4 addr 1.1.1.29 255.255.255.252 ipv6 addr 1234:8::1 ffff:ffff:: exit vpdn ngr bridge-gr 1 proxy p1 tar 1.1.1.30 vcid 1234 prot nvgre exit int eth9 vrf for v1 ipv4 addr 1.1.1.33 255.255.255.252 ipv6 addr 1234:9::1 ffff:ffff:: exit vpdn uti bridge-gr 1 proxy p1 tar 1.1.1.34 vcid 1234 prot uti exit int eth10 vrf for v1 ipv4 addr 1.1.1.37 255.255.255.252 ipv6 addr 1234:10::1 ffff:ffff:: exit vpdn dlsw bridge-gr 1 proxy p1 tar 1.1.1.38 vcid 1234 prot dlsw exit int eth11 vrf for v1 ipv4 addr 1.1.1.41 255.255.255.252 ipv6 addr 1234:11::1 ffff:ffff:: exit vpdn capwap bridge-gr 1 proxy p1 tar 1.1.1.42 prot capwap exit int eth12 vrf for v1 ipv4 addr 1.1.1.45 255.255.255.252 ipv6 addr 1234:12::1 ffff:ffff:: exit vpdn lwapp bridge-gr 1 proxy p1 tar 1.1.1.46 prot lwapp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit vpdn l2tp bridge-gr 1 proxy p1 tar 1.1.1.1 vcid 1234 dir in pwt eth prot l2tp3 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit proxy-profile p1 vrf v1 source lo0 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:ffff:: exit ipv4 route v1 3.3.3.1 255.255.255.255 1.1.1.5 ipv6 route v1 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 vpdn eompls bridge-gr 1 proxy p1 target 3.3.3.1 mtu 1500 vcid 1234 pwtype eth protocol pweompls exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.0 ipv6 addr 4321::4 ffff:ffff:: exit vpdn pou bridge-gr 1 proxy p1 target 1.1.1.9 vcid 1234 protocol pckoudp exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.0 ipv6 addr 4321::5 ffff:ffff:: exit server vxlan vxl bridge 1 vrf v1 inst 1234 exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.0 ipv6 addr 4321::6 ffff:ffff:: exit server geneve gnv bridge 1 vrf v1 vni 1234 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $6b$ $6a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.22 255.255.255.252 ipv6 addr 1234:6::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.7 255.255.255.0 ipv6 addr 4321::7 ffff:ffff:: exit vpdn rspn bridge-gr 1 proxy p1 tar 1.1.1.21 vcid 123 prot erspan exit ! addrouter r8 int eth1 eth 0000.0000.8888 $7b$ $7a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.26 255.255.255.252 ipv6 addr 1234:7::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.8 255.255.255.0 ipv6 addr 4321::8 ffff:ffff:: exit vpdn eip bridge-gr 1 proxy p1 tar 1.1.1.25 vcid 1234 prot etherip exit ! addrouter r9 int eth1 eth 0000.0000.9999 $8b$ $8a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.30 255.255.255.252 ipv6 addr 1234:8::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.9 255.255.255.0 ipv6 addr 4321::9 ffff:ffff:: exit vpdn ngr bridge-gr 1 proxy p1 tar 1.1.1.29 vcid 1234 prot nvgre exit ! addrouter r10 int eth1 eth 0000.0000.aaaa $9b$ $9a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.34 255.255.255.252 ipv6 addr 1234:9::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.10 255.255.255.0 ipv6 addr 4321::10 ffff:ffff:: exit vpdn uti bridge-gr 1 proxy p1 tar 1.1.1.33 vcid 1234 prot uti exit ! addrouter r11 int eth1 eth 0000.0000.bbbb $10b$ $10a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.38 255.255.255.252 ipv6 addr 1234:10::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.0 ipv6 addr 4321::11 ffff:ffff:: exit vpdn uti bridge-gr 1 proxy p1 tar 1.1.1.37 vcid 1234 prot dlsw exit ! addrouter r12 int eth1 eth 0000.0000.cccc $11b$ $11a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.42 255.255.255.252 ipv6 addr 1234:11::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.0 ipv6 addr 4321::12 ffff:ffff:: exit vpdn uti bridge-gr 1 proxy p1 tar 1.1.1.41 prot capwap exit ! addrouter r13 int eth1 eth 0000.0000.dddd $12b$ $12a$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.46 255.255.255.252 ipv6 addr 1234:12::2 ffff:ffff:: exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.0 ipv6 addr 4321::13 ffff:ffff:: exit vpdn uti bridge-gr 1 proxy p1 tar 1.1.1.45 prot lwapp exit ! r1 tping 100 10 2.2.2.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 r1 tping 100 10 2.2.2.3 vrf v1 r1 tping 100 10 2.2.2.4 vrf v1 r1 tping 100 10 2.2.2.5 vrf v1 r1 tping 100 10 2.2.2.6 vrf v1 r1 tping 100 10 2.2.2.7 vrf v1 r1 tping 100 10 2.2.2.8 vrf v1 r1 tping 100 10 2.2.2.9 vrf v1 r1 tping 100 10 2.2.2.10 vrf v1 r1 tping 100 10 2.2.2.11 vrf v1 r1 tping 100 10 2.2.2.12 vrf v1 r1 tping 100 10 2.2.2.13 vrf v1 r1 tping 100 10 4321::1 vrf v1 r1 tping 100 10 4321::2 vrf v1 r1 tping 100 10 4321::3 vrf v1 r1 tping 100 10 4321::4 vrf v1 r1 tping 100 10 4321::5 vrf v1 r1 tping 100 10 4321::6 vrf v1 r1 tping 100 10 4321::7 vrf v1 r1 tping 100 10 4321::8 vrf v1 r1 tping 100 10 4321::9 vrf v1 r1 tping 100 10 4321::10 vrf v1 r1 tping 100 10 4321::11 vrf v1 r1 tping 100 10 4321::12 vrf v1 r1 tping 100 10 4321::13 vrf v1 freeRtr-24.11.16/cfg/opnflw-rout01.tst 0000664 0000000 0000000 00000023337 14716276021 0017325 0 ustar 00root root 0000000 0000000 description openflow: software routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: exit server openflow of no export-vrf v1 export-port sdn1 1 export-port sdn2 2 export-port sdn3 3 export-port sdn4 4 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 output show version r1 output show platform r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout01.html here are the flows:
show:2! output ../binTmp/basic2.html here is the version information:
show:0here is the platform information:
show:1! freeRtr-24.11.16/cfg/opnflw-rout02.tst 0000664 0000000 0000000 00000021377 14716276021 0017330 0 ustar 00root root 0000000 0000000 description openflow: bridging and routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int sdn1 bridge-gr 1 exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: exit server openflow of export-vrf v1 export-port sdn1 1 export-port sdn2 2 export-port sdn3 3 export-port sdn4 4 export-port bvi1 0 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.3 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.3 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.1.3 vrf v1 r1 tping 100 10 1234:1::3 vrf v1 r1 tping 100 10 1.1.1.4 vrf v1 r1 tping 100 10 1234:1::4 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.3 vrf v1 r3 tping 100 10 1234:1::3 vrf v1 r3 tping 100 10 1.1.1.4 vrf v1 r3 tping 100 10 1234:1::4 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.1.3 vrf v1 r4 tping 100 10 1234:1::3 vrf v1 r4 tping 100 10 1.1.1.4 vrf v1 r4 tping 100 10 1234:1::4 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.1.3 vrf v1 r5 tping 100 10 1234:1::3 vrf v1 r5 tping 100 10 1.1.1.4 vrf v1 r5 tping 100 10 1234:1::4 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.1.3 vrf v1 r6 tping 100 10 1234:1::3 vrf v1 r6 tping 100 10 1.1.1.4 vrf v1 r6 tping 100 10 1234:1::4 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout02.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout03.tst 0000664 0000000 0000000 00000023000 14716276021 0017312 0 ustar 00root root 0000000 0000000 description openflow: ip routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: exit server openflow of export-vrf v1 export-port sdn1 1 export-port sdn2 2 export-port sdn3 3 export-port sdn4 4 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout03.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout04.tst 0000664 0000000 0000000 00000023320 14716276021 0017320 0 ustar 00root root 0000000 0000000 description openflow: mpls routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit server openflow of export-vrf v1 export-port sdn1 1 export-port sdn2 2 export-port sdn3 3 export-port sdn4 4 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout04.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout05.tst 0000664 0000000 0000000 00000025146 14716276021 0017331 0 ustar 00root root 0000000 0000000 description openflow: multicast routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit server openflow of export-vrf v1 export-port sdn1 1 export-port sdn2 2 export-port sdn3 3 export-port sdn4 4 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 300 10 232.2.2.2 vrf v1 sou lo0 multi r3 tping 300 10 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout05.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout06.tst 0000664 0000000 0000000 00000025305 14716276021 0017327 0 ustar 00root root 0000000 0000000 description openflow: mldp routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server openflow of export-vrf v1 export-port sdn1 1 export-port sdn2 2 export-port sdn3 3 export-port sdn4 4 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 300 10 232.2.2.2 vrf v1 sou lo0 multi r3 tping 300 10 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout06.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout07.tst 0000664 0000000 0000000 00000024755 14716276021 0017340 0 ustar 00root root 0000000 0000000 description openflow: ip routing over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $13a$ $13b$ int eth3 eth 0000.0000.1111 $14a$ $14b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth2 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit server dhcp4 eth2 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.3333 10.12.13.111 interface eth2 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit server dhcp4 eth3 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.4444 10.13.14.111 interface eth3 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: exit int sdn13 vrf for v1 mpls enable exit int sdn14 vrf for v1 mpls enable exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: exit int sdn23 vrf for v1 mpls enable exit int sdn24 vrf for v1 mpls enable exit int sdn31 vrf for v1 mpls enable exit int sdn32 vrf for v1 mpls enable exit int sdn33 vrf for v1 mpls enable exit int sdn34 vrf for v1 mpls enable exit server openflow a export-vrf v1 export-port sdn11 1 export-port sdn12 2 export-port sdn13 3 export-port sdn14 4 exit server openflow b export-vrf v1 export-port sdn21 1 export-port sdn22 2 export-port sdn23 3 export-port sdn24 4 exit server openflow c export-vrf v1 export-port sdn31 1 export-port sdn32 2 export-port sdn33 3 export-port sdn34 4 exit server stack s dataplanes 4 forwarder 1 openflow a forwarder 1 backplane sdn13 1 forwarder 1 backplane sdn14 1 forwarder 1 remote 10.11.12.111 forwarder 2 openflow b forwarder 2 backplane sdn23 1 forwarder 2 backplane sdn24 1 forwarder 2 remote 10.12.13.111 forwarder 3 openflow c forwarder 3 backplane sdn31 1 forwarder 3 backplane sdn32 1 forwarder 3 backplane sdn33 1 forwarder 3 backplane sdn34 1 forwarder 3 remote 10.13.14.111 port 6653 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $7a$ $7b$ int eth5 eth 0000.0000.2222 $8a$ $8b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 int eth1 eth 0000.0000.3333 $13b$ $13a$ int eth2 eth 0000.0000.3333 $4a$ $4b$ int eth3 eth 0000.0000.3333 $5a$ $5b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $9a$ $9b$ ! ! addother r4 int eth1 eth 0000.0000.4444 $14b$ $14a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ int eth3 eth 0000.0000.4444 $8b$ $8a$ int eth4 eth 0000.0000.4444 $10b$ $10a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12a$ $12b$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r8 int eth1 eth 0000.0000.8888 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r8 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r8 4321::103 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout07.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout08.tst 0000664 0000000 0000000 00000027517 14716276021 0017340 0 ustar 00root root 0000000 0000000 description openflow: mpls routing over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $13a$ $13b$ int eth3 eth 0000.0000.1111 $14a$ $14b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth2 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit server dhcp4 eth2 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.3333 10.12.13.111 interface eth2 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit server dhcp4 eth3 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.4444 10.13.14.111 interface eth3 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn13 vrf for v1 mpls enable exit int sdn14 vrf for v1 mpls enable exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int sdn23 vrf for v1 mpls enable exit int sdn24 vrf for v1 mpls enable exit int sdn31 vrf for v1 mpls enable exit int sdn32 vrf for v1 mpls enable exit int sdn33 vrf for v1 mpls enable exit int sdn34 vrf for v1 mpls enable exit server openflow a export-vrf v1 export-port sdn11 1 export-port sdn12 2 export-port sdn13 3 export-port sdn14 4 exit server openflow b export-vrf v1 export-port sdn21 1 export-port sdn22 2 export-port sdn23 3 export-port sdn24 4 exit server openflow c export-vrf v1 export-port sdn31 1 export-port sdn32 2 export-port sdn33 3 export-port sdn34 4 exit server stack s dataplanes 4 forwarder 1 openflow a forwarder 1 backplane sdn13 1 forwarder 1 backplane sdn14 1 forwarder 1 remote 10.11.12.111 forwarder 2 openflow b forwarder 2 backplane sdn23 1 forwarder 2 backplane sdn24 1 forwarder 2 remote 10.12.13.111 forwarder 3 openflow c forwarder 3 backplane sdn31 1 forwarder 3 backplane sdn32 1 forwarder 3 backplane sdn33 1 forwarder 3 backplane sdn34 1 forwarder 3 remote 10.13.14.111 port 6653 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $7a$ $7b$ int eth5 eth 0000.0000.2222 $8a$ $8b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 int eth1 eth 0000.0000.3333 $13b$ $13a$ int eth2 eth 0000.0000.3333 $4a$ $4b$ int eth3 eth 0000.0000.3333 $5a$ $5b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $9a$ $9b$ ! ! addother r4 int eth1 eth 0000.0000.4444 $14b$ $14a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ int eth3 eth 0000.0000.4444 $8b$ $8a$ int eth4 eth 0000.0000.4444 $10b$ $10a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12a$ $12b$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r8 int eth1 eth 0000.0000.8888 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r8 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r8 4321::103 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout08.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw-rout09.tst 0000664 0000000 0000000 00000027123 14716276021 0017332 0 ustar 00root root 0000000 0000000 description openflow: multicast routing over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $13a$ $13b$ int eth3 eth 0000.0000.1111 $14a$ $14b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth2 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit server dhcp4 eth2 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.3333 10.12.13.111 interface eth2 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit server dhcp4 eth3 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name ovs static 0000.0000.4444 10.13.14.111 interface eth3 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn13 vrf for v1 mpls enable exit int sdn14 vrf for v1 mpls enable exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn23 vrf for v1 mpls enable exit int sdn24 vrf for v1 mpls enable exit int sdn31 vrf for v1 mpls enable exit int sdn32 vrf for v1 mpls enable exit int sdn33 vrf for v1 mpls enable exit int sdn34 vrf for v1 mpls enable exit server openflow a export-vrf v1 export-port sdn11 1 export-port sdn12 2 export-port sdn13 3 export-port sdn14 4 exit server openflow b export-vrf v1 export-port sdn21 1 export-port sdn22 2 export-port sdn23 3 export-port sdn24 4 exit server openflow c export-vrf v1 export-port sdn31 1 export-port sdn32 2 export-port sdn33 3 export-port sdn34 4 exit server stack s dataplanes 4 forwarder 1 openflow a forwarder 1 backplane sdn13 1 forwarder 1 backplane sdn14 1 forwarder 1 remote 10.11.12.111 forwarder 2 openflow b forwarder 2 backplane sdn23 1 forwarder 2 backplane sdn24 1 forwarder 2 remote 10.12.13.111 forwarder 3 openflow c forwarder 3 backplane sdn31 1 forwarder 3 backplane sdn32 1 forwarder 3 backplane sdn33 1 forwarder 3 backplane sdn34 1 forwarder 3 remote 10.13.14.111 port 6653 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $7a$ $7b$ int eth5 eth 0000.0000.2222 $8a$ $8b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 int eth1 eth 0000.0000.3333 $13b$ $13a$ int eth2 eth 0000.0000.3333 $4a$ $4b$ int eth3 eth 0000.0000.3333 $5a$ $5b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $9a$ $9b$ ! ! addother r4 int eth1 eth 0000.0000.4444 $14b$ $14a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ int eth3 eth 0000.0000.4444 $8b$ $8a$ int eth4 eth 0000.0000.4444 $10b$ $10a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12a$ $12b$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r7 int eth1 eth 0000.0000.7777 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r8 int eth1 eth 0000.0000.8888 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 mroute v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv6 mroute v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 300 10 232.2.2.2 vrf v1 sou lo0 multi r5 tping 300 10 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r5 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r5 ff06::1 vrf v1 sou lo0 r1 send tclsh r1 output exec "telnet 10.11.12.111 2323 vrf v9 sou lo9" output ../binTmp/opnflw-rout09.html here are the flows:
show:0! freeRtr-24.11.16/cfg/opnflw.ini 0000664 0000000 0000000 00000000640 14716276021 0016132 0 ustar 00root root 0000000 0000000 openflow qemu-img create -f qcow2 -o backing_file=../img/opnflw.img,backing_fmt=raw $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 1024 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang-acl001.tst 0000664 0000000 0000000 00000023331 14716276021 0017025 0 ustar 00root root 0000000 0000000 description p4lang: copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.101 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-copp4 v1 test4 export-copp6 v1 test6 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature copp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 0 10 2.2.2.104 vrf v1 sou lo0 r1 tping 0 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 2.2.2.101 vrf v1 sou lo0 r4 tping 0 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl002.tst 0000664 0000000 0000000 00000023361 14716276021 0017031 0 ustar 00root root 0000000 0000000 description p4lang: ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl003.tst 0000664 0000000 0000000 00000023362 14716276021 0017033 0 ustar 00root root 0000000 0000000 description p4lang: egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl004.tst 0000664 0000000 0000000 00000024755 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: nat addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 access-list test4 permit 17 2.2.2.0 255.255.255.0 all 2.2.2.0 255.255.255.0 all permit 6 2.2.2.0 255.255.255.0 all 2.2.2.0 255.255.255.0 all deny all any all any all exit access-list test6 permit 17 4321:: ffff:: all 4321:: ffff:: all permit 6 4321:: ffff:: all 4321:: ffff:: all deny all any all any all exit ipv4 nat v1 srclist test4 interface lo0 ipv6 nat v1 srclist test6 interface lo0 ! addother r2 controller r1 v9 9080 - feature nat int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 pool p4 3.3.3.1 0.0.0.1 254 int di1 enc ppp vrf for v1 ipv4 addr 3.3.3.0 255.255.255.255 ppp ip4cp local 3.3.3.0 ipv4 pool p4 ppp ip4cp open exit server pckoudp pou clone di1 port 4552 vrf v1 exit server pckotcp pou clone di1 port 4552 vrf v1 exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v4 rd 1:1 exit vrf def v5 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 proxy-profile p1 vrf v1 sou lo0 exit int di1 enc ppp vrf for v2 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di1 int di1 proxy p1 tar 2.2.2.105 vcid 4552 prot pckoudp exit int di2 enc ppp vrf for v3 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 int di2 proxy p1 tar 4321::105 vcid 4552 prot pckoudp exit int di3 enc ppp vrf for v4 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 int di3 proxy p1 tar 2.2.2.105 vcid 4552 prot pckotcp exit int di4 enc ppp vrf for v5 ipv4 addr 3.3.3.3 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di4 int di4 proxy p1 tar 4321::105 vcid 4552 prot pckotcp exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 3.3.3.0 vrf v2 r6 tping 100 10 3.3.3.0 vrf v3 r6 tping 100 10 3.3.3.0 vrf v4 r6 tping 100 10 3.3.3.0 vrf v5 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 0 10 2.2.2.106 vrf v1 sou lo0 r5 tping 0 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.0 vrf v2 r6 tping 100 10 3.3.3.0 vrf v3 r6 tping 100 10 3.3.3.0 vrf v4 r6 tping 100 10 3.3.3.0 vrf v5 r1 dping sdn . r6 3.3.3.0 vrf v2 r1 dping sdn . r6 3.3.3.0 vrf v3 !r1 dping sdn . r6 3.3.3.0 vrf v4 !r1 dping sdn . r6 3.3.3.0 vrf v5 r1 output show ipv4 nat v1 tra r1 output show ipv6 nat v1 tra freeRtr-24.11.16/cfg/p4lang-acl005.tst 0000664 0000000 0000000 00000023422 14716276021 0017032 0 ustar 00root root 0000000 0000000 description p4lang: vlan ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl006.tst 0000664 0000000 0000000 00000023423 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: vlan egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl007.tst 0000664 0000000 0000000 00000016176 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: bundle ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature acl bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl008.tst 0000664 0000000 0000000 00000016177 14716276021 0017046 0 ustar 00root root 0000000 0000000 description p4lang: bundle egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.105 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature acl bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl009.tst 0000664 0000000 0000000 00000016216 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature acl bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl010.tst 0000664 0000000 0000000 00000016217 14716276021 0017032 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.105 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature acl bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl011.tst 0000664 0000000 0000000 00000021776 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: bridge ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature acl bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl012.tst 0000664 0000000 0000000 00000021777 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: bridge egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.105 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature acl bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl013.tst 0000664 0000000 0000000 00000022066 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature acl bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl014.tst 0000664 0000000 0000000 00000022067 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.105 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature acl bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl015.tst 0000664 0000000 0000000 00000023525 14716276021 0017037 0 ustar 00root root 0000000 0000000 description p4lang: ingress pppoe access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl pppoe int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl016.tst 0000664 0000000 0000000 00000023526 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: egress pppoe access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn4 p2poe relay di1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl pppoe int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int eth1 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl017.tst 0000664 0000000 0000000 00000023566 14716276021 0017046 0 ustar 00root root 0000000 0000000 description p4lang: ingress vlan pppoe access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 exit int sdn2.111 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl pppoe vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1.111 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl018.tst 0000664 0000000 0000000 00000023567 14716276021 0017050 0 ustar 00root root 0000000 0000000 description p4lang: egress vlan pppoe access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn4 exit int sdn4.111 p2poe relay di1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl pppoe vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int eth1.111 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl019.tst 0000664 0000000 0000000 00000032020 14716276021 0017031 0 ustar 00root root 0000000 0000000 description p4lang: hairpin ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int hair12 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl020.tst 0000664 0000000 0000000 00000032021 14716276021 0017022 0 ustar 00root root 0000000 0000000 description p4lang: hairpin egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl021.tst 0000664 0000000 0000000 00000032042 14716276021 0017026 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11.111 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int hair12.111 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl022.tst 0000664 0000000 0000000 00000032043 14716276021 0017030 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11.111 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12.111 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl023.tst 0000664 0000000 0000000 00000032237 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: hairpin pppoe ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit int hair11 p2poe client di1 exit int hair12 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin pppoe int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl024.tst 0000664 0000000 0000000 00000032240 14716276021 0017031 0 ustar 00root root 0000000 0000000 description p4lang: hairpin pppoe egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int hair11 p2poe client di1 exit int hair12 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin pppoe int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl025.tst 0000664 0000000 0000000 00000032261 14716276021 0017035 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan pppoe ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit int hair11.111 p2poe client di1 exit int hair12.111 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin pppoe vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl026.tst 0000664 0000000 0000000 00000032262 14716276021 0017037 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan pppoe egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int hair11.111 p2poe client di1 exit int hair12.111 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin pppoe vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl027.tst 0000664 0000000 0000000 00000024330 14716276021 0017035 0 ustar 00root root 0000000 0000000 description p4lang: ingress gre access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gre int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl028.tst 0000664 0000000 0000000 00000024331 14716276021 0017037 0 ustar 00root root 0000000 0000000 description p4lang: egress gre access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gre int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl029.tst 0000664 0000000 0000000 00000024401 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: ingress vlan gre access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gre vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl030.tst 0000664 0000000 0000000 00000024402 14716276021 0017027 0 ustar 00root root 0000000 0000000 description p4lang: egress vlan gre access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gre vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl031.tst 0000664 0000000 0000000 00000024264 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: ingress l2tp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l2tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl032.tst 0000664 0000000 0000000 00000024265 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: egress l2tp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l2tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl033.tst 0000664 0000000 0000000 00000024331 14716276021 0017033 0 ustar 00root root 0000000 0000000 description p4lang: ingress vlan l2tp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l2tp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl034.tst 0000664 0000000 0000000 00000024332 14716276021 0017035 0 ustar 00root root 0000000 0000000 description p4lang: egress vlan l2tp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l2tp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl035.tst 0000664 0000000 0000000 00000024334 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: ingress ipip access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl ipip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl036.tst 0000664 0000000 0000000 00000024335 14716276021 0017042 0 ustar 00root root 0000000 0000000 description p4lang: egress ipip access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl ipip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl037.tst 0000664 0000000 0000000 00000024405 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: ingress vlan ipip access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl ipip vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl038.tst 0000664 0000000 0000000 00000024406 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: egress vlan ipip access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl ipip vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl039.tst 0000664 0000000 0000000 00000023406 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: ingress common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-common-in test4 ipv6 access-group-common-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl040.tst 0000664 0000000 0000000 00000023407 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: egress common access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-common-out test4 ipv6 access-group-common-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl041.tst 0000664 0000000 0000000 00000023536 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: ingress hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit object-group net test4 2.2.2.104 255.255.255.255 2.2.2.106 255.255.255.255 exit object-group net test6 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 obj test4 all obj test4 all permit all any all any all exit access-list test6 deny 58 obj test6 all obj test6 all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl042.tst 0000664 0000000 0000000 00000023537 14716276021 0017042 0 ustar 00root root 0000000 0000000 description p4lang: egress hybrid access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit object-group net test4 2.2.2.104 255.255.255.255 2.2.2.106 255.255.255.255 exit object-group net test6 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 obj test4 all obj test4 all permit all any all any all exit access-list test6 deny 58 obj test6 all obj test6 all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl043.tst 0000664 0000000 0000000 00000023544 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: ingress hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4a permit 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all exit access-list test6a permit 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4b ipv6 access-group-in test6b exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl044.tst 0000664 0000000 0000000 00000023545 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: egress hierarchical access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4a permit 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all exit access-list test6a permit 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test4b evaluate deny test4a permit all any all any all exit access-list test6b evaluate deny test6a permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4b ipv6 access-group-out test6b exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl045.tst 0000664 0000000 0000000 00000024062 14716276021 0017037 0 ustar 00root root 0000000 0000000 description p4lang: ingress policer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a1 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act pol access-rate 81920 match access a1 seq 20 act trans exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena service-policy-in p1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route qos int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl046.tst 0000664 0000000 0000000 00000024062 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: egress policer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a1 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act pol access-rate 81920 match access a1 seq 20 act trans exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena service-policy-out p1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route qos int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl047.tst 0000664 0000000 0000000 00000024123 14716276021 0017037 0 ustar 00root root 0000000 0000000 description p4lang: vlan ingress policer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a1 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act pol access-rate 81920 match access a1 seq 20 act trans exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena service-policy-in p1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan qos int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl048.tst 0000664 0000000 0000000 00000024123 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: vlan egress policer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a1 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act pol access-rate 81920 match access a1 seq 20 act trans exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena service-policy-out p1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan qos int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl049.tst 0000664 0000000 0000000 00000024330 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: transmit flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a4 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all exit access-list a6 permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p4 seq 10 act trans match access-group a4 exit policy-map p6 seq 10 act trans match access-group a6 exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route flwspc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl050.tst 0000664 0000000 0000000 00000024060 14716276021 0017031 0 ustar 00root root 0000000 0000000 description p4lang: drop flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a4 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all exit access-list a6 permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p4 seq 10 act drop match access-group a4 exit policy-map p6 seq 10 act drop match access-group a6 exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route flwspc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 0-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 0-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl051.tst 0000664 0000000 0000000 00000024375 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: policer flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a4 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all exit access-list a6 permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p4 seq 10 act pol access-rate 81920 match access-group a4 exit policy-map p6 seq 10 act pol access-rate 81920 match access-group a6 exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route flwspc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl052.tst 0000664 0000000 0000000 00000024376 14716276021 0017045 0 ustar 00root root 0000000 0000000 description p4lang: priority flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a4 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all exit access-list a6 permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p4 seq 10 act pri access-rate 81920 match access-group a4 exit policy-map p6 seq 10 act pri access-rate 81920 match access-group a6 exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route flwspc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl053.tst 0000664 0000000 0000000 00000024330 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: ingress amt access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode amt vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl amt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode amt vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl054.tst 0000664 0000000 0000000 00000024331 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: egress amt access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode amt vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl amt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode amt vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl055.tst 0000664 0000000 0000000 00000025515 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: ingress reflexive access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list dyn4i hidden exit access-list dyn4o hidden exit access-list dyn6i hidden exit access-list dyn6o hidden exit access-list test4o seq 1 permit 1 any all any all seq 10 evaluate permit dyn4o seq 20 deny all any all any all exit access-list test6o seq 1 permit 58 any all any all seq 10 evaluate permit dyn6o seq 20 deny all any all any all exit access-list test4i seq 10 evaluate permit dyn4i seq 20 permit all any all any all seq 20 reflect dyn4i dyn4o 30000 exit access-list test6i seq 10 evaluate permit dyn6i seq 20 permit all any all any all seq 20 reflect dyn6i dyn6o 30000 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4i ipv6 access-group-in test6i ipv4 access-group-out test4o ipv6 access-group-out test6o exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature racl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl056.tst 0000664 0000000 0000000 00000025514 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: egress reflexive access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list dyn4i hidden exit access-list dyn4o hidden exit access-list dyn6i hidden exit access-list dyn6o hidden exit access-list test4i seq 1 permit 1 any all any all seq 10 evaluate permit dyn4i seq 20 deny all any all any all exit access-list test6i seq 1 permit 58 any all any all seq 10 evaluate permit dyn6i seq 20 deny all any all any all exit access-list test4o seq 10 evaluate permit dyn4o seq 20 permit all any all any all seq 20 reflect dyn4o dyn4i 30000 exit access-list test6o seq 10 evaluate permit dyn6o seq 20 permit all any all any all seq 20 reflect dyn6o dyn6i 30000 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4i ipv6 access-group-in test6i ipv4 access-group-out test4o ipv6 access-group-out test6o exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature racl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl057.tst 0000664 0000000 0000000 00000024472 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl058.tst 0000664 0000000 0000000 00000024473 14716276021 0017051 0 ustar 00root root 0000000 0000000 description p4lang: interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl059.tst 0000664 0000000 0000000 00000024533 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: vlan interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl060.tst 0000664 0000000 0000000 00000024534 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: vlan interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl061.tst 0000664 0000000 0000000 00000023142 14716276021 0017033 0 ustar 00root root 0000000 0000000 description p4lang: bridge interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 resend ipv6 resend ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature bridge inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl062.tst 0000664 0000000 0000000 00000023142 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: bridge interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 resend ipv6 resend ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature bridge inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl063.tst 0000664 0000000 0000000 00000024637 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: pppoe interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl064.tst 0000664 0000000 0000000 00000024636 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: pppoe interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn4 p2poe relay di1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::106 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int eth1 p2poe client di1 exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r6 tping 100 10 3.3.1.1 vrf v1 r6 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r6 3.3.1.1 vrf v1 r1 dping sdn . r6 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl065.tst 0000664 0000000 0000000 00000025442 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: gre interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl066.tst 0000664 0000000 0000000 00000025441 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: gre interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl067.tst 0000664 0000000 0000000 00000025376 14716276021 0017054 0 ustar 00root root 0000000 0000000 description p4lang: l2tp interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl068.tst 0000664 0000000 0000000 00000025375 14716276021 0017054 0 ustar 00root root 0000000 0000000 description p4lang: l2tp interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl069.tst 0000664 0000000 0000000 00000025442 14716276021 0017050 0 ustar 00root root 0000000 0000000 description p4lang: interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl070.tst 0000664 0000000 0000000 00000025503 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: vlan interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl071.tst 0000664 0000000 0000000 00000024057 14716276021 0017042 0 ustar 00root root 0000000 0000000 description p4lang: bridge interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature bridge vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl072.tst 0000664 0000000 0000000 00000025606 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: pppoe interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl073.tst 0000664 0000000 0000000 00000026411 14716276021 0017040 0 ustar 00root root 0000000 0000000 description p4lang: gre interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl074.tst 0000664 0000000 0000000 00000026345 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: l2tp interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl075.tst 0000664 0000000 0000000 00000025452 14716276021 0017046 0 ustar 00root root 0000000 0000000 description p4lang: interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl076.tst 0000664 0000000 0000000 00000025513 14716276021 0017045 0 ustar 00root root 0000000 0000000 description p4lang: vlan interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl077.tst 0000664 0000000 0000000 00000024067 14716276021 0017051 0 ustar 00root root 0000000 0000000 description p4lang: bridge interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature bridge vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl078.tst 0000664 0000000 0000000 00000025616 14716276021 0017053 0 ustar 00root root 0000000 0000000 description p4lang: pppoe interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl079.tst 0000664 0000000 0000000 00000026421 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: gre interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl080.tst 0000664 0000000 0000000 00000026355 14716276021 0017045 0 ustar 00root root 0000000 0000000 description p4lang: l2tp interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl081.tst 0000664 0000000 0000000 00000024447 14716276021 0017046 0 ustar 00root root 0000000 0000000 description p4lang: ingress gtp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gtp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gtp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit ipv4 pool p4 1.1.1.111 0.0.0.1 111 ipv6 pool p6 1234:1::111 ::1 111 int di1 enc iponly vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv4 pool p4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 pool p6 exit server gtp gtp clone di1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl082.tst 0000664 0000000 0000000 00000024450 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: egress gtp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gtp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gtp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit ipv4 pool p4 1.1.1.111 0.0.0.1 111 ipv6 pool p6 1234:1::111 ::1 111 int di1 enc iponly vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv4 pool p4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 pool p6 exit server gtp gtp clone di1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl083.tst 0000664 0000000 0000000 00000024256 14716276021 0017046 0 ustar 00root root 0000000 0000000 description p4lang: ingress l2tp3 access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l3tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl084.tst 0000664 0000000 0000000 00000024257 14716276021 0017050 0 ustar 00root root 0000000 0000000 description p4lang: egress l2tp3 access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l3tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl085.tst 0000664 0000000 0000000 00000024327 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: ingress vlan l2tp3 access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l3tp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1.222 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl086.tst 0000664 0000000 0000000 00000024330 14716276021 0017042 0 ustar 00root root 0000000 0000000 description p4lang: egress vlan l2tp3 access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l3tp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1.222 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl087.tst 0000664 0000000 0000000 00000025370 14716276021 0017050 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl088.tst 0000664 0000000 0000000 00000025367 14716276021 0017057 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl089.tst 0000664 0000000 0000000 00000026337 14716276021 0017056 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl090.tst 0000664 0000000 0000000 00000026347 14716276021 0017047 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl091.tst 0000664 0000000 0000000 00000024334 14716276021 0017042 0 ustar 00root root 0000000 0000000 description p4lang: ingress tmux access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl tmux int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl092.tst 0000664 0000000 0000000 00000024335 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: egress tmux access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl tmux int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl093.tst 0000664 0000000 0000000 00000024405 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: ingress vlan tmux access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl tmux vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl094.tst 0000664 0000000 0000000 00000024406 14716276021 0017045 0 ustar 00root root 0000000 0000000 description p4lang: egress vlan tmux access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl tmux vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl095.tst 0000664 0000000 0000000 00000025446 14716276021 0017053 0 ustar 00root root 0000000 0000000 description p4lang: tmux interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl096.tst 0000664 0000000 0000000 00000025445 14716276021 0017053 0 ustar 00root root 0000000 0000000 description p4lang: tmux interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl097.tst 0000664 0000000 0000000 00000026415 14716276021 0017052 0 ustar 00root root 0000000 0000000 description p4lang: tmux interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl098.tst 0000664 0000000 0000000 00000026425 14716276021 0017054 0 ustar 00root root 0000000 0000000 description p4lang: tmux interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun2 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun3 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 2.2.2.199 vrf v1 r4 tping 100 10 4321::199 vrf v1 r4 tping 0 10 2.2.2.199 vrf v1 sou lo0 r4 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl099.tst 0000664 0000000 0000000 00000023500 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: qinq ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl100.tst 0000664 0000000 0000000 00000023501 14716276021 0017024 0 ustar 00root root 0000000 0000000 description p4lang: qinq egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl101.tst 0000664 0000000 0000000 00000016270 14716276021 0017032 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature acl bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl102.tst 0000664 0000000 0000000 00000016271 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.105 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature acl bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl103.tst 0000664 0000000 0000000 00000022222 14716276021 0017026 0 ustar 00root root 0000000 0000000 description p4lang: qinq bridge ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature acl bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl104.tst 0000664 0000000 0000000 00000022223 14716276021 0017030 0 ustar 00root root 0000000 0000000 description p4lang: qinq bridge egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.105 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-out test4 ipv6 access-group-out test6 ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature acl bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl105.tst 0000664 0000000 0000000 00000023644 14716276021 0017041 0 ustar 00root root 0000000 0000000 description p4lang: ingress qinq pppoe access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl pppoe vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1.111 exit int eth1.111.222 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl106.tst 0000664 0000000 0000000 00000023645 14716276021 0017043 0 ustar 00root root 0000000 0000000 description p4lang: egress qinq pppoe access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int di1 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 p2poe relay di1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl pppoe vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int eth1.111 exit int eth1.111.222 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl107.tst 0000664 0000000 0000000 00000032124 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11.111 exit int hair11.111.222 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int hair12.111 exit int hair12.111.222 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl108.tst 0000664 0000000 0000000 00000032125 14716276021 0017036 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11.111 exit int hair11.111.222 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12.111 exit int hair12.111.222 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl hairpin vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl109.tst 0000664 0000000 0000000 00000024467 14716276021 0017051 0 ustar 00root root 0000000 0000000 description p4lang: ingress qinq gre access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222.333 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gre vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222.333 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl110.tst 0000664 0000000 0000000 00000024470 14716276021 0017033 0 ustar 00root root 0000000 0000000 description p4lang: egress qinq gre access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222.333 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl gre vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222.333 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl111.tst 0000664 0000000 0000000 00000024413 14716276021 0017031 0 ustar 00root root 0000000 0000000 description p4lang: ingress qinq l2tp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222.333 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l2tp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl112.tst 0000664 0000000 0000000 00000024414 14716276021 0017033 0 ustar 00root root 0000000 0000000 description p4lang: egress qinq l2tp access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222.333 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl l2tp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl113.tst 0000664 0000000 0000000 00000024201 14716276021 0017026 0 ustar 00root root 0000000 0000000 description p4lang: qinq ingress policer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a1 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act pol access-rate 81920 match access a1 seq 20 act trans exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena service-policy-in p1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan qos int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl114.tst 0000664 0000000 0000000 00000024201 14716276021 0017027 0 ustar 00root root 0000000 0000000 description p4lang: qinq egress policer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list a1 permit 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act pol access-rate 81920 match access a1 seq 20 act trans exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena service-policy-out p1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan qos int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 100 10 4321::105 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 2.2.2.106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r4 tping 5-95 10 4321::106 vrf v1 sou lo0 rep 100 tim 250 siz 250 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl115.tst 0000664 0000000 0000000 00000024611 14716276021 0017035 0 ustar 00root root 0000000 0000000 description p4lang: qinq interface inspection with egress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-tx allow-list test4 ipv6 inspect drop-tx allow-list test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 3.3.1.2 vrf v1 r3 tping 0 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl116.tst 0000664 0000000 0000000 00000024612 14716276021 0017037 0 ustar 00root root 0000000 0000000 description p4lang: qinq interface inspection with ingress drop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit access-list test4 seq 10 permit 1 any all any all exit access-list test6 seq 10 permit 58 any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 inspect drop-rx allow-list test4 ipv6 inspect drop-rx allow-list test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan inspect int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 3.3.1.1 vrf v1 r4 tping 0 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl117.tst 0000664 0000000 0000000 00000025561 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: qinq interface verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify rx ipv6 verify rx exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl118.tst 0000664 0000000 0000000 00000025571 14716276021 0017046 0 ustar 00root root 0000000 0000000 description p4lang: qinq interface loose verify source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 verify any ipv6 verify any exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan vrfysrc int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ int eth2 eth 0000.0000.3333 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.1 255.255.255.0 ipv6 addr 1234:99::1 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.1 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::104 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.1 255.255.255.0 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.199 255.255.255.255 1.1.99.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:99::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ int eth2 eth 0000.0000.4444 $7b$ $7a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.199 255.255.255.255 ipv6 addr 4321::199 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.99.2 255.255.255.0 ipv6 addr 1234:99::2 ffff:ffff:: exit int tun1 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.1.2 255.255.255.0 exit int tun2 tun sou lo0 tun dest 4321::103 tun vrf v1 tun key 2554 tun mod pckoudp vrf for v1 ipv4 addr 3.3.2.2 255.255.255.0 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r4 tping 100 10 3.3.1.1 vrf v1 r4 tping 100 10 3.3.2.1 vrf v1 r3 tping 100 10 3.3.1.2 vrf v1 r3 tping 100 10 3.3.2.2 vrf v1 r3 tping 100 10 2.2.2.199 vrf v1 r3 tping 100 10 4321::199 vrf v1 r3 tping 0 10 2.2.2.199 vrf v1 sou lo0 r3 tping 0 10 4321::199 vrf v1 sou lo0 r1 dping sdn . r4 3.3.1.1 vrf v1 r1 dping sdn . r4 3.3.2.1 vrf v1 freeRtr-24.11.16/cfg/p4lang-acl119.tst 0000664 0000000 0000000 00000012644 14716276021 0017044 0 ustar 00root root 0000000 0000000 description p4lang: bridge filter access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 bridge-filter ipv4in test4 bridge-filter ipv6in test6 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature acl bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-acl120.tst 0000664 0000000 0000000 00000012734 14716276021 0017034 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge filter access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit access-list test4 deny 1 2.2.2.105 255.255.255.255 all 2.2.2.104 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 bridge-filter ipv4in test4 bridge-filter ipv6in test6 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature acl bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.106 vrf v1 sou lo0 r1 dping sdn . r4 4321::106 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt001.tst 0000664 0000000 0000000 00000023262 14716276021 0017432 0 ustar 00root root 0000000 0000000 description p4lang: macsec with des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt002.tst 0000664 0000000 0000000 00000023265 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: macsec with 3des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher 3des hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher 3des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt003.tst 0000664 0000000 0000000 00000023304 14716276021 0017431 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes128cbc hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes128cbc hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt004.tst 0000664 0000000 0000000 00000023304 14716276021 0017432 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes192cbc hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes192cbc hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt005.tst 0000664 0000000 0000000 00000023304 14716276021 0017433 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes256cbc hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes256cbc hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt006.tst 0000664 0000000 0000000 00000023262 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: macsec with md5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt007.tst 0000664 0000000 0000000 00000023265 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: macsec with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha1 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash sha1 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt008.tst 0000664 0000000 0000000 00000023273 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: macsec with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha256 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash sha256 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt009.tst 0000664 0000000 0000000 00000023273 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: macsec with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt010.tst 0000664 0000000 0000000 00000023267 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: macsec over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt011.tst 0000664 0000000 0000000 00000023312 14716276021 0017427 0 ustar 00root root 0000000 0000000 description p4lang: macsec over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 exit int sdn2.111 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt012.tst 0000664 0000000 0000000 00000017056 14716276021 0017440 0 ustar 00root root 0000000 0000000 description p4lang: macsec over bundle vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester replay 0 exit bundle 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 macsec ips vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester replay 0 exit int bun1.111 macsec ips vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt013.tst 0000664 0000000 0000000 00000024120 14716276021 0017427 0 ustar 00root root 0000000 0000000 description p4lang: macsec over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int tun1 macsec ips tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int tun1 macsec ips tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt014.tst 0000664 0000000 0000000 00000023444 14716276021 0017440 0 ustar 00root root 0000000 0000000 description p4lang: macsec over pppoe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int di1 macsec ips enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int di1 macsec ips enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt015.tst 0000664 0000000 0000000 00000024054 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: macsec over l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int virt1 macsec ips enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int di1 macsec ips enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt016.tst 0000664 0000000 0000000 00000031565 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: macsec over hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int hair11 macsec ips vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12 macsec ips vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt017.tst 0000664 0000000 0000000 00000023707 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: macsec ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt018.tst 0000664 0000000 0000000 00000023710 14716276021 0017440 0 ustar 00root root 0000000 0000000 description p4lang: macsec egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn4 macsec ips vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt019.tst 0000664 0000000 0000000 00000023750 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: macsec vlan ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2.111 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt020.tst 0000664 0000000 0000000 00000023751 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: macsec vlan egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn4.111 macsec ips vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 macsec ips vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt021.tst 0000664 0000000 0000000 00000023041 14716276021 0017427 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt022.tst 0000664 0000000 0000000 00000023043 14716276021 0017432 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with 3des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher 3des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher 3des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt023.tst 0000664 0000000 0000000 00000023062 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128cbc hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128cbc hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt024.tst 0000664 0000000 0000000 00000023062 14716276021 0017435 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192cbc hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192cbc hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt025.tst 0000664 0000000 0000000 00000023062 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256cbc hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256cbc hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt026.tst 0000664 0000000 0000000 00000023062 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with md5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt027.tst 0000664 0000000 0000000 00000023067 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha1 prf sha1 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha1 prf sha1 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt028.tst 0000664 0000000 0000000 00000023101 14716276021 0017433 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha256 prf sha256 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha256 prf sha256 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt029.tst 0000664 0000000 0000000 00000023101 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha512 prf sha512 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash sha512 prf sha512 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt030.tst 0000664 0000000 0000000 00000023042 14716276021 0017430 0 ustar 00root root 0000000 0000000 description p4lang: ipv4 over ipsec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt031.tst 0000664 0000000 0000000 00000023063 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: ipv6 over ipsec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt032.tst 0000664 0000000 0000000 00000023042 14716276021 0017432 0 ustar 00root root 0000000 0000000 description p4lang: ipsec over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt033.tst 0000664 0000000 0000000 00000023051 14716276021 0017433 0 ustar 00root root 0000000 0000000 description p4lang: ipsec over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt034.tst 0000664 0000000 0000000 00000023475 14716276021 0017446 0 ustar 00root root 0000000 0000000 description p4lang: ipsec over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt035.tst 0000664 0000000 0000000 00000023644 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: ipsec over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt036.tst 0000664 0000000 0000000 00000023115 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: ipsec over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9999::2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9999::1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt037.tst 0000664 0000000 0000000 00000023624 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: ipv4 over ipsec with ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt038.tst 0000664 0000000 0000000 00000023625 14716276021 0017447 0 ustar 00root root 0000000 0000000 description p4lang: ipv4 over ipsec with egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt039.tst 0000664 0000000 0000000 00000023645 14716276021 0017452 0 ustar 00root root 0000000 0000000 description p4lang: ipv6 over ipsec with ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt040.tst 0000664 0000000 0000000 00000023646 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: ipv6 over ipsec with egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv6 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt041.tst 0000664 0000000 0000000 00000023036 14716276021 0017435 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with ike1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role resp isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role init isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt042.tst 0000664 0000000 0000000 00000023060 14716276021 0017433 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with ike2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role resp isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 prf md5 seconds 3600 bytes 1024000 key tester role init isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt043.tst 0000664 0000000 0000000 00000026045 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt044.tst 0000664 0000000 0000000 00000026050 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with 3des addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher 3des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher 3des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt045.tst 0000664 0000000 0000000 00000026067 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes128cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes128cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes128cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt046.tst 0000664 0000000 0000000 00000026067 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes192cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes192cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes192cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt047.tst 0000664 0000000 0000000 00000026067 14716276021 0017452 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes256cbc addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes256cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes256cbc hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt048.tst 0000664 0000000 0000000 00000026045 14716276021 0017447 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with md5 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt049.tst 0000664 0000000 0000000 00000026050 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with sha1 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash sha1 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash sha1 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt050.tst 0000664 0000000 0000000 00000026056 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with sha256 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash sha256 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash sha256 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt051.tst 0000664 0000000 0000000 00000026056 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with sha512 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash sha512 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash sha512 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt052.tst 0000664 0000000 0000000 00000026046 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: openvpn over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt053.tst 0000664 0000000 0000000 00000026055 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: openvpn over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt054.tst 0000664 0000000 0000000 00000026502 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: openvpn over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt055.tst 0000664 0000000 0000000 00000026651 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: openvpn over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt056.tst 0000664 0000000 0000000 00000026561 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: openvpn over asymmetric ports addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun prot ips tunnel key 1234 4321 tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun prot ips tunnel key 4321 1234 tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt057.tst 0000664 0000000 0000000 00000026612 14716276021 0017447 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt058.tst 0000664 0000000 0000000 00000026613 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt059.tst 0000664 0000000 0000000 00000024262 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt060.tst 0000664 0000000 0000000 00000024270 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt061.tst 0000664 0000000 0000000 00000024617 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt062.tst 0000664 0000000 0000000 00000024765 14716276021 0017452 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt063.tst 0000664 0000000 0000000 00000024326 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt064.tst 0000664 0000000 0000000 00000024352 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over asymmetric ports addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tunnel key 1234 4321 tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tunnel key 4321 1234 tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt065.tst 0000664 0000000 0000000 00000025026 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: wireguard with ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.103 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt066.tst 0000664 0000000 0000000 00000025027 14716276021 0017446 0 ustar 00root root 0000000 0000000 description p4lang: wireguard with egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.106 255.255.255.255 all 2.2.2.103 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt067.tst 0000664 0000000 0000000 00000024774 14716276021 0017457 0 ustar 00root root 0000000 0000000 description p4lang: multicast routing over macsec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 1.1.4.2 ipv6 multi v1 join ff06::1 1234:4::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 1.1.4.2 ipv6 multi v1 join ff06::1 1234:4::2 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 1.1.4.2 ipv6 multi v1 join ff06::1 1234:4::2 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou eth1 multi r6 tping 300 5 ff06::1 vrf v1 sou eth1 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou eth1 r1 dping sdn . r6 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/p4lang-crypt068.tst 0000664 0000000 0000000 00000025035 14716276021 0017447 0 ustar 00root root 0000000 0000000 description p4lang: multicast routing over vlan macsec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 exit int sdn2.111 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute vlan macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 1.1.4.2 ipv6 multi v1 join ff06::1 1234:4::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 1.1.4.2 ipv6 multi v1 join ff06::1 1234:4::2 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 1.1.4.2 ipv6 multi v1 join ff06::1 1234:4::2 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.4.2 ipv6 multi static ff06::1 1234:4::2 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou eth1 multi r6 tping 300 5 ff06::1 vrf v1 sou eth1 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou eth1 r1 dping sdn . r6 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/p4lang-crypt069.tst 0000664 0000000 0000000 00000027654 14716276021 0017461 0 ustar 00root root 0000000 0000000 description p4lang: replay window with openvpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 512 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v3 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit hair 1 ether exit int hair11 vrf for v3 ipv4 addr 1.1.9.2 255.255.255.0 ipv6 addr 1234:9::2 ffff:ffff:: ipv6 ena exit int hair12 vrf for v1 ipv4 addr 1.1.9.1 255.255.255.0 ipv6 addr 1234:9::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic -1 export-port hair12 dynamic -1 export-port tun1 dynamic vrf v9 exit ipv4 route v3 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v3 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v3 0.0.0.0 0.0.0.0 1.1.9.1 ipv6 route v3 :: :: 1234:9::1 ipv4 route v3 1.1.1.2 255.255.255.255 1.1.1.2 ipv6 route v3 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 1.1.1.0 255.255.255.0 1.1.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.9.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 1234:1:: ffff:ffff:: 1234:9::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:9::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route hairpin openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 512 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.9.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:9:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v3 r1 tping 0 10 1234:1::2 vrf v3 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt070.tst 0000664 0000000 0000000 00000026070 14716276021 0017440 0 ustar 00root root 0000000 0000000 description p4lang: replay window with wireguard addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 512 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v3 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit hair 1 ether exit int hair11 vrf for v3 ipv4 addr 1.1.9.2 255.255.255.0 ipv6 addr 1234:9::2 ffff:ffff:: ipv6 ena exit int hair12 vrf for v1 ipv4 addr 1.1.9.1 255.255.255.0 ipv6 addr 1234:9::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic -1 export-port hair12 dynamic -1 export-port tun1 dynamic vrf v9 exit ipv4 route v3 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v3 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v3 0.0.0.0 0.0.0.0 1.1.9.1 ipv6 route v3 :: :: 1234:9::1 ipv4 route v3 1.1.1.2 255.255.255.255 1.1.1.2 ipv6 route v3 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 1.1.1.0 255.255.255.0 1.1.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.9.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 1234:1:: ffff:ffff:: 1234:9::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:9::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route hairpin wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 512 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.9.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:9:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v3 r1 tping 0 10 1234:1::2 vrf v3 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt071.tst 0000664 0000000 0000000 00000026067 14716276021 0017447 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes128cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes128cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes128cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt072.tst 0000664 0000000 0000000 00000026067 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes192cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes192cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes192cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt073.tst 0000664 0000000 0000000 00000026067 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes256cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes256cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes256cfb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt074.tst 0000664 0000000 0000000 00000026067 14716276021 0017452 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes128ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes128ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes128ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt075.tst 0000664 0000000 0000000 00000026067 14716276021 0017453 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes192ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes192ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes192ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt076.tst 0000664 0000000 0000000 00000026067 14716276021 0017454 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with aes256ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher aes256ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher aes256ecb hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt077.tst 0000664 0000000 0000000 00000026056 14716276021 0017453 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with sha224 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash sha224 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash sha224 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt078.tst 0000664 0000000 0000000 00000026056 14716276021 0017454 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with sha384 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash sha384 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash sha384 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt079.tst 0000664 0000000 0000000 00000023304 14716276021 0017446 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes128cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes128cfb hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes128cfb hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt080.tst 0000664 0000000 0000000 00000023304 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes192cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes192cfb hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes192cfb hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt081.tst 0000664 0000000 0000000 00000023304 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes256cfb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes256cfb hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes256cfb hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt082.tst 0000664 0000000 0000000 00000023304 14716276021 0017440 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes128ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes128ecb hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes128ecb hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt083.tst 0000664 0000000 0000000 00000023304 14716276021 0017441 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes192ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes192ecb hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes192ecb hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt084.tst 0000664 0000000 0000000 00000023304 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes256ecb addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes256ecb hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes256ecb hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt085.tst 0000664 0000000 0000000 00000023273 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: macsec with sha224 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha224 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash sha224 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt086.tst 0000664 0000000 0000000 00000023273 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: macsec with sha384 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha384 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash sha384 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt087.tst 0000664 0000000 0000000 00000026063 14716276021 0017452 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with none encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher none hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher none hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt088.tst 0000664 0000000 0000000 00000026055 14716276021 0017454 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with none hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash none key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash none key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt089.tst 0000664 0000000 0000000 00000023300 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: macsec with none encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher none hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher none hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt090.tst 0000664 0000000 0000000 00000023272 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: macsec with none hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash none key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash none key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt091.tst 0000664 0000000 0000000 00000023315 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes128gcm and hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes128gcm hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes128gcm hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt092.tst 0000664 0000000 0000000 00000023315 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes192gcm and hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes192gcm hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes192gcm hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt093.tst 0000664 0000000 0000000 00000023315 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes256gcm and hash addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes256gcm hash md5 key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes256gcm hash md5 key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt094.tst 0000664 0000000 0000000 00000023317 14716276021 0017447 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes128gcm and aead addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes128gcm hash none key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes128gcm hash none key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt095.tst 0000664 0000000 0000000 00000023317 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes192gcm and aead addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes192gcm hash none key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes192gcm hash none key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt096.tst 0000664 0000000 0000000 00000023317 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: macsec with aes256gcm and aead addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher aes256gcm hash none key tester replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher aes256gcm hash none key tester replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt097.tst 0000664 0000000 0000000 00000023167 14716276021 0017455 0 ustar 00root root 0000000 0000000 description p4lang: sgt over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt098.tst 0000664 0000000 0000000 00000023246 14716276021 0017454 0 ustar 00root root 0000000 0000000 description p4lang: sgt over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.222 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1.111 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt099.tst 0000664 0000000 0000000 00000024020 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: sgt over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 sgt ena tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port tun1 dynamic export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route gre sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 sgt ena service-policy-in p1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt100.tst 0000664 0000000 0000000 00000023322 14716276021 0017427 0 ustar 00root root 0000000 0000000 description p4lang: sgt over pppoe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 p2poe client di1 exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port di1 dynamic export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route pppoe sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt101.tst 0000664 0000000 0000000 00000023743 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: sgt over l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 sgt ena enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port virt1 dynamic export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route l2tp sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 sgt ena service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt102.tst 0000664 0000000 0000000 00000031236 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: sgt over hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11 sgt ena vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12 sgt ena vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin route sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt103.tst 0000664 0000000 0000000 00000023522 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: sgt over macsec over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn1 macsec ips sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt104.tst 0000664 0000000 0000000 00000023571 14716276021 0017441 0 ustar 00root root 0000000 0000000 description p4lang: sgt over macsec over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn1 macsec ips exit int sdn1.111 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route macsec sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips exit int eth1.111 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt105.tst 0000664 0000000 0000000 00000024416 14716276021 0017441 0 ustar 00root root 0000000 0000000 description p4lang: sgt ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all any all sgt 4444 permit all any all any all exit access-list test6 deny all any all any all sgt 4444 permit all any all any all exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route sgt acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act trans match length 300-500 set sgt 4444 seq 20 act trans set sgt 3333 exit int eth1 sgt ena service-policy-out p1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 200 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 200 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 siz 400 r4 tping 0 10 4321::105 vrf v1 sou lo0 siz 400 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 600 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 600 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt106.tst 0000664 0000000 0000000 00000024417 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: sgt egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all any all sgt 4444 permit all any all any all exit access-list test6 deny all any all any all sgt 4444 permit all any all any all exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route sgt acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act trans match length 300-500 set sgt 4444 seq 20 act trans set sgt 3333 exit int eth1 sgt ena service-policy-out p1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 200 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 200 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 siz 400 r4 tping 0 10 4321::105 vrf v1 sou lo0 siz 400 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 600 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 600 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt107.tst 0000664 0000000 0000000 00000024457 14716276021 0017450 0 ustar 00root root 0000000 0000000 description p4lang: sgt vlan ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all any all sgt 4444 permit all any all any all exit access-list test6 deny all any all any all sgt 4444 permit all any all any all exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route sgt acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act trans match length 300-500 set sgt 4444 seq 20 act trans set sgt 3333 exit int eth1.111 sgt ena service-policy-out p1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 200 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 200 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 siz 400 r4 tping 0 10 4321::105 vrf v1 sou lo0 siz 400 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 600 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 600 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt108.tst 0000664 0000000 0000000 00000024460 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: sgt vlan egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all any all sgt 4444 permit all any all any all exit access-list test6 deny all any all any all sgt 4444 permit all any all any all exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route sgt acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act trans match length 300-500 set sgt 4444 seq 20 act trans set sgt 3333 exit int eth1 sgt ena service-policy-out p1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 200 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 200 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 siz 400 r4 tping 0 10 4321::105 vrf v1 sou lo0 siz 400 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 600 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 600 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt109.tst 0000664 0000000 0000000 00000024046 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: macsec over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int virt1 macsec ips enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int virt1 macsec ips enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt110.tst 0000664 0000000 0000000 00000023746 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: sgt over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 sgt ena enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port virt1 dynamic export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route l3tp sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 sgt ena enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt111.tst 0000664 0000000 0000000 00000024124 14716276021 0017432 0 ustar 00root root 0000000 0000000 description p4lang: macsec over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int tun1 macsec ips tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int tun1 macsec ips tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt112.tst 0000664 0000000 0000000 00000024024 14716276021 0017432 0 ustar 00root root 0000000 0000000 description p4lang: sgt over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 sgt ena tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port tun1 dynamic export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route tmux sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 sgt ena service-policy-in p1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt113.tst 0000664 0000000 0000000 00000022764 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: packout on port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 api-stat interconnect eth2 export-vrf v1 export-port sdn1 1 -2 export-port sdn2 2 -2 export-port sdn3 3 -2 export-port sdn4 4 -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt114.tst 0000664 0000000 0000000 00000023025 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: packout on vlan port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 api-stat interconnect eth2 export-vrf v1 export-port sdn1 1 -2 export-port sdn2 2 -2 export-port sdn3 3 -2 export-port sdn4 4 -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt115.tst 0000664 0000000 0000000 00000023266 14716276021 0017444 0 ustar 00root root 0000000 0000000 description p4lang: packout on macsec port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int sdn1 macsec ips vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 api-stat interconnect eth2 export-vrf v1 export-port sdn1 1 -2 export-port sdn2 2 -2 export-port sdn3 3 -2 export-port sdn4 4 -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout macsec route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int bvi1 macsec ips vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt116.tst 0000664 0000000 0000000 00000023327 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: packout on macsec vlan port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int sdn1 exit int sdn1.111 macsec ips vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 api-stat interconnect eth2 export-vrf v1 export-port sdn1 1 -2 export-port sdn2 2 -2 export-port sdn3 3 -2 export-port sdn4 4 -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout macsec vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 bridge-gr 1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int bvi1 macsec ips vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt117.tst 0000664 0000000 0000000 00000023033 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with packout addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt118.tst 0000664 0000000 0000000 00000026037 14716276021 0017446 0 ustar 00root root 0000000 0000000 description p4lang: openvpn with packout addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout route openvpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips cipher des hash md5 key 22f9c676f655336c3f3188b8d9cc759903733212ed77231bc38126b6000b043f1f56d07b885f4d00676afd8fea25c88fa917294d8f1e89b84922d5d2556de977beac2f254ba2b67477131f4d4708cb509f4c9f784780465462e502d29183665bbd5eff6bdc27370f05aa1d856b497a1f7ef5f20bad7aff155619a4b09849fab814ee76e7121c2adf85326db4c1cce132200ca3e4d03930f765ba96a8c46f1ab374beb73e79093d60879a8d9585f2feb987d89e65a33ef3857f3b09df80a2403f6c50dc50439e258d61c7dac377514a8d281c10feeea79ae7b063064aec3989b4d867bb24182f7d007ad41284ee6577053dae2cc289dd39e66cd8fe7089b7015f exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode openvpn vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt119.tst 0000664 0000000 0000000 00000024253 14716276021 0017445 0 ustar 00root root 0000000 0000000 description p4lang: wireguard with packout addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout route wireguard int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt120.tst 0000664 0000000 0000000 00000023615 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: gre with packout addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout route gre int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt121.tst 0000664 0000000 0000000 00000023370 14716276021 0017435 0 ustar 00root root 0000000 0000000 description p4lang: macsec over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 exit int eth1.111.222 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt122.tst 0000664 0000000 0000000 00000017134 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: macsec over bundle qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester replay 0 exit bundle 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 macsec ips vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit crypto ipsec ips role init group 02 cipher des hash sha512 key tester replay 0 exit int bun1.111 exit int bun1.111.222 macsec ips vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt123.tst 0000664 0000000 0000000 00000024026 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: macsec qinq ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn2.111 exit int sdn2.111.222 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 exit int eth1.111.222 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt124.tst 0000664 0000000 0000000 00000024027 14716276021 0017440 0 ustar 00root root 0000000 0000000 description p4lang: macsec qinq egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 2.2.2.104 255.255.255.255 all 2.2.2.106 255.255.255.255 all permit all any all any all exit access-list test6 deny 58 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all any all any all exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn4.111 exit int sdn4.111.222 macsec ips vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature acl vlan macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1.111 exit int eth1.111.222 macsec ips vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt125.tst 0000664 0000000 0000000 00000023203 14716276021 0017434 0 ustar 00root root 0000000 0000000 description p4lang: ipsec over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1.222.333 tun destination 9999::2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit crypto ipsec ips group 02 cipher des hash md5 seconds 3600 bytes 1024000 key tester role static isakmp 1 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1.222.333 tun destination 9999::1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt126.tst 0000664 0000000 0000000 00000024414 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: wireguard over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips key EFw2rJEdqFGDgC80um3fwMmAafwqXno+PsbMHPZ0umM=M6vDV8QdiWDQppVKjKf8xjoKtyGAeRK/Ue48kwKI5Ss= replay 0 exit int tun1 tun vrf v2 tun source sdn1.222.333 tun destination 9.9.9.2 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route wireguard vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips key 6JhyvKPutQ9DNLupOPmDnQLRWtUWlUjI6PTJ/IZ9l1w=bQMmpCaGVyq9f+v48XGmfH5DMLytkqziID+rBH+qQic= replay 0 exit int tun1 tun vrf v2 tun source bvi1.222.333 tun destination 9.9.9.1 tun prot ips tun mode wireguard vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt127.tst 0000664 0000000 0000000 00000023402 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: sgt over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1.111 exit int eth1.111.222 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt128.tst 0000664 0000000 0000000 00000023647 14716276021 0017453 0 ustar 00root root 0000000 0000000 description p4lang: sgt over macsec over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int sdn1 macsec ips exit int sdn1.111 exit int sdn1.111.222 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route macsec sgt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit crypto ipsec ips role init group 02 cipher des hash md5 key tester replay 0 exit int eth1 macsec ips exit int eth1.111 exit int eth1.111.222 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt129.tst 0000664 0000000 0000000 00000024535 14716276021 0017451 0 ustar 00root root 0000000 0000000 description p4lang: sgt qinq ingress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all any all sgt 4444 permit all any all any all exit access-list test6 deny all any all any all sgt 4444 permit all any all any all exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int sdn3 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route sgt acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act trans match length 300-500 set sgt 4444 seq 20 act trans set sgt 3333 exit int eth1.111 exit int eth1.111.222 sgt ena service-policy-out p1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 200 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 200 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 siz 400 r4 tping 0 10 4321::105 vrf v1 sou lo0 siz 400 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 600 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 600 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt130.tst 0000664 0000000 0000000 00000024536 14716276021 0017442 0 ustar 00root root 0000000 0000000 description p4lang: sgt qinq egress access list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny all any all any all sgt 4444 permit all any all any all exit access-list test6 deny all any all any all sgt 4444 permit all any all any all exit int sdn1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 sgt ena vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 sgt ass 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 access-group-out test4 ipv6 access-group-out test6 exit int sdn4 sgt ass 4321 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route sgt acl int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act drop match sgt 4321 seq 20 act trans exit bridge 1 mac-learn block-unicast exit int eth1 sgt ena bridge-gr 1 exit int bvi1 service-policy-in p1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit policy-map p1 seq 10 act trans match length 300-500 set sgt 4444 seq 20 act trans set sgt 3333 exit int eth1 sgt ena service-policy-out p1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 r3 tping 0 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 0 10 2.2.2.103 vrf v1 sou lo0 r6 tping 0 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 200 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 200 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 siz 400 r4 tping 0 10 4321::105 vrf v1 sou lo0 siz 400 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 siz 600 r4 tping 100 10 4321::105 vrf v1 sou lo0 siz 600 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt131.tst 0000664 0000000 0000000 00000023103 14716276021 0017430 0 ustar 00root root 0000000 0000000 description p4lang: packout on qinq port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 api-stat interconnect eth2 export-vrf v1 export-port sdn1 1 -2 export-port sdn2 2 -2 export-port sdn3 3 -2 export-port sdn4 4 -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 exit int eth1.111.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt132.tst 0000664 0000000 0000000 00000023405 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: packout on macsec qinq port addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 macsec ips vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 api-stat interconnect eth2 export-vrf v1 export-port sdn1 1 -2 export-port sdn2 2 -2 export-port sdn3 3 -2 export-port sdn4 4 -2 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pckout macsec vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 exit int eth1.111.222 bridge-gr 1 exit crypto ipsec ips role init group 02 cipher des hash md5 key tester exit int bvi1 macsec ips vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt133.tst 0000664 0000000 0000000 00000024273 14716276021 0017443 0 ustar 00root root 0000000 0000000 description p4lang: macsec with static key addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit crypto ipsec ips role stat group 02 cipher aes256cbc hash sha1 key 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 replay 0 exit int sdn2 macsec ips vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route macsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit crypto ipsec ips role stat group 02 cipher aes256cbc hash sha1 key 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 replay 0 exit int eth1 macsec ips vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt134.tst 0000664 0000000 0000000 00000023060 14716276021 0017435 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with aes128gcm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128gcm prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher aes128gcm prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt135.tst 0000664 0000000 0000000 00000023060 14716276021 0017436 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with aes192gcm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192gcm prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher aes192gcm prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-crypt136.tst 0000664 0000000 0000000 00000023060 14716276021 0017437 0 ustar 00root root 0000000 0000000 description p4lang: ipsec with aes256gcm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256gcm prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route ipsec int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit crypto ipsec ips group 02 cipher aes256gcm prf md5 seconds 3600 bytes 1024000 key tester role static isakmp 2 protected ipv4 replay 0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun prot ips tun mode ipsec vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout001.tst 0000664 0000000 0000000 00000023410 14716276021 0017255 0 ustar 00root root 0000000 0000000 description p4lang: routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 r1 output show version r1 output show platform output ../binTmp/basic3.html here is the version information:
show:0here is the platform information:
show:1! freeRtr-24.11.16/cfg/p4lang-rout002.tst 0000664 0000000 0000000 00000012042 14716276021 0017255 0 ustar 00root root 0000000 0000000 description p4lang: bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout003.tst 0000664 0000000 0000000 00000023145 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: mpls core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout004.tst 0000664 0000000 0000000 00000022366 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: mpls edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 label-mode per-prefix rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout005.tst 0000664 0000000 0000000 00000023070 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: vlan routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r6 4321::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout006.tst 0000664 0000000 0000000 00000012304 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.111 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout007.tst 0000664 0000000 0000000 00000023402 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: vlan mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 exit int sdn4.111 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout008.tst 0000664 0000000 0000000 00000023440 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: vpn with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v2 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v2 3.3.3.105 255.255.255.255 1.1.3.2 ipv4 route v2 3.3.3.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v2 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 3.3.3.101 255.255.255.255 1.1.3.1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 3.3.3.101 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.4.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 3.3.3.101 vrf v2 sou lo1 r1 tping 100 10 3333::101 vrf v2 sou lo1 r1 tping 100 10 3.3.3.103 vrf v2 sou lo1 r1 tping 100 10 3333::103 vrf v2 sou lo1 r1 tping 100 10 3.3.3.104 vrf v2 sou lo1 r1 tping 100 10 3333::104 vrf v2 sou lo1 r1 tping 100 10 3.3.3.105 vrf v2 sou lo1 r1 tping 100 10 3333::105 vrf v2 sou lo1 r1 tping 100 10 3.3.3.106 vrf v2 sou lo1 r1 tping 100 10 3333::106 vrf v2 sou lo1 r3 tping 100 10 3.3.3.101 vrf v2 sou lo1 r3 tping 100 10 3333::101 vrf v2 sou lo1 r3 tping 100 10 3.3.3.103 vrf v2 sou lo1 r3 tping 100 10 3333::103 vrf v2 sou lo1 r3 tping 100 10 3.3.3.104 vrf v2 sou lo1 r3 tping 100 10 3333::104 vrf v2 sou lo1 r3 tping 100 10 3.3.3.105 vrf v2 sou lo1 r3 tping 100 10 3333::105 vrf v2 sou lo1 r3 tping 100 10 3.3.3.106 vrf v2 sou lo1 r3 tping 100 10 3333::106 vrf v2 sou lo1 r4 tping 100 10 3.3.3.101 vrf v2 sou lo1 r4 tping 100 10 3333::101 vrf v2 sou lo1 r4 tping 100 10 3.3.3.103 vrf v2 sou lo1 r4 tping 100 10 3333::103 vrf v2 sou lo1 r4 tping 100 10 3.3.3.104 vrf v2 sou lo1 r4 tping 100 10 3333::104 vrf v2 sou lo1 r4 tping 100 10 3.3.3.105 vrf v2 sou lo1 r4 tping 100 10 3333::105 vrf v2 sou lo1 r4 tping 100 10 3.3.3.106 vrf v2 sou lo1 r4 tping 100 10 3333::106 vrf v2 sou lo1 r5 tping 100 10 3.3.3.101 vrf v1 sou lo0 r5 tping 100 10 3333::101 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.101 vrf v1 sou lo0 r6 tping 100 10 3333::101 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r1 dping sdn . r4 3.3.3.105 vrf v2 sou lo1 r1 dping sdn . r4 3333::105 vrf v2 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout009.tst 0000664 0000000 0000000 00000021563 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout010.tst 0000664 0000000 0000000 00000022061 14716276021 0017256 0 ustar 00root root 0000000 0000000 description p4lang: evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge mpls evpn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout011.tst 0000664 0000000 0000000 00000013401 14716276021 0017255 0 ustar 00root root 0000000 0000000 description p4lang: eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit int sdn4 xconnect v1 lo0 pweompls 2.2.2.104 1234 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature mpls eompls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout012.tst 0000664 0000000 0000000 00000025045 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: vpn with bgp over srv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v2 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int tun1 vrf for v1 ipv6 addr 4444:1:: ffff:ffff:: tun sour sdn1 tun dest 4444:1:: tun vrf v1 tun mod srv6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a segrou temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a segrou temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v2 red stat exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-srv6 tun1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v2 3.3.3.105 255.255.255.255 1.1.3.2 ipv4 route v2 3.3.3.106 255.255.255.255 1.1.4.2 ipv6 route v2 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature route srv6 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4444:3:: ffff:ffff:: tun sour eth1 tun dest 4444:3:: tun vrf v1 tun mod srv6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v2 red stat exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4444:4:: ffff:ffff:: tun sour eth1 tun dest 4444:4:: tun vrf v1 tun mod srv6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v2 red stat exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 3.3.3.101 255.255.255.255 1.1.3.1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 3.3.3.101 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.4.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 3.3.3.101 vrf v2 sou lo1 r1 tping 100 10 3333::101 vrf v2 sou lo1 r1 tping 100 10 3.3.3.103 vrf v2 sou lo1 r1 tping 100 10 3333::103 vrf v2 sou lo1 r1 tping 100 10 3.3.3.104 vrf v2 sou lo1 r1 tping 100 10 3333::104 vrf v2 sou lo1 r1 tping 100 10 3.3.3.105 vrf v2 sou lo1 r1 tping 100 10 3333::105 vrf v2 sou lo1 r1 tping 100 10 3.3.3.106 vrf v2 sou lo1 r1 tping 100 10 3333::106 vrf v2 sou lo1 r3 tping 100 10 3.3.3.101 vrf v2 sou lo1 r3 tping 100 10 3333::101 vrf v2 sou lo1 r3 tping 100 10 3.3.3.103 vrf v2 sou lo1 r3 tping 100 10 3333::103 vrf v2 sou lo1 r3 tping 100 10 3.3.3.104 vrf v2 sou lo1 r3 tping 100 10 3333::104 vrf v2 sou lo1 r3 tping 100 10 3.3.3.105 vrf v2 sou lo1 r3 tping 100 10 3333::105 vrf v2 sou lo1 r3 tping 100 10 3.3.3.106 vrf v2 sou lo1 r3 tping 100 10 3333::106 vrf v2 sou lo1 r4 tping 100 10 3.3.3.101 vrf v2 sou lo1 r4 tping 100 10 3333::101 vrf v2 sou lo1 r4 tping 100 10 3.3.3.103 vrf v2 sou lo1 r4 tping 100 10 3333::103 vrf v2 sou lo1 r4 tping 100 10 3.3.3.104 vrf v2 sou lo1 r4 tping 100 10 3333::104 vrf v2 sou lo1 r4 tping 100 10 3.3.3.105 vrf v2 sou lo1 r4 tping 100 10 3333::105 vrf v2 sou lo1 r4 tping 100 10 3.3.3.106 vrf v2 sou lo1 r4 tping 100 10 3333::106 vrf v2 sou lo1 r5 tping 100 10 3.3.3.101 vrf v1 sou lo0 r5 tping 100 10 3333::101 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.101 vrf v1 sou lo0 r6 tping 100 10 3333::101 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout013.tst 0000664 0000000 0000000 00000023365 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: evpn/cmac with bgp over srv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int tun1 vrf for v1 ipv6 addr 4444:1:: ffff:ffff:: tun sour sdn1 tun dest 4444:1:: tun vrf v1 tun mod srv6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a segrou temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a segrou temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-srv6 tun1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge srv6 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4444:3:: ffff:ffff:: tun sour eth1 tun dest 4444:3:: tun vrf v1 tun mod srv6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 segrou neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 segrou neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4444:4:: ffff:ffff:: tun sour eth1 tun dest 4444:4:: tun vrf v1 tun mod srv6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 segrou neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 segrou neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout014.tst 0000664 0000000 0000000 00000015443 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: bundle routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout015.tst 0000664 0000000 0000000 00000016177 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: bundle mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout016.tst 0000664 0000000 0000000 00000015463 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout017.tst 0000664 0000000 0000000 00000016217 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout018.tst 0000664 0000000 0000000 00000010277 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bridge 1 mac-learn exit int sdn1 bridge-gr 1 exit int sdn2 bridge-gr 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature bundle vlan bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.2.5 vrf v1 r3 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout019.tst 0000664 0000000 0000000 00000021234 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: bridge routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout020.tst 0000664 0000000 0000000 00000021441 14716276021 0017260 0 ustar 00root root 0000000 0000000 description p4lang: bridge mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout021.tst 0000664 0000000 0000000 00000021324 14716276021 0017261 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout022.tst 0000664 0000000 0000000 00000021531 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout023.tst 0000664 0000000 0000000 00000021644 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: vlan vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature vlan mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout024.tst 0000664 0000000 0000000 00000013471 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: vlan eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit int sdn4 exit int sdn4.222 xconnect v1 lo0 pweompls 2.2.2.104 1234 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature vlan eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout025.tst 0000664 0000000 0000000 00000016772 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bundle 1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 bridge-gr 1 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r5 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r5 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout026.tst 0000664 0000000 0000000 00000012363 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit bundle 1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r5 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r5 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout027.tst 0000664 0000000 0000000 00000023121 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: pppoe routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout028.tst 0000664 0000000 0000000 00000023162 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: vlan pppoe routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 p2poe relay di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1.111 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout029.tst 0000664 0000000 0000000 00000023304 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout030.tst 0000664 0000000 0000000 00000023335 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: vlan pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 exit int sdn2.111 p2poe relay di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1.111 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout031.tst 0000664 0000000 0000000 00000031372 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: hairpin routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout032.tst 0000664 0000000 0000000 00000012341 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: hairpin bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit bridge 2 mac-learn exit hair 1 ether exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 2 exit int hair11 bridge-gr 1 exit int hair12 bridge-gr 2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature hairpin bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout033.tst 0000664 0000000 0000000 00000031440 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: hairpin mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 label-mode per-prefix exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair12 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout034.tst 0000664 0000000 0000000 00000031414 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11.111 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12.111 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout035.tst 0000664 0000000 0000000 00000012363 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit bridge 2 mac-learn exit hair 1 ether exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 2 exit int hair11.111 bridge-gr 1 exit int hair12.111 bridge-gr 2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout036.tst 0000664 0000000 0000000 00000031462 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 label-mode per-prefix exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11.111 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair12.111 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout037.tst 0000664 0000000 0000000 00000031504 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: hairpin pppoe routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit int hair11 p2poe client di1 exit int hair12 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout038.tst 0000664 0000000 0000000 00000031526 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan pppoe routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit int hair11.111 p2poe client di1 exit int hair12.111 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout039.tst 0000664 0000000 0000000 00000031657 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: hairpin pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 label-mode per-prefix exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11 p2poe client di1 exit int hair12 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 2.2.2.100 vrf v1 sou lo0 r1 tping 100 30 4321::100 vrf v1 sou lo0 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r1 tping 100 30 2.2.2.100 vrf v2 sou lo1 r1 tping 100 30 4321::100 vrf v2 sou lo1 r1 tping 100 30 2.2.2.101 vrf v2 sou lo1 r1 tping 100 30 4321::101 vrf v2 sou lo1 r1 tping 100 30 2.2.2.103 vrf v2 sou lo1 r1 tping 100 30 4321::103 vrf v2 sou lo1 r1 tping 100 30 2.2.2.104 vrf v2 sou lo1 r1 tping 100 30 4321::104 vrf v2 sou lo1 r1 tping 100 30 2.2.2.105 vrf v2 sou lo1 r1 tping 100 30 4321::105 vrf v2 sou lo1 r1 tping 100 30 2.2.2.106 vrf v2 sou lo1 r1 tping 100 30 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout040.tst 0000664 0000000 0000000 00000031701 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 label-mode per-prefix exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11.111 p2poe client di1 exit int hair12.111 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin pppoe vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 2.2.2.100 vrf v1 sou lo0 r1 tping 100 30 4321::100 vrf v1 sou lo0 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r1 tping 100 30 2.2.2.100 vrf v2 sou lo1 r1 tping 100 30 4321::100 vrf v2 sou lo1 r1 tping 100 30 2.2.2.101 vrf v2 sou lo1 r1 tping 100 30 4321::101 vrf v2 sou lo1 r1 tping 100 30 2.2.2.103 vrf v2 sou lo1 r1 tping 100 30 4321::103 vrf v2 sou lo1 r1 tping 100 30 2.2.2.104 vrf v2 sou lo1 r1 tping 100 30 4321::104 vrf v2 sou lo1 r1 tping 100 30 2.2.2.105 vrf v2 sou lo1 r1 tping 100 30 4321::105 vrf v2 sou lo1 r1 tping 100 30 2.2.2.106 vrf v2 sou lo1 r1 tping 100 30 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout041.tst 0000664 0000000 0000000 00000022332 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 mac-learn exit bridge 3 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11 bridge-gr 1 exit int hair12 bridge-gr 2 exit int hair21 bridge-gr 1 exit int hair22 bridge-gr 3 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vpls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r6 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout042.tst 0000664 0000000 0000000 00000022364 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 mac-learn exit bridge 3 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11.111 bridge-gr 1 exit int hair12.111 bridge-gr 2 exit int hair21.111 bridge-gr 1 exit int hair22.111 bridge-gr 3 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r6 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout043.tst 0000664 0000000 0000000 00000014157 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: hairpin eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 1 mac-learn exit bridge 2 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit int hair12 bridge-gr 1 exit int hair21 xconnect v1 lo0 pweompls 2.2.2.104 1234 exit int hair22 bridge-gr 2 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 2 exit server p4lang p4 interconnect eth2 export-br 1 export-br 2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r4 3.3.3.106 vrf v1 sou lo1 r1 dping sdn . r4 3333::106 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout044.tst 0000664 0000000 0000000 00000014211 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 1 mac-learn exit bridge 2 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11.111 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit int hair12.111 bridge-gr 1 exit int hair21.111 xconnect v1 lo0 pweompls 2.2.2.104 1234 exit int hair22.111 bridge-gr 2 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 2 exit server p4lang p4 interconnect eth2 export-br 1 export-br 2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r4 3.3.3.106 vrf v1 sou lo1 r1 dping sdn . r4 3333::106 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout045.tst 0000664 0000000 0000000 00000022560 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: vlan evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature vlan evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout046.tst 0000664 0000000 0000000 00000017705 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bundle 1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r5 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r5 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout047.tst 0000664 0000000 0000000 00000023246 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: hairpin evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 2 mac-learn exit bridge 3 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11 bridge-gr 1 exit int hair12 bridge-gr 2 exit int hair21 bridge-gr 1 exit int hair22 bridge-gr 3 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout048.tst 0000664 0000000 0000000 00000023300 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 2 mac-learn exit bridge 3 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11.111 bridge-gr 1 exit int hair12.111 bridge-gr 2 exit int hair21.111 bridge-gr 1 exit int hair22.111 bridge-gr 3 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout049.tst 0000664 0000000 0000000 00000023607 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout050.tst 0000664 0000000 0000000 00000023615 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout051.tst 0000664 0000000 0000000 00000024242 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout052.tst 0000664 0000000 0000000 00000024422 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout053.tst 0000664 0000000 0000000 00000023653 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout054.tst 0000664 0000000 0000000 00000016311 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature gre route bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout055.tst 0000664 0000000 0000000 00000016343 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over bundle vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature gre route bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout056.tst 0000664 0000000 0000000 00000024626 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11 tun destination 9.9.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout057.tst 0000664 0000000 0000000 00000024713 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over hairpin vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12.111 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11.111 tun destination 9.9.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route vlan hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout058.tst 0000664 0000000 0000000 00000023746 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout059.tst 0000664 0000000 0000000 00000024011 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over vlan bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout060.tst 0000664 0000000 0000000 00000024121 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout061.tst 0000664 0000000 0000000 00000024127 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout062.tst 0000664 0000000 0000000 00000024554 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout063.tst 0000664 0000000 0000000 00000024734 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout064.tst 0000664 0000000 0000000 00000024165 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout065.tst 0000664 0000000 0000000 00000017045 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature gre mpls bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout066.tst 0000664 0000000 0000000 00000017077 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over bundle vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature gre mpls bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout067.tst 0000664 0000000 0000000 00000025177 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11 tun destination 9.9.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout068.tst 0000664 0000000 0000000 00000025225 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over hairpin vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12.111 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11.111 tun destination 9.9.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls vlan hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout069.tst 0000664 0000000 0000000 00000024266 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout070.tst 0000664 0000000 0000000 00000024327 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over vlan bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout071.tst 0000664 0000000 0000000 00000023543 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout072.tst 0000664 0000000 0000000 00000023551 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9999::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout073.tst 0000664 0000000 0000000 00000024177 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 lo1 l2tp2 8.8.8.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 8.8.8.2 vrf v2 r3 tping 100 30 8.8.8.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout074.tst 0000664 0000000 0000000 00000024357 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 lo1 l2tp2 8888::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 8888::2 vrf v2 r3 tping 100 30 8888::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout075.tst 0000664 0000000 0000000 00000023603 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout076.tst 0000664 0000000 0000000 00000016237 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 bun1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature l2tp bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout077.tst 0000664 0000000 0000000 00000024055 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout078.tst 0000664 0000000 0000000 00000024063 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9999::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout079.tst 0000664 0000000 0000000 00000024511 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 lo1 l2tp2 8.8.8.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 8.8.8.2 vrf v2 r3 tping 100 30 8.8.8.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout080.tst 0000664 0000000 0000000 00000024671 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 lo1 l2tp2 8888::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 8888::2 vrf v2 r3 tping 100 30 8888::1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout081.tst 0000664 0000000 0000000 00000024115 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout082.tst 0000664 0000000 0000000 00000017001 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 bun1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout083.tst 0000664 0000000 0000000 00000013136 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: bridging over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn3 tun destination 9.9.9.2 tun mode gre bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge gre gretap int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1 tun destination 9.9.9.1 tun mode gre bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout084.tst 0000664 0000000 0000000 00000013207 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: bridging over gre vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn3.222 tun destination 9.9.9.2 tun mode gre bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge gre gretap vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1.222 tun destination 9.9.9.1 tun mode gre bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout085.tst 0000664 0000000 0000000 00000012565 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: bridging over pppoe addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int di1 enc ppp bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn3 p2poe client di1 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pppoe pppoetap int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp bridge-gr 1 exit int eth1 p2poe relay di1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234:1::1 vrf v1 r4 tping 100 30 1.1.2.5 vrf v1 r4 tping 100 30 1234:2::5 vrf v1 r4 tping 100 30 1.1.2.6 vrf v1 r4 tping 100 30 1234:2::6 vrf v1 r5 tping 100 30 1.1.2.4 vrf v1 r5 tping 100 30 1234:2::4 vrf v1 r5 tping 100 30 1.1.2.6 vrf v1 r5 tping 100 30 1234:2::6 vrf v1 r6 tping 100 30 1.1.2.4 vrf v1 r6 tping 100 30 1234:2::4 vrf v1 r6 tping 100 30 1.1.2.5 vrf v1 r6 tping 100 30 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout086.tst 0000664 0000000 0000000 00000012626 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: bridging over pppoe vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int di1 enc ppp bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn3 exit int sdn3.222 p2poe client di1 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pppoe pppoetap vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp bridge-gr 1 exit int eth1.222 p2poe relay di1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234:1::1 vrf v1 r4 tping 100 30 1.1.2.5 vrf v1 r4 tping 100 30 1234:2::5 vrf v1 r4 tping 100 30 1.1.2.6 vrf v1 r4 tping 100 30 1234:2::6 vrf v1 r5 tping 100 30 1.1.2.4 vrf v1 r5 tping 100 30 1234:2::4 vrf v1 r5 tping 100 30 1.1.2.6 vrf v1 r5 tping 100 30 1234:2::6 vrf v1 r6 tping 100 30 1.1.2.4 vrf v1 r6 tping 100 30 1234:2::4 vrf v1 r6 tping 100 30 1.1.2.5 vrf v1 r6 tping 100 30 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout087.tst 0000664 0000000 0000000 00000013073 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: bridging over l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn3 l2tp2 9.9.9.2 1234 bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge l2tp l2tptap int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp bridge-gr 1 exit server l2tp2 l clone dialer1 vrf v2 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234:1::1 vrf v1 r4 tping 100 30 1.1.2.5 vrf v1 r4 tping 100 30 1234:2::5 vrf v1 r4 tping 100 30 1.1.2.6 vrf v1 r4 tping 100 30 1234:2::6 vrf v1 r5 tping 100 30 1.1.2.4 vrf v1 r5 tping 100 30 1234:2::4 vrf v1 r5 tping 100 30 1.1.2.6 vrf v1 r5 tping 100 30 1234:2::6 vrf v1 r6 tping 100 30 1.1.2.4 vrf v1 r6 tping 100 30 1234:2::4 vrf v1 r6 tping 100 30 1.1.2.5 vrf v1 r6 tping 100 30 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout088.tst 0000664 0000000 0000000 00000013140 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: bridging over l2tp vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn3.222 l2tp2 9.9.9.2 1234 bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge l2tp l2tptap vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp bridge-gr 1 exit server l2tp2 l clone dialer1 vrf v2 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234:1::1 vrf v1 r4 tping 100 30 1.1.2.5 vrf v1 r4 tping 100 30 1234:2::5 vrf v1 r4 tping 100 30 1.1.2.6 vrf v1 r4 tping 100 30 1234:2::6 vrf v1 r5 tping 100 30 1.1.2.4 vrf v1 r5 tping 100 30 1234:2::4 vrf v1 r5 tping 100 30 1.1.2.6 vrf v1 r5 tping 100 30 1234:2::6 vrf v1 r6 tping 100 30 1.1.2.4 vrf v1 r6 tping 100 30 1234:2::4 vrf v1 r6 tping 100 30 1.1.2.5 vrf v1 r6 tping 100 30 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout089.tst 0000664 0000000 0000000 00000012641 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 123 protocol vxlan exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 vxlan 9.9.9.1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout090.tst 0000664 0000000 0000000 00000012647 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9999::2 vcid 123 protocol vxlan exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 vxlan 9999::1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout091.tst 0000664 0000000 0000000 00000013311 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 source lo1 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 8.8.8.2 vcid 123 protocol vxlan exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 vxlan 8.8.8.1 123 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r5 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout092.tst 0000664 0000000 0000000 00000013471 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit proxy-profile p2 source lo1 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 8888::2 vcid 123 protocol vxlan exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 vxlan 8888::1 123 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r5 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout093.tst 0000664 0000000 0000000 00000012701 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 123 protocol vxlan exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1.111 vxlan 9.9.9.1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout094.tst 0000664 0000000 0000000 00000010642 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 123 protocol vxlan exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 bun1 vxlan 9.9.9.1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout095.tst 0000664 0000000 0000000 00000021645 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: evpn/vxlan with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r3 3.3.3.106 vrf v1 sou lo1 r1 dping sdn . r3 3333::106 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout096.tst 0000664 0000000 0000000 00000021730 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: vlan evpn/vxlan with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r3 3.3.3.106 vrf v1 sou lo1 r1 dping sdn . r3 3333::106 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout097.tst 0000664 0000000 0000000 00000017434 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan evpn/vxlan with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bundle 1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r3 3.3.3.105 vrf v1 sou lo1 r1 dping sdn . r3 3333::105 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout098.tst 0000664 0000000 0000000 00000022413 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: hairpin evpn/vxlan with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 2 mac-learn exit bridge 3 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11 bridge-gr 1 exit int hair12 bridge-gr 2 exit int hair21 bridge-gr 1 exit int hair22 bridge-gr 3 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r3 3.3.3.106 vrf v1 sou lo1 r1 dping sdn . r3 3333::106 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout099.tst 0000664 0000000 0000000 00000023613 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: ipip routing over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature ipip route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout100.tst 0000664 0000000 0000000 00000023621 14716276021 0017261 0 ustar 00root root 0000000 0000000 description p4lang: ipip routing over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature ipip route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout101.tst 0000664 0000000 0000000 00000024246 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: ipip routing over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature ipip route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout102.tst 0000664 0000000 0000000 00000024426 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: ipip routing over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature ipip route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout103.tst 0000664 0000000 0000000 00000023657 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: ipip routing over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature ipip vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout104.tst 0000664 0000000 0000000 00000016315 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: ipip routing over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.2 tun mode ipip vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature ipip route bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.1 tun mode ipip vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout105.tst 0000664 0000000 0000000 00000012653 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol pckoudp exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 pckoudp 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout106.tst 0000664 0000000 0000000 00000012661 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9999::2 vcid 2554 protocol pckoudp exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 pckoudp 9999::1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout107.tst 0000664 0000000 0000000 00000013323 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 source lo1 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 8.8.8.2 vcid 2554 protocol pckoudp exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 pckoudp 8.8.8.1 2554 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r5 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout108.tst 0000664 0000000 0000000 00000013503 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit proxy-profile p2 source lo1 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 8888::2 vcid 2554 protocol pckoudp exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 pckoudp 8888::1 2554 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r5 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout109.tst 0000664 0000000 0000000 00000012713 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol pckoudp exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1.111 pckoudp 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout110.tst 0000664 0000000 0000000 00000010654 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol pckoudp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 bun1 pckoudp 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout111.tst 0000664 0000000 0000000 00000012551 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp server over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit server pckoudp pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 pckoudp 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout112.tst 0000664 0000000 0000000 00000012557 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp server over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit server pckoudp pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 pckoudp 9999::1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout113.tst 0000664 0000000 0000000 00000013205 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp server over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit server pckoudp pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 pckoudp 8.8.8.1 2554 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r5 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout114.tst 0000664 0000000 0000000 00000013365 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp server over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit server pckoudp pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 pckoudp 8888::1 2554 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r5 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout115.tst 0000664 0000000 0000000 00000012555 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: vxlan server over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit server vxlan vx bridge 1 instance 123 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 vxlan 9.9.9.1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout116.tst 0000664 0000000 0000000 00000012563 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: vxlan server over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit server vxlan vx bridge 1 instance 123 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 vxlan 9999::1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout117.tst 0000664 0000000 0000000 00000013211 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: vxlan server over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit server vxlan vx bridge 1 instance 123 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 vxlan 8.8.8.1 123 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r5 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout118.tst 0000664 0000000 0000000 00000013371 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: vxlan server over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit server vxlan vx bridge 1 instance 123 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 vxlan 8888::1 123 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r5 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout119.tst 0000664 0000000 0000000 00000023131 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: pppoe server routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 p2poe server di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout120.tst 0000664 0000000 0000000 00000023172 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: vlan pppoe server routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 p2poe server di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1.111 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout121.tst 0000664 0000000 0000000 00000023443 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: pppoe server mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 p2poe server di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout122.tst 0000664 0000000 0000000 00000023504 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: vlan pppoe server mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 exit int sdn2.111 p2poe server di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1.111 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout123.tst 0000664 0000000 0000000 00000023546 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp server routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server l2tp2 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp2 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout124.tst 0000664 0000000 0000000 00000023607 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: vlan l2tp server routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server l2tp2 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp2 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout125.tst 0000664 0000000 0000000 00000024061 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: l2tp server mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp2 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout126.tst 0000664 0000000 0000000 00000024122 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: vlan l2tp server mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp2 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout127.tst 0000664 0000000 0000000 00000041725 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: p2p ldp tail+head addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.11.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout128.tst 0000664 0000000 0000000 00000043261 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: p2p ldp mid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.21.2 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:21::2 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.31.2 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:31::2 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.41.2 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:41::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.21.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.31.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.41.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:21::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:31::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:41::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pldp vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pldp vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout129.tst 0000664 0000000 0000000 00000042114 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: p2p te tail+head addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.11.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout130.tst 0000664 0000000 0000000 00000043442 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: p2p te mid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.21.2 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:21::2 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.31.2 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:31::2 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.41.2 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:41::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.21.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.31.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.41.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:21::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:31::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:41::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout131.tst 0000664 0000000 0000000 00000035620 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: sr te over mpls tail+head addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun domain 2.2.2.103 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun domain 4321::103 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun domain 2.2.2.104 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun domain 4321::104 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.105 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun domain 4321::105 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun domain 2.2.2.106 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun domain 4321::106 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.11.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout132.tst 0000664 0000000 0000000 00000037360 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: sr te over mpls mid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun domain 2.2.2.103 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun domain 4321::103 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun domain 2.2.2.104 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun domain 4321::104 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.105 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun domain 4321::105 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun domain 2.2.2.106 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun domain 4321::106 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.21.2 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:21::2 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.31.2 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:31::2 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.41.2 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:41::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.21.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.31.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.41.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:21::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:31::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:41::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout133.tst 0000664 0000000 0000000 00000023775 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: policy routing between vrfs addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit access-list a2b4 permit all 2.2.2.0 255.255.255.0 all 2.2.2.103 255.255.255.255 all exit access-list a2b6 permit all 4321:: ffff:ffff:ffff:ffff:: all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a4 permit all 2.2.2.103 255.255.255.255 all 2.2.2.0 255.255.255.0 all exit access-list b2a6 permit all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321:: ffff:ffff:ffff:ffff:: all exit ipv4 pbr v1 a2b4 v2 ipv6 pbr v1 a2b6 v2 ipv4 pbr v2 b2a4 v1 ipv6 pbr v2 b2a6 v1 server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route pbr int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 10 1234:2::2 vrf v1 r3 tping 0 10 1.1.3.2 vrf v1 r3 tping 0 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 0 10 1.1.1.2 vrf v1 r4 tping 0 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 0 10 1.1.1.2 vrf v1 r5 tping 0 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout134.tst 0000664 0000000 0000000 00000023637 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: policy routing with nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit access-list a2b4 permit all 2.2.2.0 255.255.255.0 all 2.2.2.103 255.255.255.255 all exit access-list a2b6 permit all 4321:: ffff:ffff:ffff:ffff:: all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a4 permit all 2.2.2.103 255.255.255.255 all 2.2.2.0 255.255.255.0 all exit access-list b2a6 permit all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321:: ffff:ffff:ffff:ffff:: all exit ipv4 pbr v1 a2b4 v2 next 1.1.1.2 ipv6 pbr v1 a2b6 v2 next 1234:1::2 ipv4 pbr v2 b2a4 v1 ipv6 pbr v2 b2a6 v1 server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route pbr int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 10 1234:2::2 vrf v1 r3 tping 0 10 1.1.3.2 vrf v1 r3 tping 0 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 0 10 1.1.1.2 vrf v1 r4 tping 0 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 0 10 1.1.1.2 vrf v1 r5 tping 0 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout135.tst 0000664 0000000 0000000 00000023677 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: policy routing with interface and nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit access-list a2b4 permit all 2.2.2.0 255.255.255.0 all 2.2.2.103 255.255.255.255 all exit access-list a2b6 permit all 4321:: ffff:ffff:ffff:ffff:: all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a4 permit all 2.2.2.103 255.255.255.255 all 2.2.2.0 255.255.255.0 all exit access-list b2a6 permit all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321:: ffff:ffff:ffff:ffff:: all exit ipv4 pbr v1 a2b4 v2 int sdn1 next 1.1.1.2 ipv6 pbr v1 a2b6 v2 int sdn1 next 1234:1::2 ipv4 pbr v2 b2a4 v1 ipv6 pbr v2 b2a6 v1 server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route pbr int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 0 10 1.1.2.2 vrf v1 r3 tping 0 10 1234:2::2 vrf v1 r3 tping 0 10 1.1.3.2 vrf v1 r3 tping 0 10 1234:3::2 vrf v1 r3 tping 0 10 1.1.4.2 vrf v1 r3 tping 0 10 1234:4::2 vrf v1 r4 tping 0 10 1.1.1.2 vrf v1 r4 tping 0 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 0 10 1.1.1.2 vrf v1 r5 tping 0 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 0 10 1.1.1.2 vrf v1 r6 tping 0 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout136.tst 0000664 0000000 0000000 00000024561 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: multicast routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout137.tst 0000664 0000000 0000000 00000024727 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: multicast vlan routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout138.tst 0000664 0000000 0000000 00000016733 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: multicast bundle routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 mroute v1 :: :: 1234:1::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle route mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 200 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 200 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout139.tst 0000664 0000000 0000000 00000016774 14716276021 0017310 0 ustar 00root root 0000000 0000000 description p4lang: multicast bundle vlan routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 exit int bun1.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 mroute v1 :: :: 1234:1::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle route vlan mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 200 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 200 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout140.tst 0000664 0000000 0000000 00000033442 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: hairpin multicast routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 vrf for v2 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int hair12 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 ipv4 mroute v2 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v2 :: :: 1234:5::1 server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:3:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.4.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:4:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.5.1 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! addother r2 controller r1 v9 9080 - feature hairpin route mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout141.tst 0000664 0000000 0000000 00000033526 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan multicast routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 vrf for v2 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11 exit int hair11.111 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int hair12 exit int hair12.111 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 ipv4 mroute v2 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v2 :: :: 1234:5::1 server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:3:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.4.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:4:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.5.1 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! addother r2 controller r1 v9 9080 - feature hairpin vlan route mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout142.tst 0000664 0000000 0000000 00000025003 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: mldp core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout143.tst 0000664 0000000 0000000 00000025151 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: mldp vlan core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout144.tst 0000664 0000000 0000000 00000025652 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: mldp core over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route gre duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout145.tst 0000664 0000000 0000000 00000025606 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: mldp core over l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route l2tp duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout146.tst 0000664 0000000 0000000 00000020363 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: mldp bundle core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route bundle duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 200 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 200 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout147.tst 0000664 0000000 0000000 00000020475 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: mldp bundle vlan core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 exit int bun1.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route bundle duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 200 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 200 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout148.tst 0000664 0000000 0000000 00000033646 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: hairpin mldp core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v2 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int hair11 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int hair12 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:3:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.4.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:4:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.5.1 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! addother r2 controller r1 v9 9080 - feature route hairpin duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout149.tst 0000664 0000000 0000000 00000033670 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan mldp core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v2 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int hair11.111 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int hair12.111 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:3:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.4.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:4:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.5.1 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! addother r2 controller r1 v9 9080 - feature route hairpin vlan duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout150.tst 0000664 0000000 0000000 00000024703 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: mldp egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout151.tst 0000664 0000000 0000000 00000025051 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: mldp vlan egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route mroute duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout152.tst 0000664 0000000 0000000 00000024003 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: mldp ingress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 pim ena ipv6 pim ena exit ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a neigh 2.2.2.105 temp a red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a neigh 4321::105 temp a red conn red stat exit ! addother r2 controller r1 v9 9080 - feature route duplab mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.5 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.5 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout153.tst 0000664 0000000 0000000 00000024151 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: mldp vlan ingress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 pim ena ipv6 pim ena exit ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a neigh 2.2.2.105 temp a red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a neigh 4321::105 temp a red conn red stat exit ! addother r2 controller r1 v9 9080 - feature vlan route duplab mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.5 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.5 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout154.tst 0000664 0000000 0000000 00000025004 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: mldp core and egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout155.tst 0000664 0000000 0000000 00000025152 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: vlan mldp core and egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route mroute duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout156.tst 0000664 0000000 0000000 00000026052 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: bier core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout157.tst 0000664 0000000 0000000 00000026220 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: bier vlan core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route vlan bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout158.tst 0000664 0000000 0000000 00000026721 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: bier core over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route gre bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout159.tst 0000664 0000000 0000000 00000026751 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: bier core over l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route l2tp bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout160.tst 0000664 0000000 0000000 00000021435 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: bier bundle core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route bundle bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ int eth3 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth3 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout161.tst 0000664 0000000 0000000 00000021535 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: bier bundle vlan core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route bundle vlan bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ int eth3 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth3 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout162.tst 0000664 0000000 0000000 00000031215 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: hairpin bier core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit router lsrp4 2 vrf v2 router 4.4.4.9 bier 256 10 9 red conn exit router lsrp6 2 vrf v2 router 6.6.6.9 bier 256 10 9 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 2 ena router lsrp6 2 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int hair11 vrf for v1 ipv4 addr 1.1.6.1 255.255.255.0 ipv6 addr 1234:6::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int hair12 vrf for v2 ipv4 addr 1.1.6.2 255.255.255.0 ipv6 addr 1234:6::2 ffff:ffff:: ipv6 ena mpls enable router lsrp4 2 ena router lsrp6 2 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route hairpin bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.6.2 vrf v1 r1 tping 100 10 1234:6::2 vrf v1 r1 tping 100 10 1.1.6.1 vrf v2 r1 tping 100 10 1234:6::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.6.2 vrf v1 r1 tping 100 10 1234:6::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.6.2 vrf v1 r3 tping 100 10 1234:6::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.6.2 vrf v1 r4 tping 100 10 1234:6::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.6.2 vrf v1 r5 tping 100 10 1234:6::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.6.2 vrf v1 r6 tping 100 10 1234:6::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.6.2 vrf v1 r7 tping 100 10 1234:6::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.100 vrf v1 sou lo0 r3 tping 100 10 4321::100 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.100 vrf v1 sou lo0 r4 tping 100 10 4321::100 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.100 vrf v1 sou lo0 r5 tping 100 10 4321::100 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.100 vrf v1 sou lo0 r6 tping 100 10 4321::100 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.100 vrf v1 sou lo0 r7 tping 100 10 4321::100 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout163.tst 0000664 0000000 0000000 00000031274 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: hairpin vlan bier core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit router lsrp4 2 vrf v2 router 4.4.4.9 bier 256 10 9 red conn exit router lsrp6 2 vrf v2 router 6.6.6.9 bier 256 10 9 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 2 ena router lsrp6 2 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int hair11 exit int hair11.111 vrf for v1 ipv4 addr 1.1.6.1 255.255.255.0 ipv6 addr 1234:6::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int hair12 exit int hair12.111 vrf for v2 ipv4 addr 1.1.6.2 255.255.255.0 ipv6 addr 1234:6::2 ffff:ffff:: ipv6 ena mpls enable router lsrp4 2 ena router lsrp6 2 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route hairpin bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.6.2 vrf v1 r1 tping 100 10 1234:6::2 vrf v1 r1 tping 100 10 1.1.6.1 vrf v2 r1 tping 100 10 1234:6::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.6.2 vrf v1 r1 tping 100 10 1234:6::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.6.2 vrf v1 r3 tping 100 10 1234:6::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.6.2 vrf v1 r4 tping 100 10 1234:6::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.6.2 vrf v1 r5 tping 100 10 1234:6::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.6.2 vrf v1 r6 tping 100 10 1234:6::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.6.2 vrf v1 r7 tping 100 10 1234:6::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.100 vrf v1 sou lo0 r3 tping 100 10 4321::100 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.100 vrf v1 sou lo0 r4 tping 100 10 4321::100 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.100 vrf v1 sou lo0 r5 tping 100 10 4321::100 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.100 vrf v1 sou lo0 r6 tping 100 10 4321::100 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.100 vrf v1 sou lo0 r7 tping 100 10 4321::100 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout164.tst 0000664 0000000 0000000 00000026532 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: bier egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena router lsrp4 1 ena router lsrp6 1 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route mroute bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout165.tst 0000664 0000000 0000000 00000026700 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: bier vlan egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena router lsrp4 1 ena router lsrp6 1 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature vlan route mroute bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout166.tst 0000664 0000000 0000000 00000034231 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: bier ingress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv6 ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a neigh 2.2.2.105 temp a neigh 2.2.2.107 temp a red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a neigh 4321::105 temp a neigh 4321::107 temp a red conn red stat exit ! addother r2 controller r1 v9 9080 - feature route mroute bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.5 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.5 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.7 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.7 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout167.tst 0000664 0000000 0000000 00000034377 14716276021 0017310 0 ustar 00root root 0000000 0000000 description p4lang: bier vlan ingress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv6 ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a neigh 2.2.2.105 temp a neigh 2.2.2.107 temp a red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a neigh 4321::105 temp a neigh 4321::107 temp a red conn red stat exit ! addother r2 controller r1 v9 9080 - feature vlan route mroute bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.5 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.5 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.7 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.7 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout168.tst 0000664 0000000 0000000 00000030457 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: bier core and egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn red stat exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn red stat exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout169.tst 0000664 0000000 0000000 00000030620 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: vlan bier core and egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn red stat exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn red stat exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn2 exit int sdn2.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 exit int sdn3.333 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit int sdn4 exit int sdn4.444 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 1 ipv6 pim bier 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route mroute bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1.333 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1.444 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout170.tst 0000664 0000000 0000000 00000023660 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: amt server over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int temp1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena shut exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server amt a clone temp1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port temp1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature amt route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun sou bvi1 tun vrf v2 tun dest 9.9.9.1 tun mod amt vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout171.tst 0000664 0000000 0000000 00000023666 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: amt server over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int temp1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena shut exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server amt a clone temp1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port temp1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature amt route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun sou bvi1 tun vrf v2 tun dest 9999::1 tun mod amt vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout172.tst 0000664 0000000 0000000 00000024314 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: amt server over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int temp1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena shut exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server amt a clone temp1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port temp1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature amt route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int tun1 tun sou lo1 tun vrf v2 tun dest 8.8.8.1 tun mod amt vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout173.tst 0000664 0000000 0000000 00000024474 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: amt server over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int temp1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena shut exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server amt a clone temp1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port temp1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature amt route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int tun1 tun sou lo1 tun vrf v2 tun dest 8888::1 tun mod amt vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout174.tst 0000664 0000000 0000000 00000025770 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: autoroute to sr te over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun domain 2.2.2.103 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.103 1.1.11.2 exclu exit int tun12 tun sou lo0 tun dest 4321::103 tun domain 4321::103 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::103 1234:11::2 exclu exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun domain 2.2.2.104 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.104 1.1.12.2 exclu exit int tun22 tun sou lo0 tun dest 4321::104 tun domain 4321::104 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::104 1234:12::2 exclu exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.105 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.105 1.1.13.2 exclu exit int tun32 tun sou lo0 tun dest 4321::105 tun domain 4321::105 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::105 1234:13::2 exclu exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun domain 2.2.2.106 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.106 1.1.14.2 exclu exit int tun42 tun sou lo0 tun dest 4321::106 tun domain 4321::106 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::106 1234:14::2 exclu exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.101 1.1.11.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:11::1 exclu exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.101 1.1.12.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:12::1 exclu exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.103 1.1.12.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:13::1 exclu exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.103 1.1.14.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:14::1 exclu exit ! r1 tping 100 10 1.1.1.2 vrf v1 sou sdn1 r1 tping 100 10 1234:1::2 vrf v1 sou sdn1 r1 tping 100 10 1.1.2.2 vrf v1 sou sdn2 r1 tping 100 10 1234:2::2 vrf v1 sou sdn2 r1 tping 100 10 1.1.3.2 vrf v1 sou sdn3 r1 tping 100 10 1234:3::2 vrf v1 sou sdn3 r1 tping 100 10 1.1.4.2 vrf v1 sou sdn4 r1 tping 100 10 1234:4::2 vrf v1 sou sdn4 r3 tping 100 10 1.1.1.2 vrf v1 sou eth1 r3 tping 100 10 1234:1::2 vrf v1 sou eth1 r3 tping 100 10 1.1.2.2 vrf v1 sou eth1 r3 tping 100 10 1234:2::2 vrf v1 sou eth1 r3 tping 100 10 1.1.3.2 vrf v1 sou eth1 r3 tping 100 10 1234:3::2 vrf v1 sou eth1 r3 tping 100 10 1.1.4.2 vrf v1 sou eth1 r3 tping 100 10 1234:4::2 vrf v1 sou eth1 r4 tping 100 10 1.1.1.2 vrf v1 sou eth1 r4 tping 100 10 1234:1::2 vrf v1 sou eth1 r4 tping 100 10 1.1.2.2 vrf v1 sou eth1 r4 tping 100 10 1234:2::2 vrf v1 sou eth1 r4 tping 100 10 1.1.3.2 vrf v1 sou eth1 r4 tping 100 10 1234:3::2 vrf v1 sou eth1 r4 tping 100 10 1.1.4.2 vrf v1 sou eth1 r4 tping 100 10 1234:4::2 vrf v1 sou eth1 r5 tping 100 10 1.1.1.2 vrf v1 sou eth1 r5 tping 100 10 1234:1::2 vrf v1 sou eth1 r5 tping 100 10 1.1.2.2 vrf v1 sou eth1 r5 tping 100 10 1234:2::2 vrf v1 sou eth1 r5 tping 100 10 1.1.3.2 vrf v1 sou eth1 r5 tping 100 10 1234:3::2 vrf v1 sou eth1 r5 tping 100 10 1.1.4.2 vrf v1 sou eth1 r5 tping 100 10 1234:4::2 vrf v1 sou eth1 r6 tping 100 10 1.1.1.2 vrf v1 sou eth1 r6 tping 100 10 1234:1::2 vrf v1 sou eth1 r6 tping 100 10 1.1.2.2 vrf v1 sou eth1 r6 tping 100 10 1234:2::2 vrf v1 sou eth1 r6 tping 100 10 1.1.3.2 vrf v1 sou eth1 r6 tping 100 10 1234:3::2 vrf v1 sou eth1 r6 tping 100 10 1.1.4.2 vrf v1 sou eth1 r6 tping 100 10 1234:4::2 vrf v1 sou eth1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 1.1.3.2 vrf v1 sou eth1 r1 dping sdn . r6 1234:3::2 vrf v1 sou eth1 freeRtr-24.11.16/cfg/p4lang-rout175.tst 0000664 0000000 0000000 00000025465 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: autoroute to p2p te over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.1 justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.103 1.1.11.2 exclu exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::103 1234:11::2 exclu exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.104 1.1.12.2 exclu exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::104 1234:12::2 exclu exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.105 1.1.13.2 exclu exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::105 1234:13::2 exclu exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.106 1.1.14.2 exclu exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::106 1234:14::2 exclu exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.101 1.1.11.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:11::1 exclu exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.101 1.1.12.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:12::1 exclu exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.103 1.1.12.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:13::1 exclu exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 ipv4 autoroute lsrp4 1 2.2.2.103 1.1.14.1 exclu exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: ipv6 autoroute lsrp6 1 4321::101 1234:14::1 exclu exit ! r1 tping 100 10 1.1.1.2 vrf v1 sou sdn1 r1 tping 100 10 1234:1::2 vrf v1 sou sdn1 r1 tping 100 10 1.1.2.2 vrf v1 sou sdn2 r1 tping 100 10 1234:2::2 vrf v1 sou sdn2 r1 tping 100 10 1.1.3.2 vrf v1 sou sdn3 r1 tping 100 10 1234:3::2 vrf v1 sou sdn3 r1 tping 100 10 1.1.4.2 vrf v1 sou sdn4 r1 tping 100 10 1234:4::2 vrf v1 sou sdn4 r3 tping 100 10 1.1.1.2 vrf v1 sou eth1 r3 tping 100 10 1234:1::2 vrf v1 sou eth1 r3 tping 100 10 1.1.2.2 vrf v1 sou eth1 r3 tping 100 10 1234:2::2 vrf v1 sou eth1 r3 tping 100 10 1.1.3.2 vrf v1 sou eth1 r3 tping 100 10 1234:3::2 vrf v1 sou eth1 r3 tping 100 10 1.1.4.2 vrf v1 sou eth1 r3 tping 100 10 1234:4::2 vrf v1 sou eth1 r4 tping 100 10 1.1.1.2 vrf v1 sou eth1 r4 tping 100 10 1234:1::2 vrf v1 sou eth1 r4 tping 100 10 1.1.2.2 vrf v1 sou eth1 r4 tping 100 10 1234:2::2 vrf v1 sou eth1 r4 tping 100 10 1.1.3.2 vrf v1 sou eth1 r4 tping 100 10 1234:3::2 vrf v1 sou eth1 r4 tping 100 10 1.1.4.2 vrf v1 sou eth1 r4 tping 100 10 1234:4::2 vrf v1 sou eth1 r5 tping 100 10 1.1.1.2 vrf v1 sou eth1 r5 tping 100 10 1234:1::2 vrf v1 sou eth1 r5 tping 100 10 1.1.2.2 vrf v1 sou eth1 r5 tping 100 10 1234:2::2 vrf v1 sou eth1 r5 tping 100 10 1.1.3.2 vrf v1 sou eth1 r5 tping 100 10 1234:3::2 vrf v1 sou eth1 r5 tping 100 10 1.1.4.2 vrf v1 sou eth1 r5 tping 100 10 1234:4::2 vrf v1 sou eth1 r6 tping 100 10 1.1.1.2 vrf v1 sou eth1 r6 tping 100 10 1234:1::2 vrf v1 sou eth1 r6 tping 100 10 1.1.2.2 vrf v1 sou eth1 r6 tping 100 10 1234:2::2 vrf v1 sou eth1 r6 tping 100 10 1.1.3.2 vrf v1 sou eth1 r6 tping 100 10 1234:3::2 vrf v1 sou eth1 r6 tping 100 10 1.1.4.2 vrf v1 sou eth1 r6 tping 100 10 1234:4::2 vrf v1 sou eth1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 1.1.3.2 vrf v1 sou eth1 r1 dping sdn . r6 1234:3::2 vrf v1 sou eth1 freeRtr-24.11.16/cfg/p4lang-rout176.tst 0000664 0000000 0000000 00000026606 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: policy routing to sr te over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun domain 2.2.2.103 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun domain 4321::103 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun domain 2.2.2.104 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun domain 4321::104 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.105 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun domain 4321::105 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun domain 2.2.2.106 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun domain 4321::106 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.0 255.255.255.0 all 2.2.2.203 255.255.255.255 all exit access-list a2b6 permit all 4321:: ffff:ffff:ffff:ffff:: all 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 next 1.1.11.2 ipv6 pbr v1 a2b6 v1 next 1234:11::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature mpls pbr int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun domain 2.2.2.101 tun vrf v1 tun mod srmpls vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun domain 4321::101 tun vrf v1 tun mod srmpls vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 sou sdn1 r1 tping 100 10 1234:1::2 vrf v1 sou sdn1 r1 tping 100 10 1.1.2.2 vrf v1 sou sdn2 r1 tping 100 10 1234:2::2 vrf v1 sou sdn2 r1 tping 100 10 1.1.3.2 vrf v1 sou sdn3 r1 tping 100 10 1234:3::2 vrf v1 sou sdn3 r1 tping 100 10 1.1.4.2 vrf v1 sou sdn4 r1 tping 100 10 1234:4::2 vrf v1 sou sdn4 r3 tping 100 10 1.1.1.2 vrf v1 sou eth1 r3 tping 100 10 1234:1::2 vrf v1 sou eth1 r3 tping 100 10 1.1.2.2 vrf v1 sou eth1 r3 tping 100 10 1234:2::2 vrf v1 sou eth1 r3 tping 100 10 1.1.3.2 vrf v1 sou eth1 r3 tping 100 10 1234:3::2 vrf v1 sou eth1 r3 tping 100 10 1.1.4.2 vrf v1 sou eth1 r3 tping 100 10 1234:4::2 vrf v1 sou eth1 r4 tping 100 10 1.1.1.2 vrf v1 sou eth1 r4 tping 100 10 1234:1::2 vrf v1 sou eth1 r4 tping 100 10 1.1.2.2 vrf v1 sou eth1 r4 tping 100 10 1234:2::2 vrf v1 sou eth1 r4 tping 100 10 1.1.3.2 vrf v1 sou eth1 r4 tping 100 10 1234:3::2 vrf v1 sou eth1 r4 tping 100 10 1.1.4.2 vrf v1 sou eth1 r4 tping 100 10 1234:4::2 vrf v1 sou eth1 r5 tping 100 10 1.1.1.2 vrf v1 sou eth1 r5 tping 100 10 1234:1::2 vrf v1 sou eth1 r5 tping 100 10 1.1.2.2 vrf v1 sou eth1 r5 tping 100 10 1234:2::2 vrf v1 sou eth1 r5 tping 100 10 1.1.3.2 vrf v1 sou eth1 r5 tping 100 10 1234:3::2 vrf v1 sou eth1 r5 tping 100 10 1.1.4.2 vrf v1 sou eth1 r5 tping 100 10 1234:4::2 vrf v1 sou eth1 r6 tping 100 10 1.1.1.2 vrf v1 sou eth1 r6 tping 100 10 1234:1::2 vrf v1 sou eth1 r6 tping 100 10 1.1.2.2 vrf v1 sou eth1 r6 tping 100 10 1234:2::2 vrf v1 sou eth1 r6 tping 100 10 1.1.3.2 vrf v1 sou eth1 r6 tping 100 10 1234:3::2 vrf v1 sou eth1 r6 tping 100 10 1.1.4.2 vrf v1 sou eth1 r6 tping 100 10 1234:4::2 vrf v1 sou eth1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.203 vrf v1 sou lo0 r1 tping 100 10 4321::203 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.203 vrf v1 sou lo0 r3 tping 100 10 4321::203 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.203 vrf v1 sou lo0 r4 tping 100 10 4321::203 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.203 vrf v1 sou lo0 r5 tping 100 10 4321::203 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.203 vrf v1 sou lo0 r6 tping 100 10 4321::203 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.203 vrf v1 sou lo0 r1 dping sdn . r6 4321::203 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout177.tst 0000664 0000000 0000000 00000026303 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: policy routing to p2p te over mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.1 justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.0 255.255.255.0 all 2.2.2.203 255.255.255.255 all exit access-list a2b6 permit all 4321:: ffff:ffff:ffff:ffff:: all 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 next 1.1.11.2 ipv6 pbr v1 a2b6 v1 next 1234:11::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature mpls pbr int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit router lsrp4 1 vrf v1 router 4.4.4.6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod p2pte vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod p2pte vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 sou sdn1 r1 tping 100 10 1234:1::2 vrf v1 sou sdn1 r1 tping 100 10 1.1.2.2 vrf v1 sou sdn2 r1 tping 100 10 1234:2::2 vrf v1 sou sdn2 r1 tping 100 10 1.1.3.2 vrf v1 sou sdn3 r1 tping 100 10 1234:3::2 vrf v1 sou sdn3 r1 tping 100 10 1.1.4.2 vrf v1 sou sdn4 r1 tping 100 10 1234:4::2 vrf v1 sou sdn4 r3 tping 100 10 1.1.1.2 vrf v1 sou eth1 r3 tping 100 10 1234:1::2 vrf v1 sou eth1 r3 tping 100 10 1.1.2.2 vrf v1 sou eth1 r3 tping 100 10 1234:2::2 vrf v1 sou eth1 r3 tping 100 10 1.1.3.2 vrf v1 sou eth1 r3 tping 100 10 1234:3::2 vrf v1 sou eth1 r3 tping 100 10 1.1.4.2 vrf v1 sou eth1 r3 tping 100 10 1234:4::2 vrf v1 sou eth1 r4 tping 100 10 1.1.1.2 vrf v1 sou eth1 r4 tping 100 10 1234:1::2 vrf v1 sou eth1 r4 tping 100 10 1.1.2.2 vrf v1 sou eth1 r4 tping 100 10 1234:2::2 vrf v1 sou eth1 r4 tping 100 10 1.1.3.2 vrf v1 sou eth1 r4 tping 100 10 1234:3::2 vrf v1 sou eth1 r4 tping 100 10 1.1.4.2 vrf v1 sou eth1 r4 tping 100 10 1234:4::2 vrf v1 sou eth1 r5 tping 100 10 1.1.1.2 vrf v1 sou eth1 r5 tping 100 10 1234:1::2 vrf v1 sou eth1 r5 tping 100 10 1.1.2.2 vrf v1 sou eth1 r5 tping 100 10 1234:2::2 vrf v1 sou eth1 r5 tping 100 10 1.1.3.2 vrf v1 sou eth1 r5 tping 100 10 1234:3::2 vrf v1 sou eth1 r5 tping 100 10 1.1.4.2 vrf v1 sou eth1 r5 tping 100 10 1234:4::2 vrf v1 sou eth1 r6 tping 100 10 1.1.1.2 vrf v1 sou eth1 r6 tping 100 10 1234:1::2 vrf v1 sou eth1 r6 tping 100 10 1.1.2.2 vrf v1 sou eth1 r6 tping 100 10 1234:2::2 vrf v1 sou eth1 r6 tping 100 10 1.1.3.2 vrf v1 sou eth1 r6 tping 100 10 1234:3::2 vrf v1 sou eth1 r6 tping 100 10 1.1.4.2 vrf v1 sou eth1 r6 tping 100 10 1234:4::2 vrf v1 sou eth1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.203 vrf v1 sou lo0 r1 tping 100 10 4321::203 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.203 vrf v1 sou lo0 r3 tping 100 10 4321::203 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.203 vrf v1 sou lo0 r4 tping 100 10 4321::203 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.203 vrf v1 sou lo0 r5 tping 100 10 4321::203 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.203 vrf v1 sou lo0 r6 tping 100 10 4321::203 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.203 vrf v1 sou lo0 r1 dping sdn . r6 4321::203 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout178.tst 0000664 0000000 0000000 00000027704 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: nsh addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena nsh ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit nsh 1001 122 rou v1 nsh 1003 122 int sdn1 0000.0000.3333 nsh 1004 122 int sdn2 0000.0000.4444 nsh 1005 122 int sdn3 0000.0000.5555 nsh 1006 122 rou v1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route nsh int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.0 ipv6 addr 4321::103 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 121 rou v1 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.0 ipv6 addr 4321::104 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 121 rou v1 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1003 123 ipv6 pbr v1 test36 v1 nsh 1003 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.0 ipv6 addr 4321::105 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 121 rou v1 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.0 ipv6 addr 4321::106 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 2.2.2.101 vrf v1 sou eth1 r3 tping 100 10 4321::101 vrf v1 sou eth1 r3 tping 100 10 2.2.2.103 vrf v1 sou eth1 r3 tping 100 10 4321::103 vrf v1 sou eth1 r3 tping 100 10 2.2.2.104 vrf v1 sou eth1 r3 tping 100 10 4321::104 vrf v1 sou eth1 r3 tping 100 10 2.2.2.105 vrf v1 sou eth1 r3 tping 100 10 4321::105 vrf v1 sou eth1 r3 tping 100 10 2.2.2.106 vrf v1 sou eth1 r3 tping 100 10 4321::106 vrf v1 sou eth1 r4 tping 100 10 2.2.2.101 vrf v1 sou eth1 r4 tping 100 10 4321::101 vrf v1 sou eth1 r4 tping 100 10 2.2.2.103 vrf v1 sou eth1 r4 tping 100 10 4321::103 vrf v1 sou eth1 r4 tping 100 10 2.2.2.104 vrf v1 sou eth1 r4 tping 100 10 4321::104 vrf v1 sou eth1 r4 tping 100 10 2.2.2.105 vrf v1 sou eth1 r4 tping 100 10 4321::105 vrf v1 sou eth1 r4 tping 100 10 2.2.2.106 vrf v1 sou eth1 r4 tping 100 10 4321::106 vrf v1 sou eth1 r5 tping 100 10 2.2.2.101 vrf v1 sou eth1 r5 tping 100 10 4321::101 vrf v1 sou eth1 r5 tping 100 10 2.2.2.103 vrf v1 sou eth1 r5 tping 100 10 4321::103 vrf v1 sou eth1 r5 tping 100 10 2.2.2.104 vrf v1 sou eth1 r5 tping 100 10 4321::104 vrf v1 sou eth1 r5 tping 100 10 2.2.2.105 vrf v1 sou eth1 r5 tping 100 10 4321::105 vrf v1 sou eth1 r5 tping 100 10 2.2.2.106 vrf v1 sou eth1 r5 tping 100 10 4321::106 vrf v1 sou eth1 r6 tping 100 10 2.2.2.101 vrf v1 sou eth1 r6 tping 100 10 4321::101 vrf v1 sou eth1 r6 tping 100 10 2.2.2.103 vrf v1 sou eth1 r6 tping 100 10 4321::103 vrf v1 sou eth1 r6 tping 100 10 2.2.2.104 vrf v1 sou eth1 r6 tping 100 10 4321::104 vrf v1 sou eth1 r6 tping 100 10 2.2.2.105 vrf v1 sou eth1 r6 tping 100 10 4321::105 vrf v1 sou eth1 r6 tping 100 10 2.2.2.106 vrf v1 sou eth1 r6 tping 100 10 4321::106 vrf v1 sou eth1 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout179.tst 0000664 0000000 0000000 00000030041 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: vlan nsh addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena nsh ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit nsh 1001 122 rou v1 nsh 1003 122 int sdn1.111 0000.0000.3333 nsh 1004 122 int sdn2 0000.0000.4444 nsh 1005 122 int sdn3 0000.0000.5555 nsh 1006 122 rou v1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route nsh int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.0 ipv6 addr 4321::103 ffff:ffff:: exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1.111 0000.0000.1111 nsh 1003 121 rou v1 nsh 1004 123 int eth1.111 0000.0000.1111 nsh 1005 123 int eth1.111 0000.0000.1111 nsh 1006 123 int eth1.111 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.0 ipv6 addr 4321::104 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 121 rou v1 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1003 123 ipv6 pbr v1 test36 v1 nsh 1003 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.0 ipv6 addr 4321::105 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 121 rou v1 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.0 ipv6 addr 4321::106 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 2.2.2.101 vrf v1 sou eth1.111 r3 tping 100 10 4321::101 vrf v1 sou eth1.111 r3 tping 100 10 2.2.2.103 vrf v1 sou eth1.111 r3 tping 100 10 4321::103 vrf v1 sou eth1.111 r3 tping 100 10 2.2.2.104 vrf v1 sou eth1.111 r3 tping 100 10 4321::104 vrf v1 sou eth1.111 r3 tping 100 10 2.2.2.105 vrf v1 sou eth1.111 r3 tping 100 10 4321::105 vrf v1 sou eth1.111 r3 tping 100 10 2.2.2.106 vrf v1 sou eth1.111 r3 tping 100 10 4321::106 vrf v1 sou eth1.111 r4 tping 100 10 2.2.2.101 vrf v1 sou eth1 r4 tping 100 10 4321::101 vrf v1 sou eth1 r4 tping 100 10 2.2.2.103 vrf v1 sou eth1 r4 tping 100 10 4321::103 vrf v1 sou eth1 r4 tping 100 10 2.2.2.104 vrf v1 sou eth1 r4 tping 100 10 4321::104 vrf v1 sou eth1 r4 tping 100 10 2.2.2.105 vrf v1 sou eth1 r4 tping 100 10 4321::105 vrf v1 sou eth1 r4 tping 100 10 2.2.2.106 vrf v1 sou eth1 r4 tping 100 10 4321::106 vrf v1 sou eth1 r5 tping 100 10 2.2.2.101 vrf v1 sou eth1 r5 tping 100 10 4321::101 vrf v1 sou eth1 r5 tping 100 10 2.2.2.103 vrf v1 sou eth1 r5 tping 100 10 4321::103 vrf v1 sou eth1 r5 tping 100 10 2.2.2.104 vrf v1 sou eth1 r5 tping 100 10 4321::104 vrf v1 sou eth1 r5 tping 100 10 2.2.2.105 vrf v1 sou eth1 r5 tping 100 10 4321::105 vrf v1 sou eth1 r5 tping 100 10 2.2.2.106 vrf v1 sou eth1 r5 tping 100 10 4321::106 vrf v1 sou eth1 r6 tping 100 10 2.2.2.101 vrf v1 sou eth1 r6 tping 100 10 4321::101 vrf v1 sou eth1 r6 tping 100 10 2.2.2.103 vrf v1 sou eth1 r6 tping 100 10 4321::103 vrf v1 sou eth1 r6 tping 100 10 2.2.2.104 vrf v1 sou eth1 r6 tping 100 10 4321::104 vrf v1 sou eth1 r6 tping 100 10 2.2.2.105 vrf v1 sou eth1 r6 tping 100 10 4321::105 vrf v1 sou eth1 r6 tping 100 10 2.2.2.106 vrf v1 sou eth1 r6 tping 100 10 4321::106 vrf v1 sou eth1 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout180.tst 0000664 0000000 0000000 00000035411 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature polka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.11.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::105 tun domain 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout181.tst 0000664 0000000 0000000 00000035452 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: vlan polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature vlan polka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.11.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::105 tun domain 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout182.tst 0000664 0000000 0000000 00000021034 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: mpolka core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature mpolka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.101 2.2.2.104 2.2.2.105 2.2.2.106 , 2.2.2.104 2.2.2.104 , 2.2.2.105 2.2.2.105 , 2.2.2.106 2.2.2.106 , tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::101 4321::104 4321::105 4321::106 , 4321::104 4321::104 , 4321::105 4321::105 , 4321::106 4321::106 , tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 300 5 3.3.3.1 vrf v1 sou lo0 multi r3 tping 300 5 3333::1 vrf v1 sou lo0 multi r1 dping sdn . r3 3.3.3.1 vrf v1 sou lo0 r1 dping sdn . r3 3333::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout183.tst 0000664 0000000 0000000 00000021075 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: mpolka vlan core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 exit int sdn3.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature vlan mpolka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.101 2.2.2.104 2.2.2.105 2.2.2.106 , 2.2.2.104 2.2.2.104 , 2.2.2.105 2.2.2.105 , 2.2.2.106 2.2.2.106 , tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::101 4321::104 4321::105 4321::106 , 4321::104 4321::104 , 4321::105 4321::105 , 4321::106 4321::106 , tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 300 5 3.3.3.1 vrf v1 sou lo0 multi r3 tping 300 5 3333::1 vrf v1 sou lo0 multi r1 dping sdn . r3 3.3.3.1 vrf v1 sou lo0 r1 dping sdn . r3 3333::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout184.tst 0000664 0000000 0000000 00000021013 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: mpolka edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature mpolka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.101 2.2.2.101 2.2.2.104 2.2.2.105 , 2.2.2.104 2.2.2.104 , 2.2.2.105 2.2.2.105 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::101 4321::101 4321::104 4321::105 , 4321::104 4321::104 , 4321::105 4321::105 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert lo1 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert lo1 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 300 5 3.3.3.1 vrf v1 sou lo0 multi r3 tping 300 5 3333::1 vrf v1 sou lo0 multi r1 dping sdn . r3 3.3.3.1 vrf v1 sou lo0 r1 dping sdn . r3 3333::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout185.tst 0000664 0000000 0000000 00000021054 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: mpolka vlan edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 exit int sdn3.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature vlan mpolka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.101 2.2.2.101 2.2.2.104 2.2.2.105 , 2.2.2.104 2.2.2.104 , 2.2.2.105 2.2.2.105 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::3 tunnel domain-name 4321::101 4321::101 4321::104 4321::105 , 4321::104 4321::104 , 4321::105 4321::105 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 ipv6 address 3333::1 ffff:ffff:: exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert lo1 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert lo1 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 300 5 3.3.3.1 vrf v1 sou lo0 multi r3 tping 300 5 3333::1 vrf v1 sou lo0 multi r1 dping sdn . r3 3.3.3.1 vrf v1 sou lo0 r1 dping sdn . r3 3333::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout186.tst 0000664 0000000 0000000 00000023767 14716276021 0017312 0 ustar 00root root 0000000 0000000 description p4lang: gtp server over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit ipv4 pool p4 1.1.1.2 0.0.0.1 1 ipv6 pool p6 1234:1::2 ::1 1 int di1 enc iponly vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv4 pool p4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 pool p6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server gtp gtp clone di1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gtp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun sou bvi1 tun vrf v2 tun dest 9.9.9.1 tun mod gtp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout187.tst 0000664 0000000 0000000 00000023775 14716276021 0017312 0 ustar 00root root 0000000 0000000 description p4lang: gtp server over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit ipv4 pool p4 1.1.1.2 0.0.0.1 1 ipv6 pool p6 1234:1::2 ::1 1 int di1 enc iponly vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv4 pool p4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 pool p6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server gtp gtp clone di1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gtp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun sou bvi1 tun vrf v2 tun dest 9999::1 tun mod gtp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout188.tst 0000664 0000000 0000000 00000024423 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: gtp server over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit ipv4 pool p4 1.1.1.2 0.0.0.1 1 ipv6 pool p6 1234:1::2 ::1 1 int di1 enc iponly vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv4 pool p4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 pool p6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server gtp gtp clone di1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gtp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int tun1 tun sou lo1 tun vrf v2 tun dest 8.8.8.1 tun mod gtp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout189.tst 0000664 0000000 0000000 00000024603 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: gtp server over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit ipv4 pool p4 1.1.1.2 0.0.0.1 1 ipv6 pool p6 1234:1::2 ::1 1 int di1 enc iponly vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv4 pool p4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 pool p6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server gtp gtp clone di1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gtp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int tun1 tun sou lo1 tun vrf v2 tun dest 8888::1 tun mod gtp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout190.tst 0000664 0000000 0000000 00000015516 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: bundle mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout191.tst 0000664 0000000 0000000 00000015536 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout192.tst 0000664 0000000 0000000 00000022623 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: pppoe mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout193.tst 0000664 0000000 0000000 00000023426 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout194.tst 0000664 0000000 0000000 00000023362 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout195.tst 0000664 0000000 0000000 00000015517 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: bundle mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout196.tst 0000664 0000000 0000000 00000015537 14716276021 0017307 0 ustar 00root root 0000000 0000000 description p4lang: bundle vlan mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout197.tst 0000664 0000000 0000000 00000022624 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: pppoe mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout198.tst 0000664 0000000 0000000 00000023427 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout199.tst 0000664 0000000 0000000 00000023363 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout200.tst 0000664 0000000 0000000 00000020333 14716276021 0017257 0 ustar 00root root 0000000 0000000 description p4lang: lpm routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.0 255.255.255.0 1.1.2.2 ipv4 route v1 2.2.0.0 255.255.0.0 1.1.3.2 ipv4 route v1 2.0.0.0 255.0.0.0 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321:: ffff:: 1234:2::2 ipv6 route v1 4320:: fff0:: 1234:3::2 ipv6 route v1 4300:: ff00:: 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.24 255.255.255.255 ipv6 addr 4321::24 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 route v1 :: :: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.1.105 255.255.255.255 ipv6 addr 4320::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.3.105 255.255.255.255 ipv6 addr 4322::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 route v1 :: :: 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.1.2.106 255.255.255.255 ipv6 addr 4311::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.3.2.106 255.255.255.255 ipv6 addr 4331::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.4.1 ipv6 route v1 :: :: 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.24 vrf v1 sou lo0 r1 tping 100 10 4321::24 vrf v1 sou lo0 r1 tping 100 10 2.2.1.105 vrf v1 sou lo0 r1 tping 100 10 4320::105 vrf v1 sou lo0 r1 tping 100 10 2.2.3.105 vrf v1 sou lo0 r1 tping 100 10 4322::105 vrf v1 sou lo0 r1 tping 100 10 2.1.2.106 vrf v1 sou lo0 r1 tping 100 10 4311::106 vrf v1 sou lo0 r1 tping 100 10 2.3.2.106 vrf v1 sou lo0 r1 tping 100 10 4331::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.24 vrf v1 sou lo0 r3 tping 100 10 4321::24 vrf v1 sou lo0 r3 tping 100 10 2.2.1.105 vrf v1 sou lo0 r3 tping 100 10 4320::105 vrf v1 sou lo0 r3 tping 100 10 2.2.3.105 vrf v1 sou lo0 r3 tping 100 10 4322::105 vrf v1 sou lo0 r3 tping 100 10 2.1.2.106 vrf v1 sou lo0 r3 tping 100 10 4311::106 vrf v1 sou lo0 r3 tping 100 10 2.3.2.106 vrf v1 sou lo0 r3 tping 100 10 4331::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.24 vrf v1 sou lo0 r4 tping 100 10 4321::24 vrf v1 sou lo0 r4 tping 100 10 2.2.1.105 vrf v1 sou lo0 r4 tping 100 10 4320::105 vrf v1 sou lo0 r4 tping 100 10 2.2.3.105 vrf v1 sou lo0 r4 tping 100 10 4322::105 vrf v1 sou lo0 r4 tping 100 10 2.1.2.106 vrf v1 sou lo0 r4 tping 100 10 4311::106 vrf v1 sou lo0 r4 tping 100 10 2.3.2.106 vrf v1 sou lo0 r4 tping 100 10 4331::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.24 vrf v1 sou lo0 r5 tping 100 10 4321::24 vrf v1 sou lo0 r5 tping 100 10 2.2.1.105 vrf v1 sou lo0 r5 tping 100 10 4320::105 vrf v1 sou lo0 r5 tping 100 10 2.2.3.105 vrf v1 sou lo0 r5 tping 100 10 4322::105 vrf v1 sou lo0 r5 tping 100 10 2.1.2.106 vrf v1 sou lo0 r5 tping 100 10 4311::106 vrf v1 sou lo0 r5 tping 100 10 2.3.2.106 vrf v1 sou lo0 r5 tping 100 10 4331::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.24 vrf v1 sou lo0 r6 tping 100 10 4321::24 vrf v1 sou lo0 r6 tping 100 10 2.2.1.105 vrf v1 sou lo0 r6 tping 100 10 4320::105 vrf v1 sou lo0 r6 tping 100 10 2.2.3.105 vrf v1 sou lo0 r6 tping 100 10 4322::105 vrf v1 sou lo0 r6 tping 100 10 2.1.2.106 vrf v1 sou lo0 r6 tping 100 10 4311::106 vrf v1 sou lo0 r6 tping 100 10 2.3.2.106 vrf v1 sou lo0 r6 tping 100 10 4331::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.1.105 vrf v1 sou lo0 r1 dping sdn . r3 4320::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout201.tst 0000664 0000000 0000000 00000020770 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over bundle mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout202.tst 0000664 0000000 0000000 00000021010 14716276021 0017252 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over bundle vlan mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout203.tst 0000664 0000000 0000000 00000026075 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.104 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::104 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r4 tping 100 10 4.4.4.1 vrf v2 r4 tping 100 10 4.4.6.1 vrf v2 r4 tping 100 10 4444::1 vrf v2 r4 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r4 tping 100 10 4.4.5.1 vrf v2 r4 tping 100 10 4.4.7.1 vrf v2 r4 tping 100 10 4445::1 vrf v2 r4 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout204.tst 0000664 0000000 0000000 00000026700 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over gre mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout205.tst 0000664 0000000 0000000 00000026634 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over l2tp mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout206.tst 0000664 0000000 0000000 00000022755 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over bundle mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout207.tst 0000664 0000000 0000000 00000022775 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over bundle vlan mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout208.tst 0000664 0000000 0000000 00000030062 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 p2poe client di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.104 remote-as 1 neigh 2.2.2.104 update lo0 neigh 2.2.2.104 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::104 remote-as 1 neigh 4321::104 update lo0 neigh 4321::104 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1 p2poe relay di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r4 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r4 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r4 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r4 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout209.tst 0000664 0000000 0000000 00000030665 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over gre mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout210.tst 0000664 0000000 0000000 00000030621 14716276021 0017261 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over l2tp mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout211.tst 0000664 0000000 0000000 00000027730 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: routing over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int bun1 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int bun2 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r8 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r8 4321::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout212.tst 0000664 0000000 0000000 00000021315 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: bridging over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit bridge 1 mac-learn exit int sdn11 bridge-gr 1 exit int sdn12 bridge-gr 1 exit int bun1 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 bridge-gr 1 exit int sdn22 bridge-gr 1 exit int bun2 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-br 1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-br 1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls vpls bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls vpls bridge int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.3 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::6 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234::5 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.3 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::6 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.0 ipv6 addr 1234::6 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.3 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.5 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::5 ! r5 tping 100 10 1.1.1.3 vrf v1 r5 tping 100 10 1234::3 vrf v1 r5 tping 100 10 1.1.1.4 vrf v1 r5 tping 100 10 1234::4 vrf v1 r5 tping 100 10 1.1.1.5 vrf v1 r5 tping 100 10 1234::5 vrf v1 r5 tping 100 10 1.1.1.6 vrf v1 r5 tping 100 10 1234::6 vrf v1 r6 tping 100 10 1.1.1.3 vrf v1 r6 tping 100 10 1234::3 vrf v1 r6 tping 100 10 1.1.1.4 vrf v1 r6 tping 100 10 1234::4 vrf v1 r6 tping 100 10 1.1.1.5 vrf v1 r6 tping 100 10 1234::5 vrf v1 r6 tping 100 10 1.1.1.6 vrf v1 r6 tping 100 10 1234::6 vrf v1 r7 tping 100 10 1.1.1.3 vrf v1 r7 tping 100 10 1234::3 vrf v1 r7 tping 100 10 1.1.1.4 vrf v1 r7 tping 100 10 1234::4 vrf v1 r7 tping 100 10 1.1.1.5 vrf v1 r7 tping 100 10 1234::5 vrf v1 r7 tping 100 10 1.1.1.6 vrf v1 r7 tping 100 10 1234::6 vrf v1 r8 tping 100 10 1.1.1.3 vrf v1 r8 tping 100 10 1234::3 vrf v1 r8 tping 100 10 1.1.1.4 vrf v1 r8 tping 100 10 1234::4 vrf v1 r8 tping 100 10 1.1.1.5 vrf v1 r8 tping 100 10 1234::5 vrf v1 r8 tping 100 10 1.1.1.6 vrf v1 r8 tping 100 10 1234::6 vrf v1 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r8 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r8 4321::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout213.tst 0000664 0000000 0000000 00000032151 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: mpls core over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 label-mode per-prefix rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int bun1 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int bun2 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 label-mode per-prefix rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.106 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::106 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 label-mode per-prefix rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 label-mode per-prefix rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 label-mode per-prefix rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 4.4.4.2 vrf v2 r5 tping 100 10 4.4.6.2 vrf v2 r5 tping 100 10 4444::2 vrf v2 r5 tping 100 10 4446::2 vrf v2 r8 tping 100 10 4.4.4.1 vrf v2 r8 tping 100 10 4.4.6.1 vrf v2 r8 tping 100 10 4444::1 vrf v2 r8 tping 100 10 4446::1 vrf v2 r1 dping sdn . r8 4.4.4.1 vrf v2 r1 dping sdn . r8 4446::1 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout214.tst 0000664 0000000 0000000 00000030550 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: mpls vpn over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int bun1 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn22 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int bun2 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.104 temp a neigh 2.2.2.105 temp a afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::104 temp a neigh 4321::105 temp a afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit server p4lang a interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-vrf v2 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ipv4 route v2 3.3.3.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v2 3.3.3.106 255.255.255.255 1.1.4.2 ipv6 route v2 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v2 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 3.3.3.101 255.255.255.255 1.1.1.1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.1.1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.1.1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.1.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.5 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.5 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv4 route v1 3.3.3.101 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.4.1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.4.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 3.3.3.101 vrf v2 sou lo1 r1 tping 100 10 3333::101 vrf v2 sou lo1 r1 tping 100 10 3.3.3.103 vrf v2 sou lo1 r1 tping 100 10 3333::103 vrf v2 sou lo1 r1 tping 100 10 3.3.3.104 vrf v2 sou lo1 r1 tping 100 10 3333::104 vrf v2 sou lo1 r1 tping 100 10 3.3.3.105 vrf v2 sou lo1 r1 tping 100 10 3333::105 vrf v2 sou lo1 r1 tping 100 10 3.3.3.106 vrf v2 sou lo1 r1 tping 100 10 3333::106 vrf v2 sou lo1 r6 tping 100 10 3.3.3.101 vrf v2 sou lo1 r6 tping 100 10 3333::101 vrf v2 sou lo1 r6 tping 100 10 3.3.3.103 vrf v2 sou lo1 r6 tping 100 10 3333::103 vrf v2 sou lo1 r6 tping 100 10 3.3.3.104 vrf v2 sou lo1 r6 tping 100 10 3333::104 vrf v2 sou lo1 r6 tping 100 10 3.3.3.105 vrf v2 sou lo1 r6 tping 100 10 3333::105 vrf v2 sou lo1 r6 tping 100 10 3.3.3.106 vrf v2 sou lo1 r6 tping 100 10 3333::106 vrf v2 sou lo1 r7 tping 100 10 3.3.3.101 vrf v2 sou lo1 r7 tping 100 10 3333::101 vrf v2 sou lo1 r7 tping 100 10 3.3.3.103 vrf v2 sou lo1 r7 tping 100 10 3333::103 vrf v2 sou lo1 r7 tping 100 10 3.3.3.104 vrf v2 sou lo1 r7 tping 100 10 3333::104 vrf v2 sou lo1 r7 tping 100 10 3.3.3.105 vrf v2 sou lo1 r7 tping 100 10 3333::105 vrf v2 sou lo1 r7 tping 100 10 3.3.3.106 vrf v2 sou lo1 r7 tping 100 10 3333::106 vrf v2 sou lo1 r5 tping 100 10 3.3.3.101 vrf v1 sou lo0 r5 tping 100 10 3333::101 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r8 tping 100 10 3.3.3.101 vrf v1 sou lo0 r8 tping 100 10 3333::101 vrf v1 sou lo0 r8 tping 100 10 3.3.3.103 vrf v1 sou lo0 r8 tping 100 10 3333::103 vrf v1 sou lo0 r8 tping 100 10 3.3.3.104 vrf v1 sou lo0 r8 tping 100 10 3333::104 vrf v1 sou lo0 r8 tping 100 10 3.3.3.105 vrf v1 sou lo0 r8 tping 100 10 3333::105 vrf v1 sou lo0 r8 tping 100 10 3.3.3.106 vrf v1 sou lo0 r8 tping 100 10 3333::106 vrf v1 sou lo0 r1 dping sdn . r8 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r8 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout215.tst 0000664 0000000 0000000 00000012745 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: local connect addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn4 connect sdn3 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature loconn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r3 tping 100 10 1.1.2.1 vrf v1 r3 tping 100 10 1234:2::1 vrf v1 r4 tping 100 10 1.1.1.1 vrf v1 r4 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.1 vrf v1 r4 tping 100 10 1234:2::1 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout216.tst 0000664 0000000 0000000 00000011440 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: vlan local connect addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn3 exit int sdn3.111 exit int sdn3.222 connect sdn2 exit int sdn4 exit int sdn4.111 connect sdn3.111 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature vlan loconn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.5 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit int eth1.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.3.5 vrf v1 r4 tping 100 10 1234:3::5 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout217.tst 0000664 0000000 0000000 00000023336 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 pmtud-in 1400 ipv6 pmtud-in 1400 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route pmtud int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 siz 1400 r6 tping 100 10 4321::103 vrf v1 sou lo0 siz 1400 r6 tping -100 10 2.2.2.103 vrf v1 sou lo0 siz 1401 error r6 tping -100 10 4321::103 vrf v1 sou lo0 siz 1401 error r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout218.tst 0000664 0000000 0000000 00000023504 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: vlan pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 pmtud-in 1400 ipv6 pmtud-in 1400 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan pmtud int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 siz 1400 r6 tping 100 10 4321::103 vrf v1 sou lo0 siz 1400 r6 tping -100 10 2.2.2.103 vrf v1 sou lo0 siz 1401 error r6 tping -100 10 4321::103 vrf v1 sou lo0 siz 1401 error r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout219.tst 0000664 0000000 0000000 00000024645 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: tcpmss addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route tcpmss int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v2 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 2.2.2.103 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 4321::103 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 30 2.2.2.0 vrf v2 siz 3000 r6 tping 100 30 2.2.2.0 vrf v3 siz 3000 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout220.tst 0000664 0000000 0000000 00000025013 14716276021 0017261 0 ustar 00root root 0000000 0000000 description p4lang: vlan tcpmss addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit int sdn2 exit int sdn2.111 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan tcpmss int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v2 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 2.2.2.103 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 4321::103 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 30 2.2.2.0 vrf v2 siz 3000 r6 tping 100 30 2.2.2.0 vrf v3 siz 3000 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout221.tst 0000664 0000000 0000000 00000014012 14716276021 0017257 0 ustar 00root root 0000000 0000000 description p4lang: bridge tcpmss addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge tcpmss int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vrf def v2 rd 1:1 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v2 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 2.2.2.104 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 4321::104 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 30 2.2.2.0 vrf v2 siz 3000 r6 tping 100 30 2.2.2.0 vrf v3 siz 3000 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout222.tst 0000664 0000000 0000000 00000014160 14716276021 0017264 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge tcpmss addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.111 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vlan tcpmss int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vrf def v2 rd 1:1 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v2 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 2.2.2.104 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 4321::104 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 30 2.2.2.0 vrf v2 siz 3000 r6 tping 100 30 2.2.2.0 vrf v3 siz 3000 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout223.tst 0000664 0000000 0000000 00000012507 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: bridge pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 1 bridge-pmtud ipv4in 1400 3.3.3.3 bridge-pmtud ipv6in 1400 3333::3 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pmtud int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 siz 1400 r6 tping 100 10 4321::104 vrf v1 sou lo0 siz 1400 r6 tping -100 10 2.2.2.104 vrf v1 sou lo0 siz 1401 error r6 tping -100 10 4321::104 vrf v1 sou lo0 siz 1401 error r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout224.tst 0000664 0000000 0000000 00000012655 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: vlan bridge pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.111 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 bridge-gr 1 exit int sdn3 exit int sdn3.111 bridge-gr 1 exit int sdn4 exit int sdn4.111 bridge-gr 1 bridge-pmtud ipv4in 1400 3.3.3.3 bridge-pmtud ipv6in 1400 3333::3 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vlan pmtud int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 siz 1400 r6 tping 100 10 4321::104 vrf v1 sou lo0 siz 1400 r6 tping -100 10 2.2.2.104 vrf v1 sou lo0 siz 1401 error r6 tping -100 10 4321::104 vrf v1 sou lo0 siz 1401 error r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout225.tst 0000664 0000000 0000000 00000036144 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: ip ttl exceed addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.4.2 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ int eth2 eth 0000.0000.6666 $7a$ $7b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.5.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.5.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ int eth2 eth 0000.0000.7777 $8a$ $8b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.6.1 255.255.255.0 ipv6 addr 1234:6::1 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.6.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::2 ! addrouter r8 int eth1 eth 0000.0000.8888 $8b$ $8a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.108 255.255.255.255 ipv6 addr 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.6.2 255.255.255.0 ipv6 addr 1234:6::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.6.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r1 tping 100 10 2.2.2.108 vrf v1 sou lo0 r1 tping 100 10 4321::108 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.108 vrf v1 sou lo0 r3 tping 100 10 4321::108 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.108 vrf v1 sou lo0 r4 tping 100 10 4321::108 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.108 vrf v1 sou lo0 r5 tping 100 10 4321::108 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.108 vrf v1 sou lo0 r6 tping 100 10 4321::108 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.108 vrf v1 sou lo0 r7 tping 100 10 4321::108 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.107 vrf v1 sou lo0 r8 tping 100 10 4321::107 vrf v1 sou lo0 r8 tping 100 10 2.2.2.108 vrf v1 sou lo0 r8 tping 100 10 4321::108 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 1 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 1 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 1 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.104 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::104 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.105 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::105 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::106 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.107 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::107 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.108 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::108 vrf v1 sou lo0 ttl 1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::104 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::105 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::106 vrf v1 sou lo0 ttl 2 r3 tping 0 10 2.2.2.107 vrf v1 sou lo0 ttl 2 r3 tping 0 10 4321::107 vrf v1 sou lo0 ttl 2 r3 tping 0 10 2.2.2.108 vrf v1 sou lo0 ttl 2 r3 tping 0 10 4321::108 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::104 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::105 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::106 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::107 vrf v1 sou lo0 ttl 3 r3 tping 0 10 2.2.2.108 vrf v1 sou lo0 ttl 3 r3 tping 0 10 4321::108 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::104 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::105 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::106 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::107 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.108 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::108 vrf v1 sou lo0 ttl 4 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout226.tst 0000664 0000000 0000000 00000042631 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: mpls ttl exceed addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.4.2 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ int eth2 eth 0000.0000.6666 $7a$ $7b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.5.1 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.5.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ int eth2 eth 0000.0000.7777 $8a$ $8b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.6.1 255.255.255.0 ipv6 addr 1234:6::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.108 255.255.255.255 1.1.6.2 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::2 ! addrouter r8 int eth1 eth 0000.0000.8888 $8b$ $8a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.108 255.255.255.255 ipv6 addr 4321::108 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.6.2 255.255.255.0 ipv6 addr 1234:6::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.6.1 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.6.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:6::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r1 tping 100 10 2.2.2.108 vrf v1 sou lo0 r1 tping 100 10 4321::108 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.108 vrf v1 sou lo0 r3 tping 100 10 4321::108 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.108 vrf v1 sou lo0 r4 tping 100 10 4321::108 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.108 vrf v1 sou lo0 r5 tping 100 10 4321::108 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.108 vrf v1 sou lo0 r6 tping 100 10 4321::108 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.108 vrf v1 sou lo0 r7 tping 100 10 4321::108 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.107 vrf v1 sou lo0 r8 tping 100 10 4321::107 vrf v1 sou lo0 r8 tping 100 10 2.2.2.108 vrf v1 sou lo0 r8 tping 100 10 4321::108 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 1 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 1 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 1 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.104 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::104 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.105 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::105 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.106 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::106 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.107 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::107 vrf v1 sou lo0 ttl 1 r3 tping 0 10 2.2.2.108 vrf v1 sou lo0 ttl 1 r3 tping 0 10 4321::108 vrf v1 sou lo0 ttl 1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::104 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::105 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 ttl 2 r3 tping 100 10 4321::106 vrf v1 sou lo0 ttl 2 r3 tping 0 10 2.2.2.107 vrf v1 sou lo0 ttl 2 r3 tping 0 10 4321::107 vrf v1 sou lo0 ttl 2 r3 tping 0 10 2.2.2.108 vrf v1 sou lo0 ttl 2 r3 tping 0 10 4321::108 vrf v1 sou lo0 ttl 2 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::104 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::105 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::106 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 ttl 3 r3 tping 100 10 4321::107 vrf v1 sou lo0 ttl 3 r3 tping 0 10 2.2.2.108 vrf v1 sou lo0 ttl 3 r3 tping 0 10 4321::108 vrf v1 sou lo0 ttl 3 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::101 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::103 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::104 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::105 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::106 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::107 vrf v1 sou lo0 ttl 4 r3 tping 100 10 2.2.2.108 vrf v1 sou lo0 ttl 4 r3 tping 100 10 4321::108 vrf v1 sou lo0 ttl 4 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout227.tst 0000664 0000000 0000000 00000024712 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: null routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.0 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 exit int nul0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo0 r1 tping 100 10 4321::201 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 0 10 2.2.2.101 vrf v1 sou lo0 r3 tping 0 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.201 vrf v1 sou lo0 r3 tping 100 10 4321::201 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 0 10 2.2.2.101 vrf v1 sou lo0 r4 tping 0 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.201 vrf v1 sou lo0 r4 tping 100 10 4321::201 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 0 10 2.2.2.101 vrf v1 sou lo0 r5 tping 0 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.201 vrf v1 sou lo0 r5 tping 100 10 4321::201 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 0 10 2.2.2.101 vrf v1 sou lo0 r6 tping 0 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.201 vrf v1 sou lo0 r6 tping 100 10 4321::201 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout228.tst 0000664 0000000 0000000 00000024416 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: fib filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int nul0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.0 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit prefix-list p4 sequence 10 deny 2.2.2.104/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::104/128 sequence 20 permit ::/0 le 128 exit server p4lang p4 interconnect eth2 export-vrf v1 filter-list4 v1 p4 filter-list6 v1 p6 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 0 10 2.2.2.104 vrf v1 sou lo0 r3 tping 0 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 0 10 2.2.2.103 vrf v1 sou lo0 r4 tping 0 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout229.tst 0000664 0000000 0000000 00000024522 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: fib filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int nul0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.0 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit route-map p4 sequence 10 act deny match network 2.2.2.104/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::104/128 sequence 20 act perm match network ::/0 le 128 exit server p4lang p4 interconnect eth2 export-vrf v1 filter-map4 v1 p4 filter-map6 v1 p6 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 0 10 2.2.2.104 vrf v1 sou lo0 r3 tping 0 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 0 10 2.2.2.103 vrf v1 sou lo0 r4 tping 0 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout230.tst 0000664 0000000 0000000 00000024371 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: fib filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int nul0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.0 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit route-policy p4 if network 2.2.2.104/32 drop else pass enif exit route-policy p6 if network 4321::104/128 drop else pass enif exit server p4lang p4 interconnect eth2 export-vrf v1 filter-policy4 v1 p4 filter-policy6 v1 p6 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 0 10 2.2.2.104 vrf v1 sou lo0 r3 tping 0 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 0 10 2.2.2.103 vrf v1 sou lo0 r4 tping 0 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 0 10 2.2.2.105 vrf v1 sou lo0 r4 tping 0 10 4321::105 vrf v1 sou lo0 r4 tping 0 10 2.2.2.106 vrf v1 sou lo0 r4 tping 0 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 0 10 2.2.2.104 vrf v1 sou lo0 r5 tping 0 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 0 10 2.2.2.104 vrf v1 sou lo0 r6 tping 0 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout231.tst 0000664 0000000 0000000 00000023420 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: routing with fib compression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 filter-compress4 v1 filter-compress6 v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout232.tst 0000664 0000000 0000000 00000023625 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: mpls with fib compression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 filter-compress4 v1 filter-compress6 v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv4 route v1 2.2.2.107 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv6 route v1 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout233.tst 0000664 0000000 0000000 00000023535 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 routing over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout234.tst 0000664 0000000 0000000 00000023543 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 routing over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9999::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9999::1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout235.tst 0000664 0000000 0000000 00000023547 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 server routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server l2tp3 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout236.tst 0000664 0000000 0000000 00000023614 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: vlan l2tp3 server routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server l2tp3 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1.222 l2tp3 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout237.tst 0000664 0000000 0000000 00000024062 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 server mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server l2tp3 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout238.tst 0000664 0000000 0000000 00000024127 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: vlan l2tp3 server mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server l2tp3 l clone dialer1 vrf v2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1.222 l2tp3 9.9.9.1 1234 control vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout239.tst 0000664 0000000 0000000 00000025600 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: mldp core over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route l3tp duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout240.tst 0000664 0000000 0000000 00000026743 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: bier core over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route l3tp bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout241.tst 0000664 0000000 0000000 00000023354 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout242.tst 0000664 0000000 0000000 00000023355 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout243.tst 0000664 0000000 0000000 00000026626 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over l2tp3 mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout244.tst 0000664 0000000 0000000 00000030613 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over l2tp3 mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout245.tst 0000664 0000000 0000000 00000024176 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 routing over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8.8.8.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8.8.8.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 8.8.8.2 vrf v2 r3 tping 100 30 8.8.8.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout246.tst 0000664 0000000 0000000 00000024350 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 routing over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8888::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8888::1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 8888::2 vrf v2 r3 tping 100 30 8888::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout247.tst 0000664 0000000 0000000 00000023601 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 routing over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1.222 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout248.tst 0000664 0000000 0000000 00000016231 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 routing over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 bun1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature l3tp bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bun1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout249.tst 0000664 0000000 0000000 00000024047 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout250.tst 0000664 0000000 0000000 00000024055 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 sdn1 l2tp3 9999::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int virt1 enc ppp pseudo v2 bvi1 l2tp3 9999::1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout251.tst 0000664 0000000 0000000 00000024502 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8.8.8.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8.8.8.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 8.8.8.2 vrf v2 r3 tping 100 30 8.8.8.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout252.tst 0000664 0000000 0000000 00000024662 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8888::2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int virt1 enc ppp pseudo v2 lo1 l2tp3 8888::1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9999::2 vrf v2 r3 tping 100 30 9999::1 vrf v2 r1 tping 100 30 8888::2 vrf v2 r3 tping 100 30 8888::1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout253.tst 0000664 0000000 0000000 00000024113 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bvi1.222 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout254.tst 0000664 0000000 0000000 00000016773 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: l2tp3 mpls over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 bun1 l2tp3 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature l3tp mpls bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 bun1 l2tp3 9.9.9.1 1234 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout255.tst 0000664 0000000 0000000 00000013065 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: bridging over l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn3 l2tp3 9.9.9.2 1234 bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge l3tp l3tptap int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 eth1 l2tp3 9.9.9.1 1234 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234:1::1 vrf v1 r4 tping 100 30 1.1.2.5 vrf v1 r4 tping 100 30 1234:2::5 vrf v1 r4 tping 100 30 1.1.2.6 vrf v1 r4 tping 100 30 1234:2::6 vrf v1 r5 tping 100 30 1.1.2.4 vrf v1 r5 tping 100 30 1234:2::4 vrf v1 r5 tping 100 30 1.1.2.6 vrf v1 r5 tping 100 30 1234:2::6 vrf v1 r6 tping 100 30 1.1.2.4 vrf v1 r6 tping 100 30 1234:2::4 vrf v1 r6 tping 100 30 1.1.2.5 vrf v1 r6 tping 100 30 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout256.tst 0000664 0000000 0000000 00000013136 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: bridging over l2tp3 vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn3.222 l2tp3 9.9.9.2 1234 bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge l3tp l3tptap vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int virt1 enc ppp pseudo v2 eth1.222 l2tp3 9.9.9.1 1234 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 30 9.9.9.2 vrf v2 r5 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r3 tping 100 30 1.1.1.1 vrf v1 r3 tping 100 30 1234:1::1 vrf v1 r4 tping 100 30 1.1.2.5 vrf v1 r4 tping 100 30 1234:2::5 vrf v1 r4 tping 100 30 1.1.2.6 vrf v1 r4 tping 100 30 1234:2::6 vrf v1 r5 tping 100 30 1.1.2.4 vrf v1 r5 tping 100 30 1234:2::4 vrf v1 r5 tping 100 30 1.1.2.6 vrf v1 r5 tping 100 30 1234:2::6 vrf v1 r6 tping 100 30 1.1.2.4 vrf v1 r6 tping 100 30 1234:2::4 vrf v1 r6 tping 100 30 1.1.2.5 vrf v1 r6 tping 100 30 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout257.tst 0000664 0000000 0000000 00000027377 14716276021 0017312 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv4 with l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user h pass p pref ipv4 calling 1701 para l2tp proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route l2tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l2tp proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l2tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l2tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l2tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout258.tst 0000664 0000000 0000000 00000027377 14716276021 0017313 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv6 with l2tp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user h pass p pref ipv6 calling 1701 para l2tp proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route l2tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l2tp proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l2tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l2tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l2tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout259.tst 0000664 0000000 0000000 00000027362 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv4 with l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user h pass p pref ipv4 para l3tp proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route l3tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l3tp proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l3tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l3tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para l3tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout260.tst 0000664 0000000 0000000 00000027362 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv6 with l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user h pass p pref ipv6 para l3tp proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route l3tp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l3tp proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l3tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l3tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc ppp vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para l3tp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout261.tst 0000664 0000000 0000000 00000027352 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv4 with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user h pass p pref ipv4 para gre proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route gre int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gre proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gre proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gre proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gre proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout262.tst 0000664 0000000 0000000 00000027352 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv6 with gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user h pass p pref ipv6 para gre proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route gre int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gre proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gre proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gre proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gre proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout263.tst 0000664 0000000 0000000 00000027370 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv4 with amt addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user h pass p pref ipv4 calling 2268 para amt proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route amt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para amt proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para amt proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para amt proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para amt proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout264.tst 0000664 0000000 0000000 00000027370 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv6 with amt addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user h pass p pref ipv6 calling 2268 para amt proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route amt int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para amt proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para amt proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para amt proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para amt proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout265.tst 0000664 0000000 0000000 00000027370 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv4 with gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user h pass p pref ipv4 calling 2152 para gtp proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route gtp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gtp proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gtp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gtp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para gtp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout266.tst 0000664 0000000 0000000 00000027370 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv6 with gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user h pass p pref ipv6 calling 2152 para gtp proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route gtp int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gtp proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gtp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gtp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para gtp proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout267.tst 0000664 0000000 0000000 00000023613 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout268.tst 0000664 0000000 0000000 00000023621 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout269.tst 0000664 0000000 0000000 00000024246 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout270.tst 0000664 0000000 0000000 00000024426 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout271.tst 0000664 0000000 0000000 00000023657 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout272.tst 0000664 0000000 0000000 00000016315 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature tmux route bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout273.tst 0000664 0000000 0000000 00000016347 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over bundle vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature tmux route bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout274.tst 0000664 0000000 0000000 00000024632 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11 tun destination 9.9.8.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout275.tst 0000664 0000000 0000000 00000024717 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over hairpin vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12.111 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11.111 tun destination 9.9.8.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route vlan hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout276.tst 0000664 0000000 0000000 00000023752 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout277.tst 0000664 0000000 0000000 00000024015 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: tmux routing over vlan bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux route bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout278.tst 0000664 0000000 0000000 00000024125 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout279.tst 0000664 0000000 0000000 00000024133 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source sdn1 tun destination 9999::2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source bvi1 tun destination 9999::1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout280.tst 0000664 0000000 0000000 00000024560 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source lo1 tun destination 8.8.8.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r3 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout281.tst 0000664 0000000 0000000 00000024740 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit int sdn1 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int tun1 tun vrf v2 tun source lo1 tun destination 8888::1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9999::2 vrf v2 r3 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r3 tping 100 10 8888::1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout282.tst 0000664 0000000 0000000 00000024171 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout283.tst 0000664 0000000 0000000 00000017051 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout284.tst 0000664 0000000 0000000 00000017103 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over bundle vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout285.tst 0000664 0000000 0000000 00000025203 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over hairpin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11 tun destination 9.9.8.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout286.tst 0000664 0000000 0000000 00000025231 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over hairpin vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12.111 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11.111 tun destination 9.9.8.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls vlan hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout287.tst 0000664 0000000 0000000 00000024272 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout288.tst 0000664 0000000 0000000 00000024333 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls over vlan bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.222 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout289.tst 0000664 0000000 0000000 00000013143 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: bridging over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn3 tun destination 9.9.9.2 tun mode tmux bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge tmux tmuxtap int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1 tun destination 9.9.9.1 tun mode tmux bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout290.tst 0000664 0000000 0000000 00000013214 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: bridging over tmux vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn3.222 tun destination 9.9.9.2 tun mode tmux bridge-gr 1 vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge tmux tmuxtap vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1.222 tun destination 9.9.9.1 tun mode tmux bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout291.tst 0000664 0000000 0000000 00000025656 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: mldp core over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route tmux duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout292.tst 0000664 0000000 0000000 00000026725 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: bier core over tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route tmux bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout293.tst 0000664 0000000 0000000 00000023432 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls pop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout294.tst 0000664 0000000 0000000 00000023433 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: tmux mpls push addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout295.tst 0000664 0000000 0000000 00000026704 14716276021 0017305 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over tmux mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout296.tst 0000664 0000000 0000000 00000030671 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over tmux mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1 tun destination 9.9.9.2 tun mode tmux vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature tmux mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode tmux vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout297.tst 0000664 0000000 0000000 00000027377 14716276021 0017316 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv4 with tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user h pass p pref ipv4 calling 2152 para tmux proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route tmux int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para tmux proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para tmux proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para tmux proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 2.2.2.100 proxy p1 user u pass p pref ipv4 para tmux proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout298.tst 0000664 0000000 0000000 00000027377 14716276021 0017317 0 ustar 00root root 0000000 0000000 description p4lang: sdwan over ipv6 with tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit aaa userlist usr username u password p username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa hub h pool4 p4 pool6 p6 vrf v1 exit proxy-profile p1 vrf v1 source lo1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user h pass p pref ipv6 calling 2152 para tmux proto sdwan exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dyn vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.6 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::6 ! addother r2 controller r1 v9 9080 - feature route tmux int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para tmux proto sdwan exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para tmux proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para tmux proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit proxy-profile p1 vrf v1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 4321::100 proxy p1 user u pass p pref ipv6 para tmux proto sdwan exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 2.2.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 2.2.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 2222::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout299.tst 0000664 0000000 0000000 00000012653 14716276021 0017307 0 ustar 00root root 0000000 0000000 description p4lang: etherip over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol etherip exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 etherip 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout300.tst 0000664 0000000 0000000 00000012661 14716276021 0017265 0 ustar 00root root 0000000 0000000 description p4lang: etherip over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9999::2 vcid 2554 protocol etherip exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 etherip 9999::1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout301.tst 0000664 0000000 0000000 00000013323 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: etherip over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 source lo1 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 8.8.8.2 vcid 2554 protocol etherip exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 etherip 8.8.8.1 2554 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r5 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout302.tst 0000664 0000000 0000000 00000013503 14716276021 0017263 0 ustar 00root root 0000000 0000000 description p4lang: etherip over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit proxy-profile p2 source lo1 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 8888::2 vcid 2554 protocol etherip exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 etherip 8888::1 2554 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r5 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout303.tst 0000664 0000000 0000000 00000012713 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: etherip over vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol etherip exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1.111 etherip 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout304.tst 0000664 0000000 0000000 00000010654 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: etherip over bundle addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol etherip exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip bundle int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 bun1 etherip 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout305.tst 0000664 0000000 0000000 00000012551 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: etherip server over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit server etherip pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 etherip 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout306.tst 0000664 0000000 0000000 00000012557 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: etherip server over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit server etherip pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1 etherip 9999::1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout307.tst 0000664 0000000 0000000 00000013205 14716276021 0017267 0 ustar 00root root 0000000 0000000 description p4lang: etherip server over ipv4 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.1 255.255.255.255 exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit server etherip pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v2 8.8.8.2 255.255.255.255 9.9.9.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 8.8.8.2 255.255.255.255 exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 etherip 8.8.8.1 2554 exit ipv4 route v2 8.8.8.1 255.255.255.255 9.9.9.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 8.8.8.2 vrf v2 r5 tping 100 10 8.8.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout308.tst 0000664 0000000 0000000 00000013365 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: etherip server over ipv6 loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv6 ena exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 vrf for v2 ipv6 addr 9999::1 ffff:ffff:: ipv6 ena exit server etherip pou bridge 1 vrf v2 exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv6 route v2 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge etherip int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv6 addr 8888::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv6 addr 9999::2 ffff:ffff:: exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 lo1 etherip 8888::1 2554 exit ipv6 route v2 8888::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 9999::1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9999::2 vrf v2 r5 tping 100 10 9999::1 vrf v2 r1 tping 100 10 8888::2 vrf v2 r5 tping 100 10 8888::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout309.tst 0000664 0000000 0000000 00000013350 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: gre local connect addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v8 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v2 ipv4 addr 9.9.8.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn2 tun destination 9.9.8.2 tun mode gre vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 exit int sdn3 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun2 tun vrf v2 tun source sdn3 tun destination 9.9.9.2 tun mode gre vrf for v8 ipv4 addr 3.3.3.3 255.255.255.255 connect tun1 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v8 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic export-port tun2 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre loconn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1 tun destination 9.9.8.1 tun mode gre vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 9.9.8.2 vrf v2 r4 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.4.1 vrf v1 r6 tping 100 10 1234:4::1 vrf v1 r4 tping 100 10 2.2.2.2 vrf v1 r4 tping 100 10 4321::2 vrf v1 r5 tping 100 10 2.2.2.1 vrf v1 r5 tping 100 10 4321::1 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.2 vrf v1 r1 dping sdn . r4 4321::2 vrf v1 freeRtr-24.11.16/cfg/p4lang-rout310.tst 0000664 0000000 0000000 00000025643 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: gre multicast routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn2 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multicast host-enable ipv4 multicast host-proxy ipv6 multicast host-enable ipv6 multicast host-proxy exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source eth1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 multicast host-enable ipv4 multicast host-proxy ipv6 multicast host-enable ipv6 multicast host-proxy exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r4 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout311.tst 0000664 0000000 0000000 00000031661 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: multicast routing over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int bun1.111 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int bun2.111 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3.111 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4.111 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1.111 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2.111 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3.111 1 forwarder 3 backplane bun4.111 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route mroute duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route mroute duplab int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route mroute duplab int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r8 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r8 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r8 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout312.tst 0000664 0000000 0000000 00000025504 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: polka over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int bun1 vrf for v1 mpls ena polka enable 1 65536 10 exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int bun2 vrf for v1 mpls ena polka enable 1 65536 10 exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena polka enable 1 65536 10 exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena polka enable 1 65536 10 exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route polka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route polka int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route polka int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert bvi1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert bvi1 exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.106 tun doma 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::106 tun doma 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun doma 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun doma 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 1.1.11.1 vrf v1 r5 tping 100 10 1234:11::1 vrf v1 r8 tping 100 10 1.1.11.2 vrf v1 r8 tping 100 10 1234:11::2 vrf v1 r1 dping sdn . r8 1.1.11.2 vrf v1 sou lo0 r1 dping sdn . r8 1234:11::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout313.tst 0000664 0000000 0000000 00000042417 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: nsh over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena nsh ena exit int bun1 vrf for v1 mpls ena nsh ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena nsh ena exit int bun2 vrf for v1 mpls ena nsh ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena nsh ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena nsh ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 nsh 1001 122 rou v1 nsh 1003 122 int sdn11 0000.0000.3333 nsh 1004 122 int sdn12 0000.0000.4444 nsh 1005 122 int sdn21 0000.0000.5555 nsh 1006 122 int sdn22 0000.0000.6666 ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route nsh int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route nsh int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route nsh int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 121 rou v1 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 121 rou v1 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1003 123 ipv6 pbr v1 test36 v1 nsh 1003 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 121 rou v1 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 121 rou v1 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r8 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r8 4321::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout314.tst 0000664 0000000 0000000 00000025710 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: bier core over backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int bun1 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int bun2 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3 1 forwarder 3 backplane bun4 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route bier int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route bier int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r8 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r8 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r8 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout315.tst 0000664 0000000 0000000 00000025755 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: bier core over vlan backplane addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ int eth3 eth 0000.0000.1111 $7a$ $7b$ int eth4 eth 0000.0000.1111 $8b$ $8a$ int eth5 eth 0000.0000.1111 $13a$ $13b$ int eth6 eth 0000.0000.1111 $14b$ $14a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int eth3 vrf for v9 ipv4 addr 10.12.13.254 255.255.255.0 exit int eth4 exit server dhcp4 eth3 pool 10.12.13.1 10.12.13.99 gateway 10.12.13.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.3333 10.12.13.111 interface eth3 vrf v9 exit int eth5 vrf for v9 ipv4 addr 10.13.14.254 255.255.255.0 exit int eth6 exit server dhcp4 eth5 pool 10.13.14.1 10.13.14.99 gateway 10.13.14.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.4444 10.13.14.111 interface eth5 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bundle 2 exit bundle 3 exit bundle 4 exit int sdn11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn12 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int bun1.111 vrf for v1 mpls ena exit int sdn13 bundle-gr 1 exit int sdn14 bundle-gr 1 exit int sdn21 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn22 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int bun2.111 vrf for v1 mpls ena exit int sdn23 bundle-gr 2 exit int sdn24 bundle-gr 2 exit int bun3.111 vrf for v1 mpls ena exit int sdn31 bundle-gr 3 exit int sdn32 bundle-gr 3 exit int bun4.111 vrf for v1 mpls ena exit int sdn33 bundle-gr 4 exit int sdn34 bundle-gr 4 exit server p4lang a interconnect eth2 export-vrf v1 export-port sdn11 1 10 export-port sdn12 2 10 export-port sdn13 3 10 export-port sdn14 4 10 export-port bun1 dynamic exit server p4lang b interconnect eth4 export-vrf v1 export-port sdn21 1 10 export-port sdn22 2 10 export-port sdn23 3 10 export-port sdn24 4 10 export-port bun2 dynamic exit server p4lang c interconnect eth6 export-vrf v1 export-port sdn31 1 10 export-port sdn32 2 10 export-port sdn33 3 10 export-port sdn34 4 10 export-port bun3 dynamic export-port bun4 dynamic exit server stack s dataplanes 4 forwarder 1 p4lang a forwarder 1 backplane bun1.111 1 forwarder 1 remote 10.11.12.111 forwarder 2 p4lang b forwarder 2 backplane bun2.111 1 forwarder 2 remote 10.12.13.111 forwarder 3 p4lang c forwarder 3 backplane bun3.111 1 forwarder 3 backplane bun4.111 1 forwarder 3 remote 10.13.14.111 vrf v9 exit ! addother r2 controller r1 v9 9080 10.11.12.111 feature bundle mpls route bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addother r3 controller r1 v9 9080 10.12.13.111 feature bundle mpls route bier int eth1 eth 0000.0000.3333 $7b$ $7a$ int eth2 eth 0000.0000.3333 $8a$ $8b$ int eth3 eth 0000.0000.3333 $9a$ $9b$ int eth4 eth 0000.0000.3333 $10a$ $10b$ int eth5 eth 0000.0000.3333 $11a$ $11b$ int eth6 eth 0000.0000.3333 $12a$ $12b$ ! ! addother r4 controller r1 v9 9080 10.13.14.111 feature bundle mpls route bier int eth1 eth 0000.0000.4444 $13b$ $13a$ int eth2 eth 0000.0000.4444 $14a$ $14b$ int eth3 eth 0000.0000.4444 $5b$ $5a$ int eth4 eth 0000.0000.4444 $6b$ $6a$ int eth5 eth 0000.0000.4444 $11b$ $11a$ int eth6 eth 0000.0000.4444 $12b$ $12a$ ! ! addrouter r5 int eth1 eth 0000.0000.5555 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r7 int eth1 eth 0000.0000.7777 $9b$ $9a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r8 int eth1 eth 0000.0000.8888 $10b$ $10a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r8 tping 100 10 1.1.1.2 vrf v1 r8 tping 100 10 1234:1::2 vrf v1 r8 tping 100 10 1.1.2.2 vrf v1 r8 tping 100 10 1234:2::2 vrf v1 r8 tping 100 10 1.1.3.2 vrf v1 r8 tping 100 10 1234:3::2 vrf v1 r8 tping 100 10 1.1.4.2 vrf v1 r8 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 100 10 2.2.2.101 vrf v1 sou lo0 r8 tping 100 10 4321::101 vrf v1 sou lo0 r8 tping 100 10 2.2.2.103 vrf v1 sou lo0 r8 tping 100 10 4321::103 vrf v1 sou lo0 r8 tping 100 10 2.2.2.104 vrf v1 sou lo0 r8 tping 100 10 4321::104 vrf v1 sou lo0 r8 tping 100 10 2.2.2.105 vrf v1 sou lo0 r8 tping 100 10 4321::105 vrf v1 sou lo0 r8 tping 100 10 2.2.2.106 vrf v1 sou lo0 r8 tping 100 10 4321::106 vrf v1 sou lo0 r8 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r8 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r8 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r8 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout316.tst 0000664 0000000 0000000 00000023360 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: qinq routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.103 vrf v1 sou lo0 r1 dping sdn . r6 4321::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout317.tst 0000664 0000000 0000000 00000012574 14716276021 0017300 0 ustar 00root root 0000000 0000000 description p4lang: qinq bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout318.tst 0000664 0000000 0000000 00000023672 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: qinq mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout319.tst 0000664 0000000 0000000 00000015535 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout320.tst 0000664 0000000 0000000 00000016271 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout321.tst 0000664 0000000 0000000 00000010351 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit bridge 1 mac-learn exit int sdn1 bridge-gr 1 exit int sdn2 bridge-gr 1 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature bundle vlan bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.2.5 vrf v1 r3 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout322.tst 0000664 0000000 0000000 00000021460 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: qinq bridge routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.2.3 vrf v1 r1 tping 100 10 1234:2::3 vrf v1 r1 tping 100 10 1.1.2.4 vrf v1 r1 tping 100 10 1234:2::4 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.2.3 vrf v1 r3 tping 100 10 1234:2::3 vrf v1 r3 tping 100 10 1.1.2.4 vrf v1 r3 tping 100 10 1234:2::4 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.2.3 vrf v1 r4 tping 100 10 1234:2::3 vrf v1 r4 tping 100 10 1.1.2.4 vrf v1 r4 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.2.3 vrf v1 r5 tping 100 10 1234:2::3 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.2.3 vrf v1 r6 tping 100 10 1234:2::3 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout323.tst 0000664 0000000 0000000 00000021665 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: qinq bridge mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.3 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.4 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ! addother r2 controller r1 v9 9080 - feature vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1234:2::3 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout324.tst 0000664 0000000 0000000 00000022000 14716276021 0017257 0 ustar 00root root 0000000 0000000 description p4lang: qinq vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 bridge-gr 1 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature vlan mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout325.tst 0000664 0000000 0000000 00000013625 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: qinq eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit int sdn4 exit int sdn4.222 exit int sdn4.222.333 xconnect v1 lo0 pweompls 2.2.2.104 1234 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature vlan eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout326.tst 0000664 0000000 0000000 00000017050 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bundle 1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 bridge-gr 1 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r5 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r5 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout327.tst 0000664 0000000 0000000 00000012441 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit bundle 1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r5 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r5 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout328.tst 0000664 0000000 0000000 00000023240 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: qinq pppoe routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 p2poe relay di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1.111 exit int eth1.111.222 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout329.tst 0000664 0000000 0000000 00000023413 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: qinq pppoe mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int di1 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 p2poe relay di1 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port di1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan pppoe mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int di1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit int eth1.111 exit int eth1.111.222 p2poe client di1 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r4 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r4 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout330.tst 0000664 0000000 0000000 00000031476 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int hair11.111 exit int hair11.111.222 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int hair12.111 exit int hair12.111.222 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.1.2 vrf v2 r1 tping 100 10 1234:1::2 vrf v2 r1 tping 100 10 1.1.2.2 vrf v2 r1 tping 100 10 1234:2::2 vrf v2 r1 tping 100 10 1.1.3.2 vrf v2 r1 tping 100 10 1234:3::2 vrf v2 r1 tping 100 10 1.1.4.2 vrf v2 r1 tping 100 10 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout331.tst 0000664 0000000 0000000 00000012445 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq bridging addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit bridge 2 mac-learn exit hair 1 ether exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 2 exit int hair11.111 exit int hair11.111.222 bridge-gr 1 exit int hair12.111 exit int hair12.111.222 bridge-gr 2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout332.tst 0000664 0000000 0000000 00000031544 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 label-mode per-prefix exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11.111 exit int hair11.111.222 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair12.111 exit int hair12.111.222 vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 1.1.5.1 vrf v2 r1 tping 100 10 1234:5::1 vrf v2 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout333.tst 0000664 0000000 0000000 00000031610 14716276021 0017266 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq pppoe routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.100 255.255.255.255 ipv6 addr 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v2 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: ipv6 ena exit int di2 enc ppp vrf for v2 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: ipv6 ena exit int hair11.111 exit int hair11.111.222 p2poe client di1 exit int hair12.111 exit int hair12.111.222 p2poe relay di2 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port di1 dynamic export-port di2 dynamic vrf v9 exit ipv4 route v1 1.1.4.0 255.255.255.0 1.1.5.2 ipv6 route v1 1234:4:: ffff:ffff:: 1234:5::2 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.5.2 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.5.2 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ipv4 route v2 1.1.1.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.2.0 255.255.255.0 1.1.5.1 ipv4 route v2 1.1.3.0 255.255.255.0 1.1.5.1 ipv6 route v2 1234:1:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:2:: ffff:ffff:: 1234:5::1 ipv6 route v2 1234:3:: ffff:ffff:: 1234:5::1 ipv4 route v2 2.2.2.101 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.103 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.104 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.105 255.255.255.255 1.1.5.1 ipv4 route v2 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v2 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv6 route v2 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan pppoe route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.5.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:5:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.100 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::100 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 1.1.5.2 vrf v1 r1 tping 100 30 1234:5::2 vrf v1 r1 tping 100 30 1.1.5.1 vrf v2 r1 tping 100 30 1234:5::1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r1 tping 100 30 1.1.1.2 vrf v2 r1 tping 100 30 1234:1::2 vrf v2 r1 tping 100 30 1.1.2.2 vrf v2 r1 tping 100 30 1234:2::2 vrf v2 r1 tping 100 30 1.1.3.2 vrf v2 r1 tping 100 30 1234:3::2 vrf v2 r1 tping 100 30 1.1.4.2 vrf v2 r1 tping 100 30 1234:4::2 vrf v2 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.100 vrf v1 sou lo0 r1 tping 100 10 4321::100 vrf v1 sou lo0 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.100 vrf v2 sou lo1 r1 tping 100 10 4321::100 vrf v2 sou lo1 r1 tping 100 10 2.2.2.101 vrf v2 sou lo1 r1 tping 100 10 4321::101 vrf v2 sou lo1 r1 tping 100 10 2.2.2.103 vrf v2 sou lo1 r1 tping 100 10 4321::103 vrf v2 sou lo1 r1 tping 100 10 2.2.2.104 vrf v2 sou lo1 r1 tping 100 10 4321::104 vrf v2 sou lo1 r1 tping 100 10 2.2.2.105 vrf v2 sou lo1 r1 tping 100 10 4321::105 vrf v2 sou lo1 r1 tping 100 10 2.2.2.106 vrf v2 sou lo1 r1 tping 100 10 4321::106 vrf v2 sou lo1 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout334.tst 0000664 0000000 0000000 00000022530 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq vpls/ldp with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 mac-learn exit bridge 3 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11.111 exit int hair11.111.222 bridge-gr 1 exit int hair12.111 exit int hair12.111.222 bridge-gr 2 exit int hair21.111 exit int hair21.111.222 bridge-gr 1 exit int hair22.111 exit int hair22.111.222 bridge-gr 3 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan mpls vpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r6 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout335.tst 0000664 0000000 0000000 00000014355 14716276021 0017277 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq eompls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 1 mac-learn exit bridge 2 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int hair11.111 exit int hair11.111.222 xconnect v1 lo0 pweompls 2.2.2.103 1234 exit int hair12.111 exit int hair12.111.222 bridge-gr 1 exit int hair21.111 exit int hair21.111.222 xconnect v1 lo0 pweompls 2.2.2.104 1234 exit int hair22.111 exit int hair22.111.222 bridge-gr 2 exit int sdn3 bridge-gr 1 exit int sdn4 bridge-gr 2 exit server p4lang p4 interconnect eth2 export-br 1 export-br 2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan eompls mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 pseudowire v1 lo0 pweompls 2.2.2.101 1234 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r4 3.3.3.106 vrf v1 sou lo1 r1 dping sdn . r4 3333::106 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout336.tst 0000664 0000000 0000000 00000022636 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: qinq evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.222 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature vlan evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout337.tst 0000664 0000000 0000000 00000017763 14716276021 0017307 0 ustar 00root root 0000000 0000000 description p4lang: bundle qinq evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bundle 1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 bridge-gr 1 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bundle 1 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r1 dping sdn . r5 3.3.3.103 vrf v1 sou lo0 r1 dping sdn . r5 3333::103 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout338.tst 0000664 0000000 0000000 00000023444 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: hairpin qinq evpn/cmac with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit hair 1 ether exit hair 2 ether exit bridge 2 mac-learn exit bridge 3 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bridge-gr 2 exit int sdn4 bridge-gr 3 exit int hair11.111 exit int hair11.111.222 bridge-gr 1 exit int hair12.111 exit int hair12.111.222 bridge-gr 2 exit int hair21.111 exit int hair21.111.222 bridge-gr 1 exit int hair22.111 exit int hair22.111.222 bridge-gr 3 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a send-comm both temp a pmsi temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-br 2 export-br 3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port hair21 dynamic export-port hair22 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4444:3:: ffff:ffff:: 1234:1::2 ipv6 route v1 4444:4:: ffff:ffff:: 1234:2::2 ! addother r2 controller r1 v9 9080 - feature hairpin vlan evpn mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.103 255.255.255.255 ipv6 addr 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1234:3::3 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:1::1 ipv6 route v1 4444:4:: ffff:ffff:: 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.104 255.255.255.255 ipv6 addr 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both neigh 2.2.2.101 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both neigh 4321::101 pmsi exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ipv6 route v1 4444:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 4444:3:: ffff:ffff:: 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.105 255.255.255.255 ipv6 addr 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.106 255.255.255.255 1.1.3.6 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 3.3.3.106 255.255.255.255 ipv6 addr 3333::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.6 255.255.255.0 ipv6 addr 1234:3::6 ffff:ffff:: exit ipv4 route v1 3.3.3.103 255.255.255.255 1.1.3.3 ipv4 route v1 3.3.3.104 255.255.255.255 1.1.3.4 ipv4 route v1 3.3.3.105 255.255.255.255 1.1.3.5 ipv6 route v1 3333::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ipv6 route v1 3333::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 3333::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.103 vrf v1 sou lo0 r5 tping 100 10 3333::103 vrf v1 sou lo0 r5 tping 100 10 3.3.3.104 vrf v1 sou lo0 r5 tping 100 10 3333::104 vrf v1 sou lo0 r5 tping 100 10 3.3.3.105 vrf v1 sou lo0 r5 tping 100 10 3333::105 vrf v1 sou lo0 r5 tping 100 10 3.3.3.106 vrf v1 sou lo0 r5 tping 100 10 3333::106 vrf v1 sou lo0 r6 tping 100 10 3.3.3.103 vrf v1 sou lo0 r6 tping 100 10 3333::103 vrf v1 sou lo0 r6 tping 100 10 3.3.3.104 vrf v1 sou lo0 r6 tping 100 10 3333::104 vrf v1 sou lo0 r6 tping 100 10 3.3.3.105 vrf v1 sou lo0 r6 tping 100 10 3333::105 vrf v1 sou lo0 r6 tping 100 10 3.3.3.106 vrf v1 sou lo0 r6 tping 100 10 3333::106 vrf v1 sou lo0 r3 tping 100 10 3.3.3.103 vrf v1 sou lo1 r3 tping 100 10 3333::103 vrf v1 sou lo1 r3 tping 100 10 3.3.3.104 vrf v1 sou lo1 r3 tping 100 10 3333::104 vrf v1 sou lo1 r3 tping 100 10 3.3.3.105 vrf v1 sou lo1 r3 tping 100 10 3333::105 vrf v1 sou lo1 r3 tping 100 10 3.3.3.106 vrf v1 sou lo1 r3 tping 100 10 3333::106 vrf v1 sou lo1 r4 tping 100 10 3.3.3.103 vrf v1 sou lo1 r4 tping 100 10 3333::103 vrf v1 sou lo1 r4 tping 100 10 3.3.3.104 vrf v1 sou lo1 r4 tping 100 10 3333::104 vrf v1 sou lo1 r4 tping 100 10 3.3.3.105 vrf v1 sou lo1 r4 tping 100 10 3333::105 vrf v1 sou lo1 r4 tping 100 10 3.3.3.106 vrf v1 sou lo1 r4 tping 100 10 3333::106 vrf v1 sou lo1 r1 dping sdn . r6 3.3.3.104 vrf v1 sou lo0 r1 dping sdn . r6 3333::104 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout339.tst 0000664 0000000 0000000 00000023741 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222.333 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre vlan route int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222.333 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout340.tst 0000664 0000000 0000000 00000016431 14716276021 0017270 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over bundle qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.222 exit int bun1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222.333 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature gre route bundle vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.222 exit int bun1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bun1.222.333 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout341.tst 0000664 0000000 0000000 00000025001 14716276021 0017262 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over hairpin qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit vrf def v9 rd 1:1 exit hair 1 ether exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int hair11.111 exit int hair11.111.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int hair12.111 exit int hair12.111.222 vrf for v3 ipv4 addr 9.9.9.2 255.255.255.0 exit int sdn1 vrf for v3 ipv4 addr 9.9.8.1 255.255.255.0 exit ipv4 route v2 9.9.8.0 255.255.255.0 9.9.9.2 int tun1 tun vrf v2 tun source hair11.111.222 tun destination 9.9.8.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-vrf v3 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port hair11 dynamic export-port hair12 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route vlan hairpin int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.8.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v2 9.9.9.0 255.255.255.0 9.9.8.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v3 r1 tping 100 10 9.9.9.1 vrf v3 r1 tping 100 10 9.9.9.2 vrf v2 r1 tping 100 10 9.9.8.2 vrf v3 r1 tping 100 10 9.9.8.1 vrf v3 r3 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r3 tping 100 10 9.9.8.2 vrf v2 r3 tping 100 10 9.9.8.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout342.tst 0000664 0000000 0000000 00000024067 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: gre routing over qinq bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bvi1 dynamic export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre route bridge int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.222 exit int eth1.222.333 bridge-gr 1 exit int bvi1 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout343.tst 0000664 0000000 0000000 00000024253 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: gre mpls over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int tun1 tun vrf v2 tun source sdn1.222.333 tun destination 9.9.9.2 tun mode gre vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature gre vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int tun1 tun vrf v2 tun source bvi1.222.333 tun destination 9.9.9.1 tun mode gre vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 9.9.9.2 vrf v2 r3 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout344.tst 0000664 0000000 0000000 00000023665 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: l2tp routing over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222.333 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp route vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 1.1.1.2 vrf v1 r1 tping 100 30 1234:1::2 vrf v1 r1 tping 100 30 1.1.2.2 vrf v1 r1 tping 100 30 1234:2::2 vrf v1 r1 tping 100 30 1.1.3.2 vrf v1 r1 tping 100 30 1234:3::2 vrf v1 r1 tping 100 30 1.1.4.2 vrf v1 r1 tping 100 30 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout345.tst 0000664 0000000 0000000 00000024177 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: l2tp mpls over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.222 exit int sdn1.222.333 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit int virt1 enc ppp pseudo v2 sdn1.222.333 l2tp2 9.9.9.2 1234 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port virt1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature l2tp mpls vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.222 exit int bvi1.222.333 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int di1 enc ppp vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit server l2tp2 l clone dialer1 vrf v2 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 30 9.9.9.2 vrf v2 r3 tping 100 30 9.9.9.1 vrf v2 r1 tping 100 30 2.2.2.101 vrf v1 sou lo0 r1 tping 100 30 4321::101 vrf v1 sou lo0 r1 tping 100 30 2.2.2.103 vrf v1 sou lo0 r1 tping 100 30 4321::103 vrf v1 sou lo0 r1 tping 100 30 2.2.2.104 vrf v1 sou lo0 r1 tping 100 30 4321::104 vrf v1 sou lo0 r1 tping 100 30 2.2.2.105 vrf v1 sou lo0 r1 tping 100 30 4321::105 vrf v1 sou lo0 r1 tping 100 30 2.2.2.106 vrf v1 sou lo0 r1 tping 100 30 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r3 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r3 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout346.tst 0000664 0000000 0000000 00000012763 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: vxlan over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 123 protocol vxlan exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vxlan vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1.111.222 vxlan 9.9.9.1 123 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout347.tst 0000664 0000000 0000000 00000012775 14716276021 0017306 0 ustar 00root root 0000000 0000000 description p4lang: pckoudp over qinq addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 bridge-gr 1 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 vrf for v2 ipv4 addr 9.9.9.1 255.255.255.0 exit proxy-profile p2 vrf v2 exit vpdn vx bridge-group 1 proxy p2 target 9.9.9.2 vcid 2554 protocol pckoudp exit int sdn4 bridge-gr 1 exit server p4lang p4 interconnect eth2 export-vrf v1 export-vrf v2 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge pckoudp vlan int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v2 ipv4 addr 9.9.9.2 255.255.255.0 exit int pweth1 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: pseudo v2 eth1.111.222 pckoudp 9.9.9.1 2554 exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 9.9.9.2 vrf v2 r5 tping 100 10 9.9.9.1 vrf v2 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout348.tst 0000664 0000000 0000000 00000025217 14716276021 0017302 0 ustar 00root root 0000000 0000000 description p4lang: multicast qinq routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 exit int sdn3.333 exit int sdn3.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 exit int sdn4.444 exit int sdn4.444.555 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 exit int bvi1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 exit int eth1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 exit int eth1.444.555 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout349.tst 0000664 0000000 0000000 00000017052 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: multicast bundle qinq routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 exit int bun1.111 exit int bun1.111.222 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 mroute v1 :: :: 1234:1::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle route vlan mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi static 232.2.2.2 2.2.2.103 ipv6 multi static ff06::1 4321::103 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.111 exit int bun1.111.222 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 200 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 200 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout350.tst 0000664 0000000 0000000 00000025441 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: mldp qinq core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 exit int sdn3.333 exit int sdn3.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 exit int sdn4.444 exit int sdn4.444.555 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 exit int bvi1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 exit int eth1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 exit int eth1.444.555 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout351.tst 0000664 0000000 0000000 00000020707 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: mldp bundle qinq core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1 exit int bun1.333 exit int bun1.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route bundle duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 exit int bvi1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.333 exit int bun1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 200 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 200 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout352.tst 0000664 0000000 0000000 00000025341 14716276021 0017273 0 ustar 00root root 0000000 0000000 description p4lang: mldp qinq egress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn3 exit int sdn3.333 exit int sdn3.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena ipv4 multi static 232.2.2.2 2.2.2.106 ipv6 multi static ff06::1 4321::106 exit int sdn4 exit int sdn4.444 exit int sdn4.444.555 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.4.2 ipv6 mroute v1 :: :: 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route mroute duplab int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 exit int bvi1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 exit int eth1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 exit int eth1.444.555 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout353.tst 0000664 0000000 0000000 00000024441 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: mldp qinq ingress edge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn3 exit int sdn3.333 exit int sdn3.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int sdn4 exit int sdn4.444 exit int sdn4.444.555 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 pim ena ipv6 pim ena exit ipv4 mroute v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 mroute v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 2.2.2.103 temp a neigh 2.2.2.104 temp a neigh 2.2.2.105 temp a red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 temp a remote-as 1 temp a update lo0 temp a route-reflect neigh 4321::103 temp a neigh 4321::104 temp a neigh 4321::105 temp a red conn red stat exit ! addother r2 controller r1 v9 9080 - feature vlan route duplab mroute int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 exit int eth1.111.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.3 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.3 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.333 exit int eth1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.5 neigh 2.2.2.101 remote-as 1 neigh 2.2.2.101 update lo0 neigh 2.2.2.101 send-comm both red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.5 neigh 4321::101 remote-as 1 neigh 4321::101 update lo0 neigh 4321::101 send-comm both red conn exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.444 exit int eth1.444.555 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena ipv4 pim ena ipv6 pim ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout354.tst 0000664 0000000 0000000 00000026510 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: bier qinq core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 exit int sdn3.333 exit int sdn3.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 exit int sdn4.444 exit int sdn4.444.555 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route vlan bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 exit int bvi1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 mroute v1 :: :: 1234:1::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1.333 exit int eth1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth2 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.6 bier 256 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 bier 256 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit int eth1.444 exit int eth1.444.555 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 6 ipv6 pim bier 6 exit ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.106 ipv6 multi v1 join ff06::1 4321::106 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.5.2 vrf v1 r6 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.4.2 vrf v1 r7 tping 100 10 1234:4::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.107 vrf v1 sou lo0 r6 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.106 vrf v1 sou lo0 r7 tping 100 10 4321::106 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r6 tping 400 5 232.2.2.2 vrf v1 sou lo0 multi r6 tping 400 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r6 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r6 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout355.tst 0000664 0000000 0000000 00000021747 14716276021 0017304 0 ustar 00root root 0000000 0000000 description p4lang: bier bundle qinq core addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 red conn exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 exit int sdn2.222 exit int sdn2.222.333 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.333 exit int bun1.333.444 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable router lsrp4 1 ena router lsrp6 1 ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ! addother r2 controller r1 v9 9080 - feature route bundle vlan bier int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit bridge 1 mac-learn block-unicast exit int eth1 bridge-gr 1 exit int bvi1.111 exit int bvi1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 3 ipv6 pim bier 3 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 4 ipv6 pim bier 4 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.2.1 ipv6 mroute v1 :: :: 1234:2::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ int eth3 eth 0000.0000.5555 $7a$ $7b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 red conn exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.333 exit int bun1.333.444 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit int eth3 vrf for v1 ipv4 addr 1.1.5.1 255.255.255.0 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 5 ipv6 pim bier 5 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.3.1 ipv6 mroute v1 :: :: 1234:3::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! addrouter r7 int eth1 eth 0000.0000.7777 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.7 bier 256 10 7 red conn exit router lsrp6 1 vrf v1 router 6.6.6.7 bier 256 10 7 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.107 255.255.255.255 ipv6 addr 4321::107 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit int eth1 vrf for v1 ipv4 addr 1.1.5.2 255.255.255.0 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo0 ipv6 pim join lo0 ipv4 pim bier 7 ipv6 pim bier 7 exit ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.5.1 ipv6 mroute v1 :: :: 1234:5::1 ipv4 multi v1 join 232.2.2.2 2.2.2.103 ipv6 multi v1 join ff06::1 4321::103 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.5.2 vrf v1 r1 tping 100 10 1234:5::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.5.2 vrf v1 r3 tping 100 10 1234:5::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.5.2 vrf v1 r4 tping 100 10 1234:5::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.5.2 vrf v1 r5 tping 100 10 1234:5::2 vrf v1 r7 tping 100 10 1.1.1.2 vrf v1 r7 tping 100 10 1234:1::2 vrf v1 r7 tping 100 10 1.1.2.2 vrf v1 r7 tping 100 10 1234:2::2 vrf v1 r7 tping 100 10 1.1.3.2 vrf v1 r7 tping 100 10 1234:3::2 vrf v1 r7 tping 100 10 1.1.5.2 vrf v1 r7 tping 100 10 1234:5::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.107 vrf v1 sou lo0 r1 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.107 vrf v1 sou lo0 r3 tping 100 10 4321::107 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.107 vrf v1 sou lo0 r4 tping 100 10 4321::107 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.107 vrf v1 sou lo0 r5 tping 100 10 4321::107 vrf v1 sou lo0 r7 tping 100 10 2.2.2.101 vrf v1 sou lo0 r7 tping 100 10 4321::101 vrf v1 sou lo0 r7 tping 100 10 2.2.2.103 vrf v1 sou lo0 r7 tping 100 10 4321::103 vrf v1 sou lo0 r7 tping 100 10 2.2.2.104 vrf v1 sou lo0 r7 tping 100 10 4321::104 vrf v1 sou lo0 r7 tping 100 10 2.2.2.105 vrf v1 sou lo0 r7 tping 100 10 4321::105 vrf v1 sou lo0 r7 tping 100 10 2.2.2.107 vrf v1 sou lo0 r7 tping 100 10 4321::107 vrf v1 sou lo0 r3 tping 300 5 232.2.2.2 vrf v1 sou lo0 multi r3 tping 300 5 ff06::1 vrf v1 sou lo0 multi r1 dping sdn . r3 232.2.2.2 vrf v1 sou lo0 r1 dping sdn . r3 ff06::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout356.tst 0000664 0000000 0000000 00000030213 14716276021 0017271 0 ustar 00root root 0000000 0000000 description p4lang: qinq nsh addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena nsh ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena nsh ena exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit nsh 1001 122 rou v1 nsh 1003 122 int sdn1.111.222 0000.0000.3333 nsh 1004 122 int sdn2 0000.0000.4444 nsh 1005 122 int sdn3 0000.0000.5555 nsh 1006 122 rou v1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature vlan route nsh int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.0 ipv6 addr 4321::103 ffff:ffff:: exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1.111.222 0000.0000.1111 nsh 1003 121 rou v1 nsh 1004 123 int eth1.111.222 0000.0000.1111 nsh 1005 123 int eth1.111.222 0000.0000.1111 nsh 1006 123 int eth1.111.222 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.0 ipv6 addr 4321::104 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 121 rou v1 nsh 1005 123 int eth1 0000.0000.1111 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1003 123 ipv6 pbr v1 test36 v1 nsh 1003 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.0 ipv6 addr 4321::105 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 121 rou v1 nsh 1006 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test64 v1 nsh 1006 123 ipv6 pbr v1 test66 v1 nsh 1006 123 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.0 ipv6 addr 4321::106 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: nsh ena exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 access-list test14 permit 1 any all 2.2.2.101 255.255.255.255 all exit access-list test16 permit 58 any all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test34 permit 1 any all 2.2.2.103 255.255.255.255 all exit access-list test36 permit 58 any all 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test44 permit 1 any all 2.2.2.104 255.255.255.255 all exit access-list test46 permit 58 any all 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test54 permit 1 any all 2.2.2.105 255.255.255.255 all exit access-list test56 permit 58 any all 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list test64 permit 1 any all 2.2.2.106 255.255.255.255 all exit access-list test66 permit 58 any all 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit nsh 1001 123 int eth1 0000.0000.1111 nsh 1003 123 int eth1 0000.0000.1111 nsh 1004 123 int eth1 0000.0000.1111 nsh 1005 123 int eth1 0000.0000.1111 ipv4 pbr v1 test14 v1 nsh 1001 123 ipv6 pbr v1 test16 v1 nsh 1001 123 ipv4 pbr v1 test34 v1 nsh 1004 123 ipv6 pbr v1 test36 v1 nsh 1004 123 ipv4 pbr v1 test44 v1 nsh 1004 123 ipv6 pbr v1 test46 v1 nsh 1004 123 ipv4 pbr v1 test54 v1 nsh 1005 123 ipv6 pbr v1 test56 v1 nsh 1005 123 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 2.2.2.101 vrf v1 sou eth1.111.222 r3 tping 100 10 4321::101 vrf v1 sou eth1.111.222 r3 tping 100 10 2.2.2.103 vrf v1 sou eth1.111.222 r3 tping 100 10 4321::103 vrf v1 sou eth1.111.222 r3 tping 100 10 2.2.2.104 vrf v1 sou eth1.111.222 r3 tping 100 10 4321::104 vrf v1 sou eth1.111.222 r3 tping 100 10 2.2.2.105 vrf v1 sou eth1.111.222 r3 tping 100 10 4321::105 vrf v1 sou eth1.111.222 r3 tping 100 10 2.2.2.106 vrf v1 sou eth1.111.222 r3 tping 100 10 4321::106 vrf v1 sou eth1.111.222 r4 tping 100 10 2.2.2.101 vrf v1 sou eth1 r4 tping 100 10 4321::101 vrf v1 sou eth1 r4 tping 100 10 2.2.2.103 vrf v1 sou eth1 r4 tping 100 10 4321::103 vrf v1 sou eth1 r4 tping 100 10 2.2.2.104 vrf v1 sou eth1 r4 tping 100 10 4321::104 vrf v1 sou eth1 r4 tping 100 10 2.2.2.105 vrf v1 sou eth1 r4 tping 100 10 4321::105 vrf v1 sou eth1 r4 tping 100 10 2.2.2.106 vrf v1 sou eth1 r4 tping 100 10 4321::106 vrf v1 sou eth1 r5 tping 100 10 2.2.2.101 vrf v1 sou eth1 r5 tping 100 10 4321::101 vrf v1 sou eth1 r5 tping 100 10 2.2.2.103 vrf v1 sou eth1 r5 tping 100 10 4321::103 vrf v1 sou eth1 r5 tping 100 10 2.2.2.104 vrf v1 sou eth1 r5 tping 100 10 4321::104 vrf v1 sou eth1 r5 tping 100 10 2.2.2.105 vrf v1 sou eth1 r5 tping 100 10 4321::105 vrf v1 sou eth1 r5 tping 100 10 2.2.2.106 vrf v1 sou eth1 r5 tping 100 10 4321::106 vrf v1 sou eth1 r6 tping 100 10 2.2.2.101 vrf v1 sou eth1 r6 tping 100 10 4321::101 vrf v1 sou eth1 r6 tping 100 10 2.2.2.103 vrf v1 sou eth1 r6 tping 100 10 4321::103 vrf v1 sou eth1 r6 tping 100 10 2.2.2.104 vrf v1 sou eth1 r6 tping 100 10 4321::104 vrf v1 sou eth1 r6 tping 100 10 2.2.2.105 vrf v1 sou eth1 r6 tping 100 10 4321::105 vrf v1 sou eth1 r6 tping 100 10 2.2.2.106 vrf v1 sou eth1 r6 tping 100 10 4321::106 vrf v1 sou eth1 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout357.tst 0000664 0000000 0000000 00000035530 14716276021 0017301 0 ustar 00root root 0000000 0000000 description p4lang: qinq polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop justadvert lo0 exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop justadvert lo0 exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn3 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int sdn4 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.103 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.1 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::103 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: exit int tun21 tun sou lo0 tun dest 2.2.2.104 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.12.1 255.255.255.0 exit int tun22 tun sou lo0 tun dest 4321::104 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:12::1 ffff:ffff:: exit int tun31 tun sou lo0 tun dest 2.2.2.105 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.13.1 255.255.255.0 exit int tun32 tun sou lo0 tun dest 4321::105 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:13::1 ffff:ffff:: exit int tun41 tun sou lo0 tun dest 2.2.2.106 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.14.1 255.255.255.0 exit int tun42 tun sou lo0 tun dest 4321::106 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:14::1 ffff:ffff:: exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port tun11 dynamic export-port tun12 dynamic export-port tun21 dynamic export-port tun22 dynamic export-port tun31 dynamic export-port tun32 dynamic export-port tun41 dynamic export-port tun42 dynamic vrf v9 exit ipv4 route v1 2.2.2.203 255.255.255.255 1.1.11.2 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.12.2 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.13.2 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.14.2 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::2 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::2 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::2 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::2 ! addother r2 controller r1 v9 9080 - feature vlan polka int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.203 255.255.255.255 ipv6 addr 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 justadvert lo0 justadvert eth1 exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.11.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.11.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.11.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:11::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.204 255.255.255.255 ipv6 addr 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 4 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.12.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:12::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.12.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.12.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:12::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.205 255.255.255.255 ipv6 addr 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 5 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.13.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:13::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.13.1 ipv4 route v1 2.2.2.206 255.255.255.255 1.1.13.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ipv6 route v1 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:13::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.206 255.255.255.255 ipv6 addr 4321::206 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 justadvert lo0 justadvert eth1 exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 justadvert lo0 justadvert eth1 exit int eth1 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable polka enable 6 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int tun11 tun sou lo0 tun dest 2.2.2.105 tun domain 2.2.2.101 tun vrf v1 tun mod polka vrf for v1 ipv4 addr 1.1.14.2 255.255.255.0 exit int tun12 tun sou lo0 tun dest 4321::105 tun domain 4321::101 tun vrf v1 tun mod polka vrf for v1 ipv6 addr 1234:14::2 ffff:ffff:: exit ipv4 route v1 2.2.2.201 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.203 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.204 255.255.255.255 1.1.14.1 ipv4 route v1 2.2.2.205 255.255.255.255 1.1.14.1 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::203 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::204 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ipv6 route v1 4321::205 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:14::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 tping 100 10 2.2.2.201 vrf v1 sou lo1 r1 tping 100 10 4321::201 vrf v1 sou lo1 r1 tping 100 10 2.2.2.203 vrf v1 sou lo1 r1 tping 100 10 4321::203 vrf v1 sou lo1 r1 tping 100 10 2.2.2.204 vrf v1 sou lo1 r1 tping 100 10 4321::204 vrf v1 sou lo1 r1 tping 100 10 2.2.2.205 vrf v1 sou lo1 r1 tping 100 10 4321::205 vrf v1 sou lo1 r1 tping 100 10 2.2.2.206 vrf v1 sou lo1 r1 tping 100 10 4321::206 vrf v1 sou lo1 r3 tping 100 10 2.2.2.201 vrf v1 sou lo1 r3 tping 100 10 4321::201 vrf v1 sou lo1 r3 tping 100 10 2.2.2.203 vrf v1 sou lo1 r3 tping 100 10 4321::203 vrf v1 sou lo1 r3 tping 100 10 2.2.2.204 vrf v1 sou lo1 r3 tping 100 10 4321::204 vrf v1 sou lo1 r3 tping 100 10 2.2.2.205 vrf v1 sou lo1 r3 tping 100 10 4321::205 vrf v1 sou lo1 r3 tping 100 10 2.2.2.206 vrf v1 sou lo1 r3 tping 100 10 4321::206 vrf v1 sou lo1 r4 tping 100 10 2.2.2.201 vrf v1 sou lo1 r4 tping 100 10 4321::201 vrf v1 sou lo1 r4 tping 100 10 2.2.2.203 vrf v1 sou lo1 r4 tping 100 10 4321::203 vrf v1 sou lo1 r4 tping 100 10 2.2.2.204 vrf v1 sou lo1 r4 tping 100 10 4321::204 vrf v1 sou lo1 r4 tping 100 10 2.2.2.205 vrf v1 sou lo1 r4 tping 100 10 4321::205 vrf v1 sou lo1 r4 tping 100 10 2.2.2.206 vrf v1 sou lo1 r4 tping 100 10 4321::206 vrf v1 sou lo1 r5 tping 100 10 2.2.2.201 vrf v1 sou lo1 r5 tping 100 10 4321::201 vrf v1 sou lo1 r5 tping 100 10 2.2.2.203 vrf v1 sou lo1 r5 tping 100 10 4321::203 vrf v1 sou lo1 r5 tping 100 10 2.2.2.204 vrf v1 sou lo1 r5 tping 100 10 4321::204 vrf v1 sou lo1 r5 tping 100 10 2.2.2.205 vrf v1 sou lo1 r5 tping 100 10 4321::205 vrf v1 sou lo1 r5 tping 100 10 2.2.2.206 vrf v1 sou lo1 r5 tping 100 10 4321::206 vrf v1 sou lo1 r6 tping 100 10 2.2.2.201 vrf v1 sou lo1 r6 tping 100 10 4321::201 vrf v1 sou lo1 r6 tping 100 10 2.2.2.203 vrf v1 sou lo1 r6 tping 100 10 4321::203 vrf v1 sou lo1 r6 tping 100 10 2.2.2.204 vrf v1 sou lo1 r6 tping 100 10 4321::204 vrf v1 sou lo1 r6 tping 100 10 2.2.2.205 vrf v1 sou lo1 r6 tping 100 10 4321::205 vrf v1 sou lo1 r6 tping 100 10 2.2.2.206 vrf v1 sou lo1 r6 tping 100 10 4321::206 vrf v1 sou lo1 r1 dping sdn . r6 2.2.2.205 vrf v1 sou lo1 r1 dping sdn . r6 4321::205 vrf v1 sou lo1 freeRtr-24.11.16/cfg/p4lang-rout358.tst 0000664 0000000 0000000 00000021062 14716276021 0017275 0 ustar 00root root 0000000 0000000 description p4lang: l2vpn over bundle qinq mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.105 1234 vrf for v2 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::105 1234 vrf for v2 ipv4 addr 4.4.6.1 255.255.255.0 ipv6 addr 4446::1 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.1 255.255.255.0 ipv6 addr 4445::1 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.1 255.255.255.0 ipv6 addr 4447::1 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 exit int pweth1 pseudo v1 lo0 pweompls 2.2.2.103 1234 vrf for v2 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit int pweth2 pseudo v1 lo0 pweompls 4321::103 1234 vrf for v2 ipv4 addr 4.4.6.2 255.255.255.0 ipv6 addr 4446::2 ffff:: exit int pweth1.123 vrf for v2 ipv4 addr 4.4.5.2 255.255.255.0 ipv6 addr 4445::2 ffff:: exit int pweth2.123 vrf for v2 ipv4 addr 4.4.7.2 255.255.255.0 ipv6 addr 4447::2 ffff:: exit ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 4.4.4.2 vrf v2 r3 tping 100 10 4.4.6.2 vrf v2 r3 tping 100 10 4444::2 vrf v2 r3 tping 100 10 4446::2 vrf v2 r5 tping 100 10 4.4.4.1 vrf v2 r5 tping 100 10 4.4.6.1 vrf v2 r5 tping 100 10 4444::1 vrf v2 r5 tping 100 10 4446::1 vrf v2 r3 tping 100 10 4.4.5.2 vrf v2 r3 tping 100 10 4.4.7.2 vrf v2 r3 tping 100 10 4445::2 vrf v2 r3 tping 100 10 4447::2 vrf v2 r5 tping 100 10 4.4.5.1 vrf v2 r5 tping 100 10 4.4.7.1 vrf v2 r5 tping 100 10 4445::1 vrf v2 r5 tping 100 10 4447::1 vrf v2 r1 dping sdn . r3 4.4.4.2 vrf v2 r1 dping sdn . r3 4446::2 vrf v2 freeRtr-24.11.16/cfg/p4lang-rout359.tst 0000664 0000000 0000000 00000023047 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: l3vpn over bundle qinq mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit int sdn3 bundle-gr 1 exit int sdn4 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena mpls enable mpls ldp4 mpls ldp6 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 export-port bun1 dynamic vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addother r2 controller r1 v9 9080 - feature bundle vlan mpls int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.105 remote-as 1 neigh 2.2.2.105 update lo0 neigh 2.2.2.105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::105 remote-as 1 neigh 4321::105 update lo0 neigh 4321::105 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ int eth2 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit bundle 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bundle-gr 1 exit int eth2 bundle-gr 1 exit int bun1.11 exit int bun1.11.22 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 no ipv4 unreachables no ipv6 unreachables mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.103 remote-as 1 neigh 2.2.2.103 update lo0 neigh 2.2.2.103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::103 remote-as 1 neigh 4321::103 update lo0 neigh 4321::103 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 60 9.9.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9.9.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9.9.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r1 dping sdn . r3 9.9.3.2 vrf v3 r1 dping sdn . r3 9993::2 vrf v3 freeRtr-24.11.16/cfg/p4lang-rout360.tst 0000664 0000000 0000000 00000011656 14716276021 0017276 0 ustar 00root root 0000000 0000000 description p4lang: qinq local connect addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 exit int sdn3.222 exit int sdn3.222.333 connect sdn2 exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 connect sdn3.111.222 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature vlan loconn int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1234:3::4 ffff:ffff:: exit ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.5 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::5 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit int eth1.222 exit int eth1.222.333 vrf for v1 ipv4 addr 1.1.3.5 255.255.255.0 ipv6 addr 1234:3::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.3.5 vrf v1 r4 tping 100 10 1234:3::5 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout361.tst 0000664 0000000 0000000 00000023774 14716276021 0017303 0 ustar 00root root 0000000 0000000 description p4lang: qinq pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 pmtud-in 1400 ipv6 pmtud-in 1400 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan pmtud int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 exit int eth1.111.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 siz 1400 r6 tping 100 10 4321::103 vrf v1 sou lo0 siz 1400 r6 tping -100 10 2.2.2.103 vrf v1 sou lo0 siz 1401 error r6 tping -100 10 4321::103 vrf v1 sou lo0 siz 1401 error r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout362.tst 0000664 0000000 0000000 00000025303 14716276021 0017272 0 ustar 00root root 0000000 0000000 description p4lang: qinq tcpmss addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 ena exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 vrf for v1 ipv4 addr 1.1.3.1 255.255.255.0 ipv6 addr 1234:3::1 ffff:ffff:: ipv6 ena exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 vrf for v1 ipv4 addr 1.1.4.1 255.255.255.0 ipv6 addr 1234:4::1 ffff:ffff:: ipv6 ena ipv4 tcp-mss-in 1280 ipv6 tcp-mss-in 1280 exit server p4lang p4 interconnect eth2 export-vrf v1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.2 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.3.2 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.4.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addother r2 controller r1 v9 9080 - feature route vlan tcpmss int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v2 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn block-unicast exit int eth1.111 exit int eth1.111.222 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.1.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.1.1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:1::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:1::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.2.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.2.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:2::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:2::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.3.2 255.255.255.0 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 1.1.1.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.3.1 ipv4 route v1 1.1.4.0 255.255.255.0 1.1.3.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:3::1 ipv6 route v1 1234:4:: ffff:ffff:: 1234:3::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.3.1 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.3.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.4.2 255.255.255.0 ipv6 addr 1234:4::2 ffff:ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 2.2.2.103 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 4321::103 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ipv4 route v1 1.1.1.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.2.0 255.255.255.0 1.1.4.1 ipv4 route v1 1.1.3.0 255.255.255.0 1.1.4.1 ipv6 route v1 1234:1:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:2:: ffff:ffff:: 1234:4::1 ipv6 route v1 1234:3:: ffff:ffff:: 1234:4::1 ipv4 route v1 2.2.2.101 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.103 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.4.1 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.4.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r1 tping 100 10 1.1.2.2 vrf v1 r1 tping 100 10 1234:2::2 vrf v1 r1 tping 100 10 1.1.3.2 vrf v1 r1 tping 100 10 1234:3::2 vrf v1 r1 tping 100 10 1.1.4.2 vrf v1 r1 tping 100 10 1234:4::2 vrf v1 r3 tping 100 10 1.1.1.2 vrf v1 r3 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.2.2 vrf v1 r3 tping 100 10 1234:2::2 vrf v1 r3 tping 100 10 1.1.3.2 vrf v1 r3 tping 100 10 1234:3::2 vrf v1 r3 tping 100 10 1.1.4.2 vrf v1 r3 tping 100 10 1234:4::2 vrf v1 r4 tping 100 10 1.1.1.2 vrf v1 r4 tping 100 10 1234:1::2 vrf v1 r4 tping 100 10 1.1.2.2 vrf v1 r4 tping 100 10 1234:2::2 vrf v1 r4 tping 100 10 1.1.3.2 vrf v1 r4 tping 100 10 1234:3::2 vrf v1 r4 tping 100 10 1.1.4.2 vrf v1 r4 tping 100 10 1234:4::2 vrf v1 r5 tping 100 10 1.1.1.2 vrf v1 r5 tping 100 10 1234:1::2 vrf v1 r5 tping 100 10 1.1.2.2 vrf v1 r5 tping 100 10 1234:2::2 vrf v1 r5 tping 100 10 1.1.3.2 vrf v1 r5 tping 100 10 1234:3::2 vrf v1 r5 tping 100 10 1.1.4.2 vrf v1 r5 tping 100 10 1234:4::2 vrf v1 r6 tping 100 10 1.1.1.2 vrf v1 r6 tping 100 10 1234:1::2 vrf v1 r6 tping 100 10 1.1.2.2 vrf v1 r6 tping 100 10 1234:2::2 vrf v1 r6 tping 100 10 1.1.3.2 vrf v1 r6 tping 100 10 1234:3::2 vrf v1 r6 tping 100 10 1.1.4.2 vrf v1 r6 tping 100 10 1234:4::2 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r1 tping 100 10 2.2.2.104 vrf v1 sou lo0 r1 tping 100 10 4321::104 vrf v1 sou lo0 r1 tping 100 10 2.2.2.105 vrf v1 sou lo0 r1 tping 100 10 4321::105 vrf v1 sou lo0 r1 tping 100 10 2.2.2.106 vrf v1 sou lo0 r1 tping 100 10 4321::106 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.104 vrf v1 sou lo0 r3 tping 100 10 4321::104 vrf v1 sou lo0 r3 tping 100 10 2.2.2.105 vrf v1 sou lo0 r3 tping 100 10 4321::105 vrf v1 sou lo0 r3 tping 100 10 2.2.2.106 vrf v1 sou lo0 r3 tping 100 10 4321::106 vrf v1 sou lo0 r4 tping 100 10 2.2.2.101 vrf v1 sou lo0 r4 tping 100 10 4321::101 vrf v1 sou lo0 r4 tping 100 10 2.2.2.103 vrf v1 sou lo0 r4 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.101 vrf v1 sou lo0 r5 tping 100 10 4321::101 vrf v1 sou lo0 r5 tping 100 10 2.2.2.103 vrf v1 sou lo0 r5 tping 100 10 4321::103 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.101 vrf v1 sou lo0 r6 tping 100 10 4321::101 vrf v1 sou lo0 r6 tping 100 10 2.2.2.103 vrf v1 sou lo0 r6 tping 100 10 4321::103 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 30 2.2.2.0 vrf v2 siz 3000 r6 tping 100 30 2.2.2.0 vrf v3 siz 3000 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang-rout363.tst 0000664 0000000 0000000 00000014450 14716276021 0017274 0 ustar 00root root 0000000 0000000 description p4lang: qinq bridge tcpmss addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v9 rd 1:1 exit int lo9 vrf for v9 ipv4 addr 10.10.10.227 255.255.255.255 exit int eth1 vrf for v9 ipv4 addr 10.11.12.254 255.255.255.0 exit int eth2 exit server dhcp4 eth1 pool 10.11.12.1 10.11.12.99 gateway 10.11.12.254 netmask 255.255.255.0 dns-server 10.10.10.227 domain-name p4l static 0000.0000.2222 10.11.12.111 interface eth1 vrf v9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit bridge 1 mac-learn exit int sdn1 exit int sdn1.111 exit int sdn1.111.222 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 ena exit int sdn2 exit int sdn2.111 exit int sdn2.111.222 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit int sdn3 exit int sdn3.111 exit int sdn3.111.222 bridge-gr 1 exit int sdn4 exit int sdn4.111 exit int sdn4.111.222 bridge-gr 1 bridge-tcp-mss ipv4in 1280 bridge-tcp-mss ipv6in 1280 exit server p4lang p4 interconnect eth2 export-vrf v1 export-br 1 export-port sdn1 1 10 export-port sdn2 2 10 export-port sdn3 3 10 export-port sdn4 4 10 vrf v9 exit ipv4 route v1 2.2.2.103 255.255.255.255 1.1.1.2 ipv6 route v1 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ! addother r2 controller r1 v9 9080 - feature bridge vlan tcpmss int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ int eth4 eth 0000.0000.2222 $4a$ $4b$ int eth5 eth 0000.0000.2222 $5a$ $5b$ int eth6 eth 0000.0000.2222 $6a$ $6b$ ! ! addrouter r3 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.104 255.255.255.255 ipv6 addr 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vrf def v2 rd 1:1 exit ipv4 pool p4 2.2.2.1 0.0.0.1 254 int di1 enc ppp vrf for v2 ipv4 addr 2.2.2.0 255.255.255.255 ppp ip4cp local 2.2.2.0 ipv4 pool p4 ppp ip4cp open exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.4 255.255.255.0 ipv6 addr 1234:2::4 ffff:ffff:: exit server pckotcp pou clone di1 vrf v1 exit client tcp-segments 1024 4096 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r5 int eth1 eth 0000.0000.5555 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.105 255.255.255.255 ipv6 addr 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.0 ipv6 addr 1234:2::5 ffff:ffff:: exit ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.106 255.255.255.255 1.1.2.6 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::6 ! addrouter r6 int eth1 eth 0000.0000.6666 $6b$ $6a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit vrf def v3 rd 1:1 exit proxy-profile p1 vrf v1 exit prefix-list p1 permit 0.0.0.0/0 exit int lo0 vrf for v1 ipv4 addr 2.2.2.106 255.255.255.255 ipv6 addr 4321::106 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.111 exit int eth1.111.222 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.0 ipv6 addr 1234:2::6 ffff:ffff:: exit int di2 enc ppp vrf for v2 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di2 interface di2 proxy p1 target 2.2.2.104 vcid 2554 prot pckotcp exit int di3 enc ppp vrf for v3 ipv4 addr 4.4.4.4 255.255.255.128 ppp ip4cp open ppp ip4cp local 0.0.0.0 exit vpdn di3 interface di3 proxy p1 target 4321::104 vcid 2554 prot pckotcp exit client tcp-segments 1024 4096 ipv4 route v1 2.2.2.104 255.255.255.255 1.1.2.4 ipv4 route v1 2.2.2.105 255.255.255.255 1.1.2.5 ipv6 route v1 4321::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::4 ipv6 route v1 4321::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::5 ! r1 tping 100 10 1.1.1.2 vrf v1 r1 tping 100 10 1234:1::2 vrf v1 r3 tping 100 10 1.1.1.1 vrf v1 r3 tping 100 10 1234:1::1 vrf v1 r4 tping 100 10 1.1.2.5 vrf v1 r4 tping 100 10 1234:2::5 vrf v1 r4 tping 100 10 1.1.2.6 vrf v1 r4 tping 100 10 1234:2::6 vrf v1 r5 tping 100 10 1.1.2.4 vrf v1 r5 tping 100 10 1234:2::4 vrf v1 r5 tping 100 10 1.1.2.6 vrf v1 r5 tping 100 10 1234:2::6 vrf v1 r6 tping 100 10 1.1.2.4 vrf v1 r6 tping 100 10 1234:2::4 vrf v1 r6 tping 100 10 1.1.2.5 vrf v1 r6 tping 100 10 1234:2::5 vrf v1 r1 tping 100 10 2.2.2.101 vrf v1 sou lo0 r1 tping 100 10 4321::101 vrf v1 sou lo0 r1 tping 100 10 2.2.2.103 vrf v1 sou lo0 r1 tping 100 10 4321::103 vrf v1 sou lo0 r3 tping 100 10 2.2.2.101 vrf v1 sou lo0 r3 tping 100 10 4321::101 vrf v1 sou lo0 r3 tping 100 10 2.2.2.103 vrf v1 sou lo0 r3 tping 100 10 4321::103 vrf v1 sou lo0 r4 tping 100 10 2.2.2.104 vrf v1 sou lo0 r4 tping 100 10 4321::104 vrf v1 sou lo0 r4 tping 100 10 2.2.2.105 vrf v1 sou lo0 r4 tping 100 10 4321::105 vrf v1 sou lo0 r4 tping 100 10 2.2.2.106 vrf v1 sou lo0 r4 tping 100 10 4321::106 vrf v1 sou lo0 r5 tping 100 10 2.2.2.104 vrf v1 sou lo0 r5 tping 100 10 4321::104 vrf v1 sou lo0 r5 tping 100 10 2.2.2.105 vrf v1 sou lo0 r5 tping 100 10 4321::105 vrf v1 sou lo0 r5 tping 100 10 2.2.2.106 vrf v1 sou lo0 r5 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 10 2.2.2.104 vrf v1 sou lo0 r6 tping 100 10 4321::104 vrf v1 sou lo0 r6 tping 100 10 2.2.2.105 vrf v1 sou lo0 r6 tping 100 10 4321::105 vrf v1 sou lo0 r6 tping 100 10 2.2.2.106 vrf v1 sou lo0 r6 tping 100 10 4321::106 vrf v1 sou lo0 r6 tping 100 30 2.2.2.0 vrf v2 siz 3000 r6 tping 100 30 2.2.2.0 vrf v3 siz 3000 r1 dping sdn . r6 2.2.2.105 vrf v1 sou lo0 r1 dping sdn . r6 4321::105 vrf v1 sou lo0 freeRtr-24.11.16/cfg/p4lang1.ini 0000664 0000000 0000000 00000001227 14716276021 0016075 0 ustar 00root root 0000000 0000000 bmv2 copp acl racl inspect nat vlan bundle bridge pppoe hairpin gre l2tp l3tp tmux route mpls vpls evpn eompls srv6 gretap pppoetap l2tptap l3tptap tmuxtap vxlan ipip pckoudp pbr qos flwspc mroute duplab bier nsh sgt amt -polka gtp -vrfysrc loconn etherip qemu-img create -f qcow2 -o backing_file=../img/p4bmv2.img,backing_fmt=raw $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 1024 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang2.ini 0000664 0000000 0000000 00000001326 14716276021 0016076 0 ustar 00root root 0000000 0000000 dpdk pckout punting copp acl nat vlan bundle bridge pppoe hairpin gre l2tp l3tp tmux route mpls vpls evpn eompls gretap pppoetap l2tptap l3tptap tmuxtap vxlan ipip macsec ipsec pckoudp openvpn wireguard srv6 pbr qos flwspc mroute duplab bier amt nsh racl inspect sgt vrfysrc gtp loconn tcpmss pmtud etherip polka mpolka qemu-img create -f qcow2 -o backing_file=../img/p4emu.img,backing_fmt=raw $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 1024 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang301.ini 0000664 0000000 0000000 00000000745 14716276021 0016244 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle bridge route mpls vpls evpn eompls hairpin qemu-img create -f qcow2 -o backing_file=../img/p4bf_mpls.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang302.ini 0000664 0000000 0000000 00000000731 14716276021 0016240 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route srv6 hairpin nat pbr qos qemu-img create -f qcow2 -o backing_file=../img/p4bf_srv6.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang303.ini 0000664 0000000 0000000 00000000733 14716276021 0016243 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle bridge route hairpin gre gretap qemu-img create -f qcow2 -o backing_file=../img/p4bf_brdg1.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang304.ini 0000664 0000000 0000000 00000000725 14716276021 0016245 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin gre mpls pbr qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun1.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang305.ini 0000664 0000000 0000000 00000000723 14716276021 0016244 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin pppoe mpls qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun2.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang306.ini 0000664 0000000 0000000 00000000722 14716276021 0016244 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin l2tp mpls qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun3.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang307.ini 0000664 0000000 0000000 00000000726 14716276021 0016251 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle bridge route hairpin vxlan qemu-img create -f qcow2 -o backing_file=../img/p4bf_brdg2.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang308.ini 0000664 0000000 0000000 00000000734 14716276021 0016251 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin ipip nat pbr flwspc qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun4.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang309.ini 0000664 0000000 0000000 00000000730 14716276021 0016246 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle bridge route hairpin pckoudp qemu-img create -f qcow2 -o backing_file=../img/p4bf_brdg3.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang310.ini 0000664 0000000 0000000 00000000741 14716276021 0016240 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin mpls mroute duplab bier qemu-img create -f qcow2 -o backing_file=../img/p4bf_mcast.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang311.ini 0000664 0000000 0000000 00000000726 14716276021 0016244 0 ustar 00root root 0000000 0000000 tofino vlan bundle route mpls hairpin polka nsh loconn qemu-img create -f qcow2 -o backing_file=../img/p4bf_polka.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang312.ini 0000664 0000000 0000000 00000000712 14716276021 0016240 0 ustar 00root root 0000000 0000000 tofino vlan bundle route acl racl inspect sgt qemu-img create -f qcow2 -o backing_file=../img/p4bf_fw.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang313.ini 0000664 0000000 0000000 00000000714 14716276021 0016243 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin gtp qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun5.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang314.ini 0000664 0000000 0000000 00000000722 14716276021 0016243 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin l3tp mpls qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun6.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang315.ini 0000664 0000000 0000000 00000000722 14716276021 0016244 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle route hairpin tmux mpls qemu-img create -f qcow2 -o backing_file=../img/p4bf_tun7.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang316.ini 0000664 0000000 0000000 00000000730 14716276021 0016244 0 ustar 00root root 0000000 0000000 tofino copp acl vlan bundle bridge route hairpin etherip qemu-img create -f qcow2 -o backing_file=../img/p4bf_brdg4.qcow2,backing_fmt=qcow2 $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 4096 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang4.ini 0000664 0000000 0000000 00000001102 14716276021 0016070 0 ustar 00root root 0000000 0000000 xdp punting route mpls bundle vlan pppoe eompls bridge vpls evpn hairpin sgt loconn pmtud vrfysrc gre l2tp l3tp gtp nsh polka gretap pppoetap l2tptap l3tptap pckoudp vxlan qemu-img create -f qcow2 -o backing_file=../img/p4xdp.img,backing_fmt=raw $fn$ qemu-system-x86_64 -monitor none -serial stdio -nographic -no-reboot -enable-kvm -cpu host -smp cores=2,threads=1,sockets=1 -drive file=$fn$,format=qcow2,cache=unsafe -m 1024 $nc$ 0 -netdev socket,id=n$id$,udp=:$rp$,localaddr=:$lp$ -device virtio-net-pci,netdev=n$id$,mac=$ad$ Router> !!!separator- enable configure terminal freeRtr-24.11.16/cfg/p4lang5.ini 0000664 0000000 0000000 00000000616 14716276021 0016102 0 ustar 00root root 0000000 0000000 udp pckout punting copp acl nat vlan bundle bridge pppoe hairpin gre l2tp route mpls vpls evpn eompls gretap pppoetap l2tptap l3tptap tmuxtap vxlan ipip macsec ipsec pckoudp openvpn wireguard srv6 pbr qos flwspc mroute duplab bier amt nsh racl inspect sgt vrfysrc gtp loconn tcpmss pmtud l3tp tmux etherip polka mpolka ../binTmp/p4udp.bin 127.0.0.1 $cp$ 0 127.0.0.1 127.0.0.1 $nc$ 1 $lp$ $rp$ freeRtr-24.11.16/cfg/p4lang6.ini 0000664 0000000 0000000 00000000670 14716276021 0016103 0 ustar 00root root 0000000 0000000 emudp pckout punting copp acl nat vlan bundle bridge pppoe hairpin gre l2tp route mpls vpls evpn eompls gretap pppoetap l2tptap l3tptap tmuxtap vxlan ipip macsec ipsec pckoudp openvpn wireguard srv6 pbr qos flwspc mroute duplab bier amt nsh racl inspect sgt vrfysrc gtp loconn tcpmss pmtud l3tp tmux etherip polka mpolka ../binDsk/qemu-static -L ../binDsk/ ../binDsk/rtr/p4udp.bin 127.0.0.1 $cp$ 0 127.0.0.1 127.0.0.1 $nc$ 1 $lp$ $rp$ freeRtr-24.11.16/cfg/qos-action01.tst 0000664 0000000 0000000 00000001454 14716276021 0017102 0 ustar 00root root 0000000 0000000 description qos ingress transmit action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 r2 output show policy int eth1 in output ../binTmp/qos-transmit.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action02.tst 0000664 0000000 0000000 00000001115 14716276021 0017075 0 ustar 00root root 0000000 0000000 description qos egress transmit action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-action03.tst 0000664 0000000 0000000 00000001433 14716276021 0017101 0 ustar 00root root 0000000 0000000 description qos ingress drop action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 r2 output show policy int eth1 in output ../binTmp/qos-drop.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action04.tst 0000664 0000000 0000000 00000001100 14716276021 0017071 0 ustar 00root root 0000000 0000000 description qos egress drop action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-action05.tst 0000664 0000000 0000000 00000001677 14716276021 0017115 0 ustar 00root root 0000000 0000000 description qos ingress policer action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pol access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 r2 output show policy int eth1 in output ../binTmp/qos-police.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action06.tst 0000664 0000000 0000000 00000001342 14716276021 0017103 0 ustar 00root root 0000000 0000000 description qos egress policer action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pol access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action07.tst 0000664 0000000 0000000 00000001702 14716276021 0017104 0 ustar 00root root 0000000 0000000 description qos ingress priority action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pri access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 r2 output show policy int eth1 in output ../binTmp/qos-priority.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action08.tst 0000664 0000000 0000000 00000001343 14716276021 0017106 0 ustar 00root root 0000000 0000000 description qos egress priority action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pri access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action09.tst 0000664 0000000 0000000 00000001674 14716276021 0017116 0 ustar 00root root 0000000 0000000 description qos ingress bandwidth action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act ban access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 100 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1234::2 vrf v1 rep 100 tim 500 siz 100 r2 output show policy int eth1 in output ../binTmp/qos-bandwidth.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action10.tst 0000664 0000000 0000000 00000001334 14716276021 0017077 0 ustar 00root root 0000000 0000000 description qos egress bandwidth action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act ban access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 100 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action11.tst 0000664 0000000 0000000 00000002003 14716276021 0017072 0 ustar 00root root 0000000 0000000 description qos ingress shaper action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act sha access-rate 65536 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pol access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 100 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1234::2 vrf v1 rep 100 tim 500 siz 100 r2 output show policy int eth1 in output ../binTmp/qos-shape.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action12.tst 0000664 0000000 0000000 00000001447 14716276021 0017106 0 ustar 00root root 0000000 0000000 description qos egress shaper action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act sha access-rate 65536 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-out p1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pol access-rate 81920 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 100 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 100 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action13.tst 0000664 0000000 0000000 00000002010 14716276021 0017072 0 ustar 00root root 0000000 0000000 description qos ingress hierarchical action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pol access-rate 81920 exit policy-map p2 seq 10 act sha access-rate 163840 service p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p2 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 r2 output show policy int eth1 in output ../binTmp/qos-hqos.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action14.tst 0000664 0000000 0000000 00000001455 14716276021 0017107 0 ustar 00root root 0000000 0000000 description qos egress hierarchical action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pol access-rate 81920 exit policy-map p2 seq 10 act sha access-rate 163840 service p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p2 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action15.tst 0000664 0000000 0000000 00000001667 14716276021 0017115 0 ustar 00root root 0000000 0000000 description qos ingress pps action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pps access-rate 1024 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 r2 output show policy int eth1 in output ../binTmp/qos-pps.html here is the policy:
show:0! freeRtr-24.11.16/cfg/qos-action16.tst 0000664 0000000 0000000 00000001335 14716276021 0017106 0 ustar 00root root 0000000 0000000 description qos egress pps action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act pps access-rate 1024 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action17.tst 0000664 0000000 0000000 00000001256 14716276021 0017111 0 ustar 00root root 0000000 0000000 description qos ingress rate limit action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: rate-limit-in 819 100 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action18.tst 0000664 0000000 0000000 00000001256 14716276021 0017112 0 ustar 00root root 0000000 0000000 description qos egress rate limit action addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: rate-limit-out 819 100 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-action19.tst 0000664 0000000 0000000 00000002633 14716276021 0017113 0 ustar 00root root 0000000 0000000 description qos ingress divert action addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ int ser3 ser - $3a$ $3b$ int ser4 ser - $4a$ $4b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 exit vrf def v3 rd 1:3 exit vrf def v4 rd 1:4 exit policy-map p1 seq 10 act trans set vrf v4 exit policy-map p2 seq 10 act trans set vrf v2 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int ser2 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser3 vrf for v3 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p2 exit int ser4 vrf for v4 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser - $3b$ $3a$ int ser2 ser - $4b$ $4a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: exit ! r3 tping 100 15 1.1.1.1 vrf v1 siz 200 r3 tping 100 15 1234::1 vrf v1 siz 200 r1 tping 100 15 1.1.1.3 vrf v1 siz 200 r1 tping 100 15 1234::3 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp01.tst 0000664 0000000 0000000 00000001115 14716276021 0016560 0 ustar 00root root 0000000 0000000 description qos ingress transmit copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act trans exit vrf def v1 rd 1:1 copp4in p1 copp6in p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp02.tst 0000664 0000000 0000000 00000001116 14716276021 0016562 0 ustar 00root root 0000000 0000000 description qos egress transmit copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act trans exit vrf def v1 rd 1:1 copp4out p1 copp6out p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp03.tst 0000664 0000000 0000000 00000001100 14716276021 0016554 0 ustar 00root root 0000000 0000000 description qos ingress drop copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act drop exit vrf def v1 rd 1:1 copp4in p1 copp6in p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp04.tst 0000664 0000000 0000000 00000001101 14716276021 0016556 0 ustar 00root root 0000000 0000000 description qos egress drop copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act drop exit vrf def v1 rd 1:1 copp4out p1 copp6out p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp05.tst 0000664 0000000 0000000 00000001342 14716276021 0016566 0 ustar 00root root 0000000 0000000 description qos ingress policer copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pol access-rate 81920 exit vrf def v1 rd 1:1 copp4in p1 copp6in p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp06.tst 0000664 0000000 0000000 00000001343 14716276021 0016570 0 ustar 00root root 0000000 0000000 description qos egress policer copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pol access-rate 81920 exit vrf def v1 rd 1:1 copp4out p1 copp6out p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp07.tst 0000664 0000000 0000000 00000001101 14716276021 0016561 0 ustar 00root root 0000000 0000000 description qos transmit dapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act trans exit vrf def v1 rd 1:1 dapp4 p1 dapp6 p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp08.tst 0000664 0000000 0000000 00000001064 14716276021 0016572 0 ustar 00root root 0000000 0000000 description qos drop dapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act drop exit vrf def v1 rd 1:1 dapp4 p1 dapp6 p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp09.tst 0000664 0000000 0000000 00000001327 14716276021 0016575 0 ustar 00root root 0000000 0000000 description qos policer dapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pol access-rate 163840 exit vrf def v1 rd 1:1 dapp4 p1 dapp6 p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp10.tst 0000664 0000000 0000000 00000001330 14716276021 0016557 0 ustar 00root root 0000000 0000000 description qos priority dapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pri access-rate 163840 exit vrf def v1 rd 1:1 dapp4 p1 dapp6 p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp11.tst 0000664 0000000 0000000 00000001552 14716276021 0016566 0 ustar 00root root 0000000 0000000 description qos transmit flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act trans match access-group a4 exit policy-map p6 seq 10 act trans match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp12.tst 0000664 0000000 0000000 00000001534 14716276021 0016567 0 ustar 00root root 0000000 0000000 description qos drop flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act drop match access-group a4 exit policy-map p6 seq 10 act drop match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp13.tst 0000664 0000000 0000000 00000002023 14716276021 0016562 0 ustar 00root root 0000000 0000000 description qos policer flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act pol access-rate 163840 match access-group a4 exit policy-map p6 seq 10 act pol access-rate 163840 match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp14.tst 0000664 0000000 0000000 00000002024 14716276021 0016564 0 ustar 00root root 0000000 0000000 description qos priority flowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act pri access-rate 163840 match access-group a4 exit policy-map p6 seq 10 act pri access-rate 163840 match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p4 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p6 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp15.tst 0000664 0000000 0000000 00000001731 14716276021 0016571 0 ustar 00root root 0000000 0000000 description qos transmit otherflowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act trans match access-group a4 exit policy-map p6 seq 10 act trans match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p6 exit router bgp6 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p4 exit ! r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp16.tst 0000664 0000000 0000000 00000001713 14716276021 0016572 0 ustar 00root root 0000000 0000000 description qos drop otherflowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act drop match access-group a4 exit policy-map p6 seq 10 act drop match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p6 exit router bgp6 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p4 exit ! r2 tping 0 5 1.1.1.1 vrf v1 siz 200 r2 tping 0 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 200 r1 tping 0 5 1234::2 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp17.tst 0000664 0000000 0000000 00000002202 14716276021 0016565 0 ustar 00root root 0000000 0000000 description qos policer otherflowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act pol access-rate 163840 match access-group a4 exit policy-map p6 seq 10 act pol access-rate 163840 match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p6 exit router bgp6 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p4 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp18.tst 0000664 0000000 0000000 00000002203 14716276021 0016567 0 ustar 00root root 0000000 0000000 description qos priority otherflowspec addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p4 seq 10 act pri access-rate 163840 match access-group a4 exit policy-map p6 seq 10 act pri access-rate 163840 match access-group a6 exit vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p6 exit router bgp6 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p4 exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp19.tst 0000664 0000000 0000000 00000001335 14716276021 0016575 0 ustar 00root root 0000000 0000000 description qos ingress pps copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pps access-rate 1024 exit vrf def v1 rd 1:1 copp4in p1 copp6in p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp20.tst 0000664 0000000 0000000 00000001336 14716276021 0016566 0 ustar 00root root 0000000 0000000 description qos egress pps copp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pps access-rate 1024 exit vrf def v1 rd 1:1 copp4out p1 copp6out p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp21.tst 0000664 0000000 0000000 00000001321 14716276021 0016561 0 ustar 00root root 0000000 0000000 description qos pps dapp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! policy-map p1 seq 10 act pps access-rate 2048 exit vrf def v1 rd 1:1 dapp4 p1 dapp6 p1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r2 tping 85-95 5 1.1.1.1 vrf v1 rep 100 tim 500 siz 100 r2 tping 85-95 5 1234::1 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1.1.1.2 vrf v1 rep 100 tim 500 siz 100 r1 tping 85-95 5 1234::2 vrf v1 rep 100 tim 500 siz 100 freeRtr-24.11.16/cfg/qos-copp22.tst 0000664 0000000 0000000 00000002615 14716276021 0016571 0 ustar 00root root 0000000 0000000 description qos divert dapp addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ int ser3 ser - $3a$ $3b$ int ser4 ser - $4a$ $4b$ ! vrf def v2 rd 1:2 exit vrf def v4 rd 1:4 exit policy-map p1 seq 10 act trans set vrf v4 exit policy-map p2 seq 10 act trans set vrf v2 exit vrf def v1 rd 1:1 dapp4 p1 dapp6 p1 exit vrf def v3 rd 1:3 dapp4 p2 dapp6 p2 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser2 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser3 vrf for v3 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser4 vrf for v4 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! addrouter r3 int ser1 ser - $3b$ $3a$ int ser2 ser - $4b$ $4a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: exit ! r3 tping 100 15 1.1.1.1 vrf v1 siz 200 r3 tping 100 15 1234::1 vrf v1 siz 200 r1 tping 100 15 1.1.1.3 vrf v1 siz 200 r1 tping 100 15 1234::3 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp23.tst 0000664 0000000 0000000 00000003626 14716276021 0016575 0 ustar 00root root 0000000 0000000 description qos divert flowspec addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ int ser3 ser - $3a$ $3b$ int ser4 ser - $4a$ $4b$ ! vrf def v1 rd 1:1 exit vrf def v3 rd 1:3 exit vrf def v2 rd 1:2 exit vrf def v4 rd 1:4 exit access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p1 seq 10 act trans match access-group a4 set vrf v4 exit policy-map p2 seq 10 act trans match access-group a4 set vrf v2 exit policy-map p3 seq 10 act trans match access-group a6 set vrf v4 exit policy-map p4 seq 10 act trans match access-group a6 set vrf v2 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser2 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser3 vrf for v3 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser4 vrf for v4 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 flowspec-install flowspec-advert p1 exit router bgp6 1 vrf v1 flowspec-install flowspec-advert p3 exit router bgp4 3 vrf v3 flowspec-install flowspec-advert p2 exit router bgp6 3 vrf v3 flowspec-install flowspec-advert p4 exit ! addrouter r3 int ser1 ser - $3b$ $3a$ int ser2 ser - $4b$ $4a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: exit ! r3 tping 100 15 1.1.1.1 vrf v1 siz 200 r3 tping 100 15 1234::1 vrf v1 siz 200 r1 tping 100 15 1.1.1.3 vrf v1 siz 200 r1 tping 100 15 1234::3 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-copp24.tst 0000664 0000000 0000000 00000004157 14716276021 0016576 0 ustar 00root root 0000000 0000000 description qos divert otherflowspec addrouter r1 int ser1 ser - $1a$ $1b$ int ser2 ser - $2a$ $2b$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2b$ $2a$ int ser3 ser - $3a$ $3b$ int ser4 ser - $4a$ $4b$ ! vrf def v1 rd 1:1 exit vrf def v3 rd 1:3 exit vrf def v2 rd 1:2 exit vrf def v4 rd 1:4 exit access-list a4 permit 1 any all any all exit access-list a6 permit 58 any all any all exit policy-map p1 seq 10 act trans match access-group a4 set vrf v4 exit policy-map p2 seq 10 act trans match access-group a4 set vrf v2 exit policy-map p3 seq 10 act trans match access-group a6 set vrf v4 exit policy-map p4 seq 10 act trans match access-group a6 set vrf v2 exit int ser1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser2 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser3 vrf for v3 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int ser4 vrf for v4 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit router bgp4 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p3 exit router bgp6 1 vrf v1 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p1 exit router bgp4 3 vrf v3 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p4 exit router bgp6 3 vrf v3 afi-other ena no afi-other vpn afi-other flowspec-install afi-other flowspec-advert p2 exit ! addrouter r3 int ser1 ser - $3b$ $3a$ int ser2 ser - $4b$ $4a$ ! vrf def v1 rd 1:1 exit int ser1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit int ser2 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: exit ! r3 tping 100 15 1.1.1.1 vrf v1 siz 200 r3 tping 100 15 1234::1 vrf v1 siz 200 r1 tping 100 15 1.1.1.3 vrf v1 siz 200 r1 tping 100 15 1234::3 vrf v1 siz 200 freeRtr-24.11.16/cfg/qos-match01.tst 0000664 0000000 0000000 00000002532 14716276021 0016717 0 ustar 00root root 0000000 0000000 description qos ingress length matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match length 300-500 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-match02.tst 0000664 0000000 0000000 00000002533 14716276021 0016721 0 ustar 00root root 0000000 0000000 description qos egress length matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match length 300-500 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-match03.tst 0000664 0000000 0000000 00000002267 14716276021 0016726 0 ustar 00root root 0000000 0000000 description qos ingress tos matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match tos 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 tos 124 r3 tping 100 5 1.1.1.1 vrf v1 tos 124 r1 tping 100 5 4321::2 vrf v1 tos 124 r3 tping 100 5 1234::1 vrf v1 tos 124 r1 tping 0 5 2.2.2.2 vrf v1 tos 123 r3 tping 0 5 1.1.1.1 vrf v1 tos 123 r1 tping 0 5 4321::2 vrf v1 tos 123 r3 tping 0 5 1234::1 vrf v1 tos 123 freeRtr-24.11.16/cfg/qos-match04.tst 0000664 0000000 0000000 00000002270 14716276021 0016721 0 ustar 00root root 0000000 0000000 description qos egress tos matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match tos 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 tos 124 r3 tping 100 5 1.1.1.1 vrf v1 tos 124 r1 tping 100 5 4321::2 vrf v1 tos 124 r3 tping 100 5 1234::1 vrf v1 tos 124 r1 tping 0 5 2.2.2.2 vrf v1 tos 123 r3 tping 0 5 1.1.1.1 vrf v1 tos 123 r1 tping 0 5 4321::2 vrf v1 tos 123 r3 tping 0 5 1234::1 vrf v1 tos 123 freeRtr-24.11.16/cfg/qos-match05.tst 0000664 0000000 0000000 00000002260 14716276021 0016721 0 ustar 00root root 0000000 0000000 description qos ingress dscp matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match dscp 12 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 tos 47 r3 tping 100 5 1.1.1.1 vrf v1 tos 47 r1 tping 100 5 4321::2 vrf v1 tos 47 r3 tping 100 5 1234::1 vrf v1 tos 47 r1 tping 0 5 2.2.2.2 vrf v1 tos 48 r3 tping 0 5 1.1.1.1 vrf v1 tos 48 r1 tping 0 5 4321::2 vrf v1 tos 48 r3 tping 0 5 1234::1 vrf v1 tos 48 freeRtr-24.11.16/cfg/qos-match06.tst 0000664 0000000 0000000 00000002261 14716276021 0016723 0 ustar 00root root 0000000 0000000 description qos egress dscp matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match dscp 12 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 tos 47 r3 tping 100 5 1.1.1.1 vrf v1 tos 47 r1 tping 100 5 4321::2 vrf v1 tos 47 r3 tping 100 5 1234::1 vrf v1 tos 47 r1 tping 0 5 2.2.2.2 vrf v1 tos 48 r3 tping 0 5 1.1.1.1 vrf v1 tos 48 r1 tping 0 5 4321::2 vrf v1 tos 48 r3 tping 0 5 1234::1 vrf v1 tos 48 freeRtr-24.11.16/cfg/qos-match07.tst 0000664 0000000 0000000 00000002257 14716276021 0016731 0 ustar 00root root 0000000 0000000 description qos ingress prec matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match prec 2 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 tos 63 r3 tping 100 5 1.1.1.1 vrf v1 tos 63 r1 tping 100 5 4321::2 vrf v1 tos 63 r3 tping 100 5 1234::1 vrf v1 tos 63 r1 tping 0 5 2.2.2.2 vrf v1 tos 64 r3 tping 0 5 1.1.1.1 vrf v1 tos 64 r1 tping 0 5 4321::2 vrf v1 tos 64 r3 tping 0 5 1234::1 vrf v1 tos 64 freeRtr-24.11.16/cfg/qos-match08.tst 0000664 0000000 0000000 00000002260 14716276021 0016724 0 ustar 00root root 0000000 0000000 description qos egress prec matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match prec 2 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 tos 63 r3 tping 100 5 1.1.1.1 vrf v1 tos 63 r1 tping 100 5 4321::2 vrf v1 tos 63 r3 tping 100 5 1234::1 vrf v1 tos 63 r1 tping 0 5 2.2.2.2 vrf v1 tos 64 r3 tping 0 5 1.1.1.1 vrf v1 tos 64 r1 tping 0 5 4321::2 vrf v1 tos 64 r3 tping 0 5 1234::1 vrf v1 tos 64 freeRtr-24.11.16/cfg/qos-match09.tst 0000664 0000000 0000000 00000002771 14716276021 0016734 0 ustar 00root root 0000000 0000000 description qos ingress acl matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access a1 permit all 1.1.1.1 255.255.255.255 all 2.2.2.2 255.255.255.255 all permit all 2.2.2.2 255.255.255.255 all 1.1.1.1 255.255.255.255 all permit all 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act drop match access a1 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r2 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 4321::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r3 tping 0 5 1.1.1.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r3 tping 0 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/qos-match10.tst 0000664 0000000 0000000 00000002772 14716276021 0016725 0 ustar 00root root 0000000 0000000 description qos egress acl matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access a1 permit all 1.1.1.1 255.255.255.255 all 2.2.2.2 255.255.255.255 all permit all 2.2.2.2 255.255.255.255 all 1.1.1.1 255.255.255.255 all permit all 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all permit all 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit policy-map p1 seq 10 act drop match access a1 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r2 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 4321::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r3 tping 0 5 1.1.1.1 vrf v1 r1 tping 0 5 4321::2 vrf v1 r3 tping 0 5 1234::1 vrf v1 freeRtr-24.11.16/cfg/qos-match11.tst 0000664 0000000 0000000 00000001311 14716276021 0016712 0 ustar 00root root 0000000 0000000 description qos ingress ethertype matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match ethtyp 34525 seq 20 act drop exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: service-policy-in p1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit ! r1 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 3333::1 vrf v1 r2 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3333::2 vrf v1 r2 tping 0 5 3.3.3.1 vrf v1 r2 tping 100 5 3333::1 vrf v1 r1 tping 0 5 3.3.3.2 vrf v1 r1 tping 100 5 3333::2 vrf v1 freeRtr-24.11.16/cfg/qos-match12.tst 0000664 0000000 0000000 00000001311 14716276021 0016713 0 ustar 00root root 0000000 0000000 description qos egress ethertype matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match ethtyp 34525 seq 20 act drop exit int eth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: service-policy-out p1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit ! r1 tping 100 5 3.3.3.1 vrf v1 r1 tping 100 5 3333::1 vrf v1 r2 tping 100 5 3.3.3.2 vrf v1 r2 tping 100 5 3333::2 vrf v1 r2 tping 0 5 3.3.3.1 vrf v1 r2 tping 100 5 3333::1 vrf v1 r1 tping 0 5 3.3.3.2 vrf v1 r1 tping 100 5 3333::2 vrf v1 freeRtr-24.11.16/cfg/qos-match13.tst 0000664 0000000 0000000 00000003330 14716276021 0016717 0 ustar 00root root 0000000 0000000 description qos ingress matcher on bridged traffic addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit policy-map p1 seq 10 act drop match length 300-500 seq 20 act trans exit int eth1 bridge-gr 1 service-policy-in p1 exit int eth2 bridge-gr 1 service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 1234::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 1.1.1.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 1234::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 r2 tping 100 5 1.1.1.2 vrf v1 siz 200 r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::2 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r2 tping 0 5 1.1.1.2 vrf v1 siz 400 r2 tping 0 5 1.1.1.1 vrf v1 siz 400 r2 tping 0 5 1234::2 vrf v1 siz 400 r2 tping 0 5 1234::1 vrf v1 siz 400 r2 tping 100 5 1.1.1.2 vrf v1 siz 600 r2 tping 100 5 1.1.1.1 vrf v1 siz 600 r2 tping 100 5 1234::2 vrf v1 siz 600 r2 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-match14.tst 0000664 0000000 0000000 00000003331 14716276021 0016721 0 ustar 00root root 0000000 0000000 description qos egress matcher on bridged traffic addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: exit policy-map p1 seq 10 act drop match length 300-500 seq 20 act trans exit int eth1 bridge-gr 1 service-policy-out p1 exit int eth2 bridge-gr 1 service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 1234::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 1.1.1.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 1234::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 1.1.1.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 1234::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 r2 tping 100 5 1.1.1.2 vrf v1 siz 200 r2 tping 100 5 1.1.1.1 vrf v1 siz 200 r2 tping 100 5 1234::2 vrf v1 siz 200 r2 tping 100 5 1234::1 vrf v1 siz 200 r2 tping 0 5 1.1.1.2 vrf v1 siz 400 r2 tping 0 5 1.1.1.1 vrf v1 siz 400 r2 tping 0 5 1234::2 vrf v1 siz 400 r2 tping 0 5 1234::1 vrf v1 siz 400 r2 tping 100 5 1.1.1.2 vrf v1 siz 600 r2 tping 100 5 1.1.1.1 vrf v1 siz 600 r2 tping 100 5 1234::2 vrf v1 siz 600 r2 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-match15.tst 0000664 0000000 0000000 00000002524 14716276021 0016725 0 ustar 00root root 0000000 0000000 description qos ingress ttl matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match ttl 110-120 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 ttl 100 r3 tping 100 5 1.1.1.1 vrf v1 ttl 100 r1 tping 100 5 4321::2 vrf v1 ttl 100 r3 tping 100 5 1234::1 vrf v1 ttl 100 r1 tping 0 5 2.2.2.2 vrf v1 ttl 115 r3 tping 0 5 1.1.1.1 vrf v1 ttl 115 r1 tping 0 5 4321::2 vrf v1 ttl 115 r3 tping 0 5 1234::1 vrf v1 ttl 115 r1 tping 100 5 2.2.2.2 vrf v1 ttl 125 r3 tping 100 5 1.1.1.1 vrf v1 ttl 125 r1 tping 100 5 4321::2 vrf v1 ttl 125 r3 tping 100 5 1234::1 vrf v1 ttl 125 freeRtr-24.11.16/cfg/qos-match16.tst 0000664 0000000 0000000 00000002525 14716276021 0016727 0 ustar 00root root 0000000 0000000 description qos egress ttl matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match ttl 110-120 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 ttl 100 r3 tping 100 5 1.1.1.1 vrf v1 ttl 100 r1 tping 100 5 4321::2 vrf v1 ttl 100 r3 tping 100 5 1234::1 vrf v1 ttl 100 r1 tping 0 5 2.2.2.2 vrf v1 ttl 115 r3 tping 0 5 1.1.1.1 vrf v1 ttl 115 r1 tping 0 5 4321::2 vrf v1 ttl 115 r3 tping 0 5 1234::1 vrf v1 ttl 115 r1 tping 100 5 2.2.2.2 vrf v1 ttl 125 r3 tping 100 5 1.1.1.1 vrf v1 ttl 125 r1 tping 100 5 4321::2 vrf v1 ttl 125 r3 tping 100 5 1234::1 vrf v1 ttl 125 freeRtr-24.11.16/cfg/qos-match17.tst 0000664 0000000 0000000 00000002301 14716276021 0016720 0 ustar 00root root 0000000 0000000 description qos ingress flow matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match flow 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 flow 124 r3 tping 100 5 1.1.1.1 vrf v1 flow 124 r1 tping 100 5 4321::2 vrf v1 flow 124 r3 tping 100 5 1234::1 vrf v1 flow 124 r1 tping 0 5 2.2.2.2 vrf v1 flow 123 r3 tping 0 5 1.1.1.1 vrf v1 flow 123 r1 tping 0 5 4321::2 vrf v1 flow 123 r3 tping 0 5 1234::1 vrf v1 flow 123 freeRtr-24.11.16/cfg/qos-match18.tst 0000664 0000000 0000000 00000002302 14716276021 0016722 0 ustar 00root root 0000000 0000000 description qos egress flow matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match flow 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 flow 124 r3 tping 100 5 1.1.1.1 vrf v1 flow 124 r1 tping 100 5 4321::2 vrf v1 flow 124 r3 tping 100 5 1234::1 vrf v1 flow 124 r1 tping 0 5 2.2.2.2 vrf v1 flow 123 r3 tping 0 5 1.1.1.1 vrf v1 flow 123 r1 tping 0 5 4321::2 vrf v1 flow 123 r3 tping 0 5 1234::1 vrf v1 flow 123 freeRtr-24.11.16/cfg/qos-match19.tst 0000664 0000000 0000000 00000002204 14716276021 0016724 0 ustar 00root root 0000000 0000000 description qos ingress sgt matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: sgt ena exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: sgt ass 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r2 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 4321::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.1 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 4321::1 vrf v1 r1 tping 0 5 4321::2 vrf v1 freeRtr-24.11.16/cfg/qos-match20.tst 0000664 0000000 0000000 00000002204 14716276021 0016714 0 ustar 00root root 0000000 0000000 description qos egress sgt matcher addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: sgt ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 sgt ena exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: sgt ass 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r2 tping 100 5 2.2.2.2 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 4321::2 vrf v1 r2 tping 100 5 1234::1 vrf v1 r1 tping 100 5 2.2.2.1 vrf v1 r1 tping 0 5 2.2.2.2 vrf v1 r1 tping 100 5 4321::1 vrf v1 r1 tping 0 5 4321::2 vrf v1 freeRtr-24.11.16/cfg/qos-set01.tst 0000664 0000000 0000000 00000002740 14716276021 0016417 0 ustar 00root root 0000000 0000000 description qos ingress qosgroup set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set qos 12345 seq 20 act trans exit policy-map p2 seq 10 act drop match qos 12345 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 service-policy-out p2 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 service-policy-out p2 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set02.tst 0000664 0000000 0000000 00000003052 14716276021 0016415 0 ustar 00root root 0000000 0000000 description qos ingress tos set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match tos 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set tos 123 seq 20 act trans set tos 122 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match tos 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set03.tst 0000664 0000000 0000000 00000003053 14716276021 0016417 0 ustar 00root root 0000000 0000000 description qos egress tos set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match tos 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set tos 123 seq 20 act trans set tos 122 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match tos 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set04.tst 0000664 0000000 0000000 00000003053 14716276021 0016420 0 ustar 00root root 0000000 0000000 description qos ingress dscp set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match dscp 12 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set dscp 12 seq 20 act trans set dscp 11 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match dscp 12 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set05.tst 0000664 0000000 0000000 00000003054 14716276021 0016422 0 ustar 00root root 0000000 0000000 description qos egress dscp set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match dscp 12 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set dscp 12 seq 20 act trans set dscp 11 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match dscp 12 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set06.tst 0000664 0000000 0000000 00000003047 14716276021 0016425 0 ustar 00root root 0000000 0000000 description qos ingress prec set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match prec 4 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set prec 4 seq 20 act trans set prec 5 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match prec 4 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set07.tst 0000664 0000000 0000000 00000003050 14716276021 0016420 0 ustar 00root root 0000000 0000000 description qos egress prec set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match prec 4 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set prec 4 seq 20 act trans set prec 5 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match prec 4 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set08.tst 0000664 0000000 0000000 00000003144 14716276021 0016425 0 ustar 00root root 0000000 0000000 description qos cos set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match cos 4 seq 20 act trans exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int eth1 service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set cos 4 seq 20 act trans set cos 5 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth1 service-policy-out p1 exit int eth2.11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit int eth2 service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match cos 4 seq 20 act trans exit int eth1.11 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit int eth1 service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set09.tst 0000664 0000000 0000000 00000004623 14716276021 0016431 0 ustar 00root root 0000000 0000000 description qos ingress exp set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit policy-map p1 seq 10 act drop match exp 4 seq 20 act trans exit int lo0 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-in p1 exit ipv4 route v1 3.3.3.2 255.255.255.255 1.1.1.2 ipv6 route v1 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit policy-map p1 seq 10 act trans match length 300-500 set exp 4 seq 20 act trans set exp 5 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-in p1 exit ipv4 route v1 3.3.3.1 255.255.255.255 1.1.1.1 ipv6 route v1 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 route v1 3.3.3.2 255.255.255.255 2.2.2.2 ipv6 route v1 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit policy-map p1 seq 10 act drop match exp 4 seq 20 act trans exit int lo0 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-in p1 exit ipv4 route v1 3.3.3.1 255.255.255.255 2.2.2.1 ipv6 route v1 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::1 ! r1 tping 100 5 3.3.3.2 vrf v1 sou lo0 siz 200 r3 tping 100 5 3.3.3.1 vrf v1 sou lo0 siz 200 r1 tping 100 5 3333::2 vrf v1 sou lo0 siz 200 r3 tping 100 5 3333::1 vrf v1 sou lo0 siz 200 r1 tping 0 15 3.3.3.2 vrf v1 sou lo0 siz 400 r3 tping 0 15 3.3.3.1 vrf v1 sou lo0 siz 400 r1 tping 0 15 3333::2 vrf v1 sou lo0 siz 400 r3 tping 0 15 3333::1 vrf v1 sou lo0 siz 400 r1 tping 100 5 3.3.3.2 vrf v1 sou lo0 siz 600 r3 tping 100 5 3.3.3.1 vrf v1 sou lo0 siz 600 r1 tping 100 5 3333::2 vrf v1 sou lo0 siz 600 r3 tping 100 5 3333::1 vrf v1 sou lo0 siz 600 freeRtr-24.11.16/cfg/qos-set10.tst 0000664 0000000 0000000 00000004624 14716276021 0016422 0 ustar 00root root 0000000 0000000 description qos egress exp set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit policy-map p1 seq 10 act drop match exp 4 seq 20 act trans exit int lo0 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-in p1 exit ipv4 route v1 3.3.3.2 255.255.255.255 1.1.1.2 ipv6 route v1 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit policy-map p1 seq 10 act trans match length 300-500 set exp 4 seq 20 act trans set exp 5 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-out p1 exit ipv4 route v1 3.3.3.1 255.255.255.255 1.1.1.1 ipv6 route v1 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::1 ipv4 route v1 3.3.3.2 255.255.255.255 2.2.2.2 ipv6 route v1 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit policy-map p1 seq 10 act drop match exp 4 seq 20 act trans exit int lo0 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: mpls enable mpls ldp4 mpls ldp6 service-policy-in p1 exit ipv4 route v1 3.3.3.1 255.255.255.255 2.2.2.1 ipv6 route v1 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::1 ! r1 tping 100 5 3.3.3.2 vrf v1 sou lo0 siz 200 r3 tping 100 5 3.3.3.1 vrf v1 sou lo0 siz 200 r1 tping 100 5 3333::2 vrf v1 sou lo0 siz 200 r3 tping 100 5 3333::1 vrf v1 sou lo0 siz 200 r1 tping 0 15 3.3.3.2 vrf v1 sou lo0 siz 400 r3 tping 0 15 3.3.3.1 vrf v1 sou lo0 siz 400 r1 tping 0 15 3333::2 vrf v1 sou lo0 siz 400 r3 tping 0 15 3333::1 vrf v1 sou lo0 siz 400 r1 tping 100 5 3.3.3.2 vrf v1 sou lo0 siz 600 r3 tping 100 5 3.3.3.1 vrf v1 sou lo0 siz 600 r1 tping 100 5 3333::2 vrf v1 sou lo0 siz 600 r3 tping 100 5 3333::1 vrf v1 sou lo0 siz 600 freeRtr-24.11.16/cfg/qos-set11.tst 0000664 0000000 0000000 00000003061 14716276021 0016415 0 ustar 00root root 0000000 0000000 description qos ingress ttl set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match ttl 100-150 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set ttl 123 seq 20 act trans set ttl 12 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match ttl 100-150 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set12.tst 0000664 0000000 0000000 00000003062 14716276021 0016417 0 ustar 00root root 0000000 0000000 description qos egress ttl set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match ttl 100-150 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set ttl 123 seq 20 act trans set ttl 12 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match ttl 100-150 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set13.tst 0000664 0000000 0000000 00000003057 14716276021 0016424 0 ustar 00root root 0000000 0000000 description qos ingress flow set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match flow 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set flow 123 seq 20 act trans set flow 122 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match flow 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set14.tst 0000664 0000000 0000000 00000003060 14716276021 0016417 0 ustar 00root root 0000000 0000000 description qos egress flow set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match flow 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set flow 123 seq 20 act trans set flow 122 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match flow 123 seq 20 act trans exit int eth1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set15.tst 0000664 0000000 0000000 00000003116 14716276021 0016422 0 ustar 00root root 0000000 0000000 description qos ingress sgt set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-in p1 exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-in p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/qos-set16.tst 0000664 0000000 0000000 00000003117 14716276021 0016424 0 ustar 00root root 0000000 0000000 description qos egress sgt set addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act trans match length 300-500 set sgt 123 seq 20 act trans set sgt 122 exit int eth1 sgt ena vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: service-policy-out p1 exit int eth2 sgt ena vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: service-policy-out p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit policy-map p1 seq 10 act drop match sgt 123 seq 20 act trans exit int eth1 sgt ena vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: service-policy-in p1 exit ipv4 route v1 0.0.0.0 0.0.0.0 2.2.2.1 ipv6 route v1 :: :: 4321::1 ! r1 tping 100 5 2.2.2.2 vrf v1 siz 200 r3 tping 100 5 1.1.1.1 vrf v1 siz 200 r1 tping 100 5 4321::2 vrf v1 siz 200 r3 tping 100 5 1234::1 vrf v1 siz 200 r1 tping 0 5 2.2.2.2 vrf v1 siz 400 r3 tping 0 5 1.1.1.1 vrf v1 siz 400 r1 tping 0 5 4321::2 vrf v1 siz 400 r3 tping 0 5 1234::1 vrf v1 siz 400 r1 tping 100 5 2.2.2.2 vrf v1 siz 600 r3 tping 100 5 1.1.1.1 vrf v1 siz 600 r1 tping 100 5 4321::2 vrf v1 siz 600 r3 tping 100 5 1234::1 vrf v1 siz 600 freeRtr-24.11.16/cfg/rout-babel01.tst 0000664 0000000 0000000 00000006023 14716276021 0017056 0 ustar 00root root 0000000 0000000 description babel on one subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0003 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0004 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0004 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 2.2.2.4 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 4321::4 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 2.2.2.4 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r2 tping 100 130 4321::4 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 2.2.2.4 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r3 tping 100 130 4321::4 vrf v1 r4 tping 100 130 2.2.2.1 vrf v1 r4 tping 100 130 2.2.2.2 vrf v1 r4 tping 100 130 2.2.2.3 vrf v1 r4 tping 100 130 4321::1 vrf v1 r4 tping 100 130 4321::2 vrf v1 r4 tping 100 130 4321::3 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel02.tst 0000664 0000000 0000000 00000007136 14716276021 0017065 0 ustar 00root root 0000000 0000000 description babel in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0003 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0004 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0004 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 2.2.2.4 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 4321::4 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 2.2.2.4 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r2 tping 100 130 4321::4 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 2.2.2.4 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r3 tping 100 130 4321::4 vrf v1 r4 tping 100 130 2.2.2.1 vrf v1 r4 tping 100 130 2.2.2.2 vrf v1 r4 tping 100 130 2.2.2.3 vrf v1 r4 tping 100 130 4321::1 vrf v1 r4 tping 100 130 4321::2 vrf v1 r4 tping 100 130 4321::3 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-babel.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-babel03.tst 0000664 0000000 0000000 00000004410 14716276021 0017056 0 ustar 00root root 0000000 0000000 description babel ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 prefix-list-in p4 router babel6 1 prefix-list-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel04.tst 0000664 0000000 0000000 00000004411 14716276021 0017060 0 ustar 00root root 0000000 0000000 description babel egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 prefix-list-out p4 router babel6 1 prefix-list-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel05.tst 0000664 0000000 0000000 00000004512 14716276021 0017063 0 ustar 00root root 0000000 0000000 description babel ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-in p4 router babel6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel06.tst 0000664 0000000 0000000 00000004513 14716276021 0017065 0 ustar 00root root 0000000 0000000 description babel egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-out p4 router babel6 1 route-map-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel07.tst 0000664 0000000 0000000 00000004361 14716276021 0017067 0 ustar 00root root 0000000 0000000 description babel ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-policy-in p4 router babel6 1 route-policy-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel08.tst 0000664 0000000 0000000 00000004362 14716276021 0017071 0 ustar 00root root 0000000 0000000 description babel egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-policy-out p4 router babel6 1 route-policy-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel09.tst 0000664 0000000 0000000 00000004713 14716276021 0017072 0 ustar 00root root 0000000 0000000 description babel max metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 set metric +40000 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-in rm1 router babel6 1 route-map-in rm1 router babel4 1 route-map-out rm1 router babel6 1 route-map-out rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-in rm1 router babel6 1 route-map-in rm1 router babel4 1 route-map-out rm1 router babel6 1 route-map-out rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0003 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 0 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 4321::3 vrf v1 r3 tping 0 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 0 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel10.tst 0000664 0000000 0000000 00000004257 14716276021 0017065 0 ustar 00root root 0000000 0000000 description babel address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena router babel4 1 suppress-prefix router babel6 1 suppress-prefix exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel11.tst 0000664 0000000 0000000 00000004063 14716276021 0017061 0 ustar 00root root 0000000 0000000 description babel default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 default-originate router babel6 1 default-originate exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel12.tst 0000664 0000000 0000000 00000006223 14716276021 0017062 0 ustar 00root root 0000000 0000000 description babel incoming interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 metric-in 40000 router babel6 1 metric-in 40000 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 exit router babel6 1 vrf v1 router 1111-2222-3333-0003 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel13.tst 0000664 0000000 0000000 00000006225 14716276021 0017065 0 ustar 00root root 0000000 0000000 description babel outgoing interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 exit router babel6 1 vrf v1 router 1111-2222-3333-0003 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 metric-out 40000 router babel6 1 metric-out 40000 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel14.tst 0000664 0000000 0000000 00000006300 14716276021 0017060 0 ustar 00root root 0000000 0000000 description babel incoming metric with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 set metric +40000 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-in rm1 router babel6 1 route-map-in rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 exit router babel6 1 vrf v1 router 1111-2222-3333-0003 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel15.tst 0000664 0000000 0000000 00000006302 14716276021 0017063 0 ustar 00root root 0000000 0000000 description babel outgoing metric with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 exit router babel6 1 vrf v1 router 1111-2222-3333-0003 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit route-map rm1 set metric +40000 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-out rm1 router babel6 1 route-map-out rm1 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel16.tst 0000664 0000000 0000000 00000006322 14716276021 0017066 0 ustar 00root root 0000000 0000000 description babel incoming metric with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy rm1 set metric +40000 pass exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-policy-in rm1 router babel6 1 route-policy-in rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 exit router babel6 1 vrf v1 router 1111-2222-3333-0003 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel17.tst 0000664 0000000 0000000 00000006324 14716276021 0017071 0 ustar 00root root 0000000 0000000 description babel outgoing metric with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 exit router babel6 1 vrf v1 router 1111-2222-3333-0003 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit route-policy rm1 set metric +40000 pass exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-policy-out rm1 router babel6 1 route-policy-out rm1 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel18.tst 0000664 0000000 0000000 00000004630 14716276021 0017070 0 ustar 00root root 0000000 0000000 description babel with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router babel4 1 ena router babel4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router babel6 1 ena router babel6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router babel4 1 ena router babel4 1 bfd router babel4 1 dista 140 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router babel6 1 ena router babel6 1 bfd router babel6 1 dista 140 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router babel4 1 ena router babel4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router babel6 1 ena router babel6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router babel4 1 ena router babel4 1 bfd router babel4 1 dista 140 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router babel6 1 ena router babel6 1 bfd router babel6 1 dista 140 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel19.tst 0000664 0000000 0000000 00000002750 14716276021 0017072 0 ustar 00root root 0000000 0000000 description babel peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: temp temp1 exit int temp1 router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel20.tst 0000664 0000000 0000000 00000003417 14716276021 0017063 0 ustar 00root root 0000000 0000000 description babel prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 exit router babel6 1 vrf v1 router 1111-2222-3333-0002 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r1 send conf t r1 send int lo0 r1 send no router babel4 1 ena r1 send no router babel6 1 ena r1 send end r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r1 send conf t r1 send int lo0 r1 send router babel4 1 ena r1 send router babel6 1 ena r1 send end r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel21.tst 0000664 0000000 0000000 00000004537 14716276021 0017070 0 ustar 00root root 0000000 0000000 description babel aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-in p4 router babel6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 aggregate 2.2.2.0/24 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 aggregate 4321::/32 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel22.tst 0000664 0000000 0000000 00000004203 14716276021 0017057 0 ustar 00root root 0000000 0000000 description babel auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn automesh all exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router babel4 1 ena router babel6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn automesh all exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router babel4 1 ena router babel6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 130 9.9.9.2 vrf v1 r1 tping 100 130 9999::2 vrf v1 r2 tping 100 130 9.9.9.1 vrf v1 r2 tping 100 130 9999::1 vrf v1 r1 tping 0 130 2.2.2.2 vrf v1 r1 tping 0 130 4321::2 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel23.tst 0000664 0000000 0000000 00000005700 14716276021 0017063 0 ustar 00root root 0000000 0000000 description babel triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 metric-in 40000 router babel6 1 metric-in 40000 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0003 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 metric-in 40000 router babel6 1 metric-in 40000 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel24.tst 0000664 0000000 0000000 00000005134 14716276021 0017065 0 ustar 00root root 0000000 0000000 description babel autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router babel4 1 ena router babel6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute babel4 1 2.2.2.2 9.9.8.2 ipv6 autoroute babel6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router babel4 1 ena router babel6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute babel4 1 2.2.2.1 9.9.8.1 ipv6 autoroute babel6 1 4321::1 9998::1 exit ! r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r1 tping 0 130 9.9.9.2 vrf v1 r1 tping 0 130 9999::2 vrf v1 r2 tping 0 130 9.9.9.1 vrf v1 r2 tping 0 130 9999::1 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel25.tst 0000664 0000000 0000000 00000002310 14716276021 0017057 0 ustar 00root root 0000000 0000000 description babel over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 exit router babel6 1 vrf v1 router 1111-2222-3333-0002 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-babel26.tst 0000664 0000000 0000000 00000006727 14716276021 0017100 0 ustar 00root root 0000000 0000000 description babel ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn ecmp exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn ecmp exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0003 red conn ecmp exit router babel6 1 vrf v1 router 1111-2222-3333-0003 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel27.tst 0000664 0000000 0000000 00000004201 14716276021 0017062 0 ustar 00root root 0000000 0000000 description babel default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 suppress exit router babel6 1 vrf v1 router 1111-2222-3333-0001 suppress exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 0 130 2.2.2.21 vrf v1 r2 tping 0 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel28.tst 0000664 0000000 0000000 00000004267 14716276021 0017077 0 ustar 00root root 0000000 0000000 description babel address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 suppress exit router babel6 1 vrf v1 router 1111-2222-3333-0001 suppress exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena router babel4 1 unsuppress router babel6 1 unsuppress exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router babel4 1 ena router babel6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 0 130 2.2.2.21 vrf v1 r2 tping 0 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-babel29.tst 0000664 0000000 0000000 00000005726 14716276021 0017101 0 ustar 00root root 0000000 0000000 description babel auto summarization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena router babel4 1 route-map-in p4 router babel6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 autosumm red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 autosumm red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router babel4 1 ena router babel6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 babel 1 sum r2 output show ipv6 babel 1 sum r2 output show ipv4 babel 1 dat r2 output show ipv6 babel 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-bgp001.tst 0000664 0000000 0000000 00000007570 14716276021 0016651 0 ustar 00root root 0000000 0000000 description ebgp in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r2 output show ipv4 bgp 1 sum r2 output show ipv6 bgp 1 sum r2 output show ipv4 bgp 1 uni dat r2 output show ipv6 bgp 1 uni dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-bgp.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-bgp002.tst 0000664 0000000 0000000 00000007005 14716276021 0016643 0 ustar 00root root 0000000 0000000 description confed bgp in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:2::2 remote-as 3 neigh 1234:2::2 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 confed neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 confed neigh 1234:3::2 remote-as 4 neigh 1234:3::2 confed red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 confed red conn exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp003.tst 0000664 0000000 0000000 00000006172 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ibgp in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.10 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:3::2 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:3::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp004.tst 0000664 0000000 0000000 00000006407 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ebgp in subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.4 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::3 remote-as 3 neigh 1234:1::4 remote-as 4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp005.tst 0000664 0000000 0000000 00000006771 14716276021 0016657 0 ustar 00root root 0000000 0000000 description confed bgp in subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed neigh 1234:1::3 remote-as 3 neigh 1234:1::3 confed neigh 1234:1::4 remote-as 4 neigh 1234:1::4 confed red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp006.tst 0000664 0000000 0000000 00000006127 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ibgp in subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp007.tst 0000664 0000000 0000000 00000006710 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ibgp fullmesh in subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp008.tst 0000664 0000000 0000000 00000010356 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ibgp rr in subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 group r1 output show ipv6 bgp 1 group r1 output show ipv4 bgp 1 group 0 uni r1 output show ipv6 bgp 1 group 0 uni r1 output show ipv4 bgp 1 best r1 output show ipv6 bgp 1 best r1 output show ipv4 route v1 r1 output show ipv6 route v1 output ../binTmp/rout-bgp-grp.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 group:
show:2here is the ipv6 group:
show:3here is the ipv4 database:
show:4here is the ipv6 database:
show:5here are the ipv4 statistics:
show:6here are the ipv6 statistics:
show:7here are the ipv4 routes:
show:8here are the ipv6 routes:
show:9! freeRtr-24.11.16/cfg/rout-bgp009.tst 0000664 0000000 0000000 00000007457 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ebgp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.3 remote-as 3 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::3 remote-as 3 neigh 4321::3 update lo0 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::13 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::13 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::12 vrf v1 freeRtr-24.11.16/cfg/rout-bgp010.tst 0000664 0000000 0000000 00000007520 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ibgp over loopback addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 route-reflect red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::13 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::13 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::12 vrf v1 freeRtr-24.11.16/cfg/rout-bgp011.tst 0000664 0000000 0000000 00000006457 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ibgp with mpls addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 4321::13 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 2.2.2.13 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 0 60 4321::13 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 4321::11 vrf v1 freeRtr-24.11.16/cfg/rout-bgp012.tst 0000664 0000000 0000000 00000002443 14716276021 0016645 0 ustar 00root root 0000000 0000000 description ebgp with long as number addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 123456789 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 987654321 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 123456789 router-id 6.6.6.1 neigh 1234:1::2 remote-as 987654321 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 987654321 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 123456789 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 987654321 router-id 6.6.6.2 neigh 1234:1::1 remote-as 123456789 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp013.tst 0000664 0000000 0000000 00000002353 14716276021 0016646 0 ustar 00root root 0000000 0000000 description ibgp with long as number addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 123456789 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 123456789 red conn exit router bgp6 1 vrf v1 address uni local-as 123456789 router-id 6.6.6.1 neigh 1234:1::2 remote-as 123456789 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 123456789 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 123456789 red conn exit router bgp6 1 vrf v1 address uni local-as 123456789 router-id 6.6.6.2 neigh 1234:1::1 remote-as 123456789 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp014.tst 0000664 0000000 0000000 00000002370 14716276021 0016646 0 ustar 00root root 0000000 0000000 description bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 default exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp015.tst 0000664 0000000 0000000 00000004312 14716276021 0016645 0 ustar 00root root 0000000 0000000 description bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp016.tst 0000664 0000000 0000000 00000004313 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp017.tst 0000664 0000000 0000000 00000004414 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp018.tst 0000664 0000000 0000000 00000004415 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp019.tst 0000664 0000000 0000000 00000004655 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with locpref addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match locpref 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp020.tst 0000664 0000000 0000000 00000004644 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with origin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set origin 1 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match origin 1 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp021.tst 0000664 0000000 0000000 00000004652 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match metric 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp022.tst 0000664 0000000 0000000 00000005272 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with standard community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set stdcomm 1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match stdcomm 1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp023.tst 0000664 0000000 0000000 00000004652 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aspath addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp024.tst 0000664 0000000 0000000 00000006453 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp locpref addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set locpref 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp025.tst 0000664 0000000 0000000 00000006462 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp aspath addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set aspath 1234 1234 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp026.tst 0000664 0000000 0000000 00000006442 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp origin addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set origin 1 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set origin 2 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp027.tst 0000664 0000000 0000000 00000006450 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp metric addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set metric 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp028.tst 0000664 0000000 0000000 00000006541 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp locpref vs aspath addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set locpref 4321 set aspath 1234 1234 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set locpref 1234 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp029.tst 0000664 0000000 0000000 00000006530 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp aspath vs origin addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aspath 1234 set origin 1 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set aspath 1234 1234 1234 set origin 2 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp030.tst 0000664 0000000 0000000 00000006516 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp origin vs metric addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set origin 1 set metric 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set origin 2 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp031.tst 0000664 0000000 0000000 00000005276 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with extended community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set extcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match extcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp032.tst 0000664 0000000 0000000 00000006264 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ebgp with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp033.tst 0000664 0000000 0000000 00000007736 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ibgp with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.11 vrf v1 sou lo0 r2 tping 0 60 2.2.2.13 vrf v1 sou lo0 r2 tping 0 60 4321::11 vrf v1 sou lo0 r2 tping 0 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp034.tst 0000664 0000000 0000000 00000004766 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ebgp with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit route-map rm1 set aspath 3 3 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 bfd-trigger neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.6 remote-as 2 neigh 1.1.1.6 bfd-trigger red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 bfd-trigger neigh 1234:1::2 route-map-in rm1 neigh 1234:1::2 route-map-out rm1 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 bfd-trigger red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 bfd-trigger neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 bfd-trigger red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 bfd-trigger neigh 1234:2::1 remote-as 1 neigh 1234:2::1 bfd-trigger red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp035.tst 0000664 0000000 0000000 00000011162 14716276021 0016650 0 ustar 00root root 0000000 0000000 description vpns over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 vpnuni dat r1 output show ipv6 bgp 1 vpnuni dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show ipv4 route v2 r1 output show ipv6 route v2 r1 output show ipv4 route v3 r1 output show ipv6 route v3 r1 output show ipv4 route v4 r1 output show ipv6 route v4 output ../binTmp/rout-bgp-vpn.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here are the ipv4 vpn routes:
show:6here are the ipv6 vpn routes:
show:7here are the ipv4 vpn routes:
show:8here are the ipv6 vpn routes:
show:9here are the ipv4 vpn routes:
show:10here are the ipv6 vpn routes:
show:11! freeRtr-24.11.16/cfg/rout-bgp036.tst 0000664 0000000 0000000 00000011346 14716276021 0016655 0 ustar 00root root 0000000 0000000 description vpns over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp037.tst 0000664 0000000 0000000 00000004403 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp038.tst 0000664 0000000 0000000 00000004563 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp enforce first as addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 enforce-first red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 enforce-first red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 enforce-first red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 enforce-first red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp039.tst 0000664 0000000 0000000 00000004421 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp aspath check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65535 neigh 1.1.1.6 remote-as 65535 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65535 neigh 1234:2::2 remote-as 65535 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp040.tst 0000664 0000000 0000000 00000004610 14716276021 0016644 0 ustar 00root root 0000000 0000000 description bgp allow as in addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 allow-as-in red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 allow-as-in red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65535 neigh 1.1.1.6 remote-as 65535 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65535 neigh 1234:2::2 remote-as 65535 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 allow-as-in red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 allow-as-in red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp041.tst 0000664 0000000 0000000 00000004672 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp remove private as out addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65534 neigh 1.1.1.1 remove-private-as-out neigh 1.1.1.6 remote-as 65534 neigh 1.1.1.6 remove-private-as-out red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65534 neigh 1234:1::1 remove-private-as-out neigh 1234:2::2 remote-as 65534 neigh 1234:2::2 remove-private-as-out red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp042.tst 0000664 0000000 0000000 00000004660 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp override as out addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65535 neigh 1.1.1.1 override-peer-as-out neigh 1.1.1.6 remote-as 65535 neigh 1.1.1.6 override-peer-as-out red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65535 neigh 1234:1::1 override-peer-as-out neigh 1234:2::2 remote-as 65535 neigh 1234:2::2 override-peer-as-out red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp043.tst 0000664 0000000 0000000 00000004570 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp nexthop self addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflector-client neigh 1.1.1.1 next-hop-self neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 route-reflector-client neigh 1.1.1.6 next-hop-self red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflector-client neigh 1234:1::1 next-hop-self neigh 1234:2::2 remote-as 1 neigh 1234:2::2 route-reflector-client neigh 1234:2::2 next-hop-self red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp044.tst 0000664 0000000 0000000 00000004570 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp nexthop peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 next-hop-peer red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 next-hop-peer red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflector-client neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 route-reflector-client red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflector-client neigh 1234:2::2 remote-as 1 neigh 1234:2::2 route-reflector-client red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 next-hop-peer red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 next-hop-peer red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp045.tst 0000664 0000000 0000000 00000010251 14716276021 0016647 0 ustar 00root root 0000000 0000000 description vpls/ldp over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 vpls dat r1 output show ipv6 bgp 1 vpls dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show bridge 1 r1 output show bridge 2 r1 output show bridge 3 r1 output show bridge 4 output ../binTmp/rout-bgp-vpls1.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here is the bridge:
show:6here is the bridge:
show:7here is the bridge:
show:8here is the bridge:
show:9! freeRtr-24.11.16/cfg/rout-bgp046.tst 0000664 0000000 0000000 00000005333 14716276021 0016655 0 ustar 00root root 0000000 0000000 description vpls/ldp over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp047.tst 0000664 0000000 0000000 00000002430 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 temp p remote-as 2 neigh 1.1.1.2 temp p red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 temp p remote-as 2 neigh 1234:1::2 temp p red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 temp p remote-as 1 neigh 1.1.1.1 temp p red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 temp p remote-as 1 neigh 1234:1::1 temp p red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp048.tst 0000664 0000000 0000000 00000006514 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp listen addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit access-list a1 deny all any all any all exit access-list a2 permit all any all any all exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 temp p remote-as 2 temp p override-peer-as-out listen a1 p listen a2 p red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 temp p remote-as 2 temp p override-peer-as-out listen a1 p listen a2 p red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.4 neigh 1234:3::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp049.tst 0000664 0000000 0000000 00000002521 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ebgp password addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 password test red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 password test red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 password test red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 password test red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp050.tst 0000664 0000000 0000000 00000005114 14716276021 0016645 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aigp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 aigp neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 aigp neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 aigp red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aigp 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aigp red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aigp red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aigp 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 aigp red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp051.tst 0000664 0000000 0000000 00000005173 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with bandwidth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 traffeng neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 traffeng neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 traffeng red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set bandwidth 8888 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 traffeng red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 traffeng red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match bandwidth 8888 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 traffeng red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp052.tst 0000664 0000000 0000000 00000010145 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp rpki addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router rpki4 1 vrf v1 exit router rpki6 1 vrf v1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.1 rpki rpki4 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 rpki-in acc red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 rpki rpki6 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 rpki-in acc red conn exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit route-map rm1 set locpref 1234 exit server rpki r vrf v1 prefix 2.2.2.111/24 32 3 prefix 4321::111/56 128 3 exit router rpki4 1 vrf v1 neigh 2.2.2.2 port 323 wakeup bgp4 1 exit router rpki6 1 vrf v1 neigh 4321::2 port 323 wakeup bgp6 1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.2 rpki rpki4 1 neigh 1.1.1.1 remote-as 3 neigh 1.1.1.1 rpki-in rew neigh 1.1.1.1 send-comm both neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 2 neigh 1.1.1.6 rpki-in rew neigh 1.1.1.6 send-comm both neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.2 rpki rpki6 1 neigh 1234:1::1 remote-as 3 neigh 1234:1::1 rpki-in rew neigh 1234:1::1 send-comm both neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 rpki-in rew neigh 1234:2::2 send-comm both neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router rpki4 1 vrf v1 exit router rpki6 1 vrf v1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.3 rpki rpki4 1 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 rpki-in acc red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.3 rpki rpki6 1 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 rpki-in acc red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp053.tst 0000664 0000000 0000000 00000007710 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-tx uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-tx uni red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx uni neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 additional-path-rx uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx uni neigh 1234:2::2 remote-as 3 neigh 1234:2::2 additional-path-rx uni red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 additional-path-rx uni neigh 1.1.1.5 additional-path-tx uni neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 additional-path-rx uni neigh 1.1.1.10 additional-path-tx uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 additional-path-rx uni neigh 1234:2::1 additional-path-tx uni neigh 1234:3::2 remote-as 4 neigh 1234:3::2 additional-path-rx uni neigh 1234:3::2 additional-path-tx uni red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 additional-path-rx uni neigh 1.1.1.9 additional-path-tx uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 additional-path-rx uni neigh 1234:3::1 additional-path-tx uni red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp054.tst 0000664 0000000 0000000 00000007111 14716276021 0016650 0 ustar 00root root 0000000 0000000 description bgp additional path with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx lab neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 additional-path-rx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx lab neigh 1234:2::2 remote-as 3 neigh 1234:2::2 additional-path-rx lab red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 additional-path-rx lab neigh 1.1.1.5 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 additional-path-tx lab neigh 1234:2::1 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp055.tst 0000664 0000000 0000000 00000007533 14716276021 0016661 0 ustar 00root root 0000000 0000000 description vpns over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpnuni neigh 2.2.2.2 additional-path-tx vpnuni afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpnuni neigh 4321::2 additional-path-tx vpnuni afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpnuni neigh 2.2.2.1 additional-path-tx vpnuni afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpnuni neigh 4321::1 additional-path-tx vpnuni afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp056.tst 0000664 0000000 0000000 00000007146 14716276021 0016662 0 ustar 00root root 0000000 0000000 description vpls/ldp over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpls neigh 2.2.2.2 additional-path-tx vpls afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpls neigh 4321::2 additional-path-tx vpls afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpls neigh 2.2.2.1 additional-path-tx vpls afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpls neigh 4321::1 additional-path-tx vpls afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp057.tst 0000664 0000000 0000000 00000004356 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp nexthop unchanged addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.1 remote-as 2 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 next-hop-unch red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::1 remote-as 2 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 next-hop-unch red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp058.tst 0000664 0000000 0000000 00000004665 14716276021 0016667 0 ustar 00root root 0000000 0000000 description bgp remove private as in addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65534 neigh 1.1.1.1 remove-private-as-in neigh 1.1.1.6 remote-as 65534 neigh 1.1.1.6 remove-private-as-in red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65534 neigh 1234:1::1 remove-private-as-in neigh 1234:2::2 remote-as 65534 neigh 1234:2::2 remove-private-as-in red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp059.tst 0000664 0000000 0000000 00000004653 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp override as in addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65535 neigh 1.1.1.1 override-peer-as-in neigh 1.1.1.6 remote-as 65535 neigh 1.1.1.6 override-peer-as-in red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65535 neigh 1234:1::1 override-peer-as-in neigh 1234:2::2 remote-as 65535 neigh 1234:2::2 override-peer-as-in red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65535 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp060.tst 0000664 0000000 0000000 00000005745 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ebgp with nexthop tracking routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-map rm1 match distance 0 exit route-map rm2 set aspath 3 3 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 nexthop route-map rm1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in rm2 neigh 1.1.1.2 route-map-out rm2 neigh 1.1.1.6 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 nexthop route-map rm1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in rm2 neigh 1234:1::2 route-map-out rm2 neigh 1234:2::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 match distance 0 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 nexthop route-map rm1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 nexthop route-map rm1 neigh 1234:1::1 remote-as 1 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 sleep 3000 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 next r1 output show ipv6 bgp 1 next r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 output ../binTmp/rout-bgp-nxt.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here are the ipv4 nexthops:
show:2here are the ipv6 nexthops:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-bgp061.tst 0000664 0000000 0000000 00000004466 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ibgp with nexthop tracking routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-map rm1 match distance 0 exit route-map rm2 set aspath 3 3 3 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 nexthop route-map rm1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-map-in rm2 neigh 1.1.1.2 route-map-out rm2 neigh 1.1.1.6 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 nexthop route-map rm1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-map-in rm2 neigh 1234:1::2 route-map-out rm2 neigh 1234:2::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 match distance 0 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 nexthop route-map rm1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 nexthop route-map rm1 neigh 1234:1::1 remote-as 1 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp062.tst 0000664 0000000 0000000 00000011046 14716276021 0016651 0 ustar 00root root 0000000 0000000 description vpns over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp063.tst 0000664 0000000 0000000 00000010475 14716276021 0016657 0 ustar 00root root 0000000 0000000 description vpls/ldp over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp064.tst 0000664 0000000 0000000 00000006545 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp clustlist addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 next-hop-self neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 route-reflect neigh 1.1.1.6 next-hop-self red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 next-hop-self neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 route-reflect neigh 1234:2::2 next-hop-self red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp065.tst 0000664 0000000 0000000 00000006761 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp metric vs clustlist addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set metric 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 next-hop-self neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 route-reflect neigh 1.1.1.6 next-hop-self red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 next-hop-self neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 route-reflect neigh 1234:2::2 next-hop-self red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp066.tst 0000664 0000000 0000000 00000006434 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp distance addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 distance 123 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 distance 234 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 distance 123 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 distance 234 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp067.tst 0000664 0000000 0000000 00000006653 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp distance vs locpref addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 distance 123 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 distance 234 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 distance 123 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 distance 234 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set locpref 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp068.tst 0000664 0000000 0000000 00000010766 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ebgp in chain with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 4 neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r2 output show ipv4 bgp 1 sum r2 output show ipv6 bgp 1 sum r2 output show ipv4 bgp 1 nei 1.1.1.1 uni learn r2 output show ipv6 bgp 1 nei 1234:1::1 uni learn r2 output show ipv4 bgp 1 nei 1.1.1.1 uni accept r2 output show ipv6 bgp 1 nei 1234:1::1 uni accept r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-bgp-sft.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 stored database:
show:2here is the ipv6 stored database:
show:3here is the ipv4 used database:
show:4here is the ipv6 used database:
show:5here are the ipv4 routes:
show:6here are the ipv6 routes:
show:7! freeRtr-24.11.16/cfg/rout-bgp069.tst 0000664 0000000 0000000 00000007601 14716276021 0016662 0 ustar 00root root 0000000 0000000 description confed bgp in chain with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 confed red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 confed neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 confed neigh 1234:2::2 remote-as 3 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 soft-reconfig neigh 1.1.1.5 confed neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 soft-reconfig neigh 1.1.1.10 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 soft-reconfig neigh 1234:2::1 confed neigh 1234:3::2 remote-as 4 neigh 1234:3::2 soft-reconfig neigh 1234:3::2 confed red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 soft-reconfig neigh 1.1.1.9 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 soft-reconfig neigh 1234:3::1 confed red conn exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp070.tst 0000664 0000000 0000000 00000006766 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ibgp in chain with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 1 neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 1 neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:3::1 remote-as 1 neigh 1234:3::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp071.tst 0000664 0000000 0000000 00000007241 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ibgp rr in subnet with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp072.tst 0000664 0000000 0000000 00000004525 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp073.tst 0000664 0000000 0000000 00000004526 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp074.tst 0000664 0000000 0000000 00000004627 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp075.tst 0000664 0000000 0000000 00000004630 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp076.tst 0000664 0000000 0000000 00000005260 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with locpref with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match locpref 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp077.tst 0000664 0000000 0000000 00000005247 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with origin with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set origin 1 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match origin 1 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp078.tst 0000664 0000000 0000000 00000005255 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with metric with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match metric 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp079.tst 0000664 0000000 0000000 00000005675 14716276021 0016674 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with standard community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set stdcomm 1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match stdcomm 1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp080.tst 0000664 0000000 0000000 00000005255 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aspath with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp081.tst 0000664 0000000 0000000 00000007056 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp locpref with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set locpref 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp082.tst 0000664 0000000 0000000 00000007065 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp aspath with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set aspath 1234 1234 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp083.tst 0000664 0000000 0000000 00000007045 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp origin with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set origin 1 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set origin 2 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp084.tst 0000664 0000000 0000000 00000007053 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp metric with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set metric 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp085.tst 0000664 0000000 0000000 00000007144 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp locpref vs aspath with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set locpref 4321 set aspath 1234 1234 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set locpref 1234 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp086.tst 0000664 0000000 0000000 00000007133 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp aspath vs origin with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aspath 1234 set origin 1 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set aspath 1234 1234 1234 set origin 2 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp087.tst 0000664 0000000 0000000 00000007121 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp origin vs metric with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set origin 1 set metric 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set origin 2 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp088.tst 0000664 0000000 0000000 00000005701 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with extended community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set extcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match extcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp089.tst 0000664 0000000 0000000 00000007150 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp clustlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 next-hop-self neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 route-reflect neigh 1.1.1.6 next-hop-self red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 next-hop-self neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 route-reflect neigh 1234:2::2 next-hop-self red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp090.tst 0000664 0000000 0000000 00000007364 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp metric vs clustlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set metric 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 next-hop-self neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 route-reflect neigh 1.1.1.6 next-hop-self red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 next-hop-self neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 route-reflect neigh 1234:2::2 next-hop-self red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set metric 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp091.tst 0000664 0000000 0000000 00000007037 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp distance with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 distance 123 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 distance 234 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 distance 123 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 distance 234 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp092.tst 0000664 0000000 0000000 00000007256 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp distance vs locpref with soft-reconfig addrouter r1 int eth1 eth 0000.0000.2222 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.1111 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 prefix-list-in p4 neigh 1.1.1.1 distance 123 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 soft-reconfig neigh 1.1.1.6 prefix-list-in p4 neigh 1.1.1.6 distance 234 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 prefix-list-in p6 neigh 1234:1::1 distance 123 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 soft-reconfig neigh 1234:2::2 prefix-list-in p6 neigh 1234:2::2 distance 234 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-map rm1 set locpref 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 soft-reconfig red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.111 vrf v1 r2 tping 100 60 4321::111 vrf v1 r2 tping 0 60 2.2.2.222 vrf v1 r2 tping 0 60 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 60 2.2.2.222 vrf v1 freeRtr-24.11.16/cfg/rout-bgp093.tst 0000664 0000000 0000000 00000005517 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aigp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 aigp neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 aigp neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 aigp red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aigp 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 aigp red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 aigp red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aigp 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 aigp red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp094.tst 0000664 0000000 0000000 00000005576 14716276021 0016671 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with bandwidth with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 traffeng neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 traffeng neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 traffeng red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set bandwidth 8888 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 traffeng red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 traffeng red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match bandwidth 8888 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 traffeng red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp095.tst 0000664 0000000 0000000 00000020426 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp with a lot prefix addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ int eth5 eth 0000.0000.1111 $5a$ $5b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int eth5 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::6 remote-as 1 neigh 1234:1::6 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.255 ipv6 addr 4444::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit route-map all action permit exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234:1::5 ffff:ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit route-map all action permit exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.0 ipv6 addr 1234:1::6 ffff:ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2222::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2222::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2222::4 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2222::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2222::4 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2222::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 r5 tping 100 60 1.1.1.1 vrf v1 r5 send pack bgpgen v1 eth1 1.1.1.1 1 3.0.0.0/8 all 10000 r5 read sent r6 tping 100 60 1234:1::1 vrf v1 r6 send pack bgpgen v1 eth1 1234:1::1 1 3333::/16 all 10000 r6 read sent r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2222::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2222::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2222::4 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2222::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2222::4 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2222::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 r5 send end r5 read finish r6 send end r6 read finish r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2222::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2222::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2222::4 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2222::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2222::4 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2222::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp096.tst 0000664 0000000 0000000 00000011715 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ebgp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.4 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::3 remote-as 3 neigh 1234:1::4 remote-as 4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp097.tst 0000664 0000000 0000000 00000012347 14716276021 0016666 0 ustar 00root root 0000000 0000000 description confed bgp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed neigh 1234:1::3 remote-as 3 neigh 1234:1::3 confed neigh 1234:1::4 remote-as 4 neigh 1234:1::4 confed red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp098.tst 0000664 0000000 0000000 00000011365 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ibgp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send no red conn r2 send exit r2 send router bgp6 1 r2 send no red conn r2 send end r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send red conn r2 send exit r2 send router bgp6 1 r2 send red conn r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp099.tst 0000664 0000000 0000000 00000012216 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ibgp fullmesh prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send no red conn r2 send exit r2 send router bgp6 1 r2 send no red conn r2 send end r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send red conn r2 send exit r2 send router bgp6 1 r2 send red conn r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp100.tst 0000664 0000000 0000000 00000011754 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ibgp rr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp101.tst 0000664 0000000 0000000 00000012510 14716276021 0016640 0 ustar 00root root 0000000 0000000 description ebgp prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 4 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp102.tst 0000664 0000000 0000000 00000013142 14716276021 0016643 0 ustar 00root root 0000000 0000000 description confed bgp prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 confed neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 3 neigh 1234:1::3 confed neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 4 neigh 1234:1::4 confed neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp103.tst 0000664 0000000 0000000 00000012160 14716276021 0016643 0 ustar 00root root 0000000 0000000 description ibgp prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send no red conn r2 send exit r2 send router bgp6 1 r2 send no red conn r2 send end r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send red conn r2 send exit r2 send router bgp6 1 r2 send red conn r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp104.tst 0000664 0000000 0000000 00000013561 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ibgp fullmesh prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send no red conn r2 send exit r2 send router bgp6 1 r2 send no red conn r2 send end r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send red conn r2 send exit r2 send router bgp6 1 r2 send red conn r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp105.tst 0000664 0000000 0000000 00000012547 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ibgp rr prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp106.tst 0000664 0000000 0000000 00000007142 14716276021 0016652 0 ustar 00root root 0000000 0000000 description vpns over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp107.tst 0000664 0000000 0000000 00000006575 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp108.tst 0000664 0000000 0000000 00000011313 14716276021 0016647 0 ustar 00root root 0000000 0000000 description vpns over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp109.tst 0000664 0000000 0000000 00000010743 14716276021 0016656 0 ustar 00root root 0000000 0000000 description vpls/ldp over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp110.tst 0000664 0000000 0000000 00000004776 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp route server with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 soft-reconfig neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 soft-reconfig neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 neigh 1234::2 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp111.tst 0000664 0000000 0000000 00000006355 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp route server prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp112.tst 0000664 0000000 0000000 00000006750 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp route server prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 soft-reconfig neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 soft-reconfig neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 neigh 1234::2 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp113.tst 0000664 0000000 0000000 00000017606 14716276021 0016656 0 ustar 00root root 0000000 0000000 description multisite vpns over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r2 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9.9.2.2 vrf v2 r1 tping 100 60 9992::2 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r2 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r2 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9.9.3.2 vrf v3 r1 tping 100 60 9993::2 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r2 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9994::2 vrf v4 freeRtr-24.11.16/cfg/rout-bgp114.tst 0000664 0000000 0000000 00000016547 14716276021 0016662 0 ustar 00root root 0000000 0000000 description multisite vpls/ldp over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::3 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::3 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp115.tst 0000664 0000000 0000000 00000014377 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp change in locpref addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match locpref 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set locpref 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match locpref 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set locpref 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set locpref 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set locpref 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp116.tst 0000664 0000000 0000000 00000014404 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp change in aspath addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aspath .*5000.* sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath .*1000.* exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aspath .*3000.* sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aspath 3000 4321 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aspath 1234 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aspath 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp117.tst 0000664 0000000 0000000 00000014335 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp change in origin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match origin 1 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set origin 0 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match origin 2 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set origin 2 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set origin 1 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set origin 0 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp118.tst 0000664 0000000 0000000 00000014370 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp119.tst 0000664 0000000 0000000 00000014746 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp change in aigp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 aigp neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 aigp neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 aigp neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 aigp neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 aigp neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 aigp neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aigp 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aigp neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aigp neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aigp 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aigp red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aigp red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aigp 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aigp neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aigp neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aigp 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aigp 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aigp 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp120.tst 0000664 0000000 0000000 00000015071 14716276021 0016646 0 ustar 00root root 0000000 0000000 description bgp change in bandwidth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 traffeng neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 traffeng neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 traffeng neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 traffeng neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 traffeng neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 traffeng neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match bandwidth 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 traffeng neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 traffeng neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set bandwidth 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 traffeng red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 traffeng red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match bandwidth 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 traffeng neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 traffeng neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set bandwidth 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set bandwidth 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set bandwidth 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp121.tst 0000664 0000000 0000000 00000015222 14716276021 0016645 0 ustar 00root root 0000000 0000000 description bgp change in standard community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 send-comm both neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 send-comm both neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match stdcomm 1234:5000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set stdcomm 1234:1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match stdcomm 1234:3000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set stdcomm 1234:3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set stdcomm 1234:5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set stdcomm 1234:1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp122.tst 0000664 0000000 0000000 00000015236 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp change in extended community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 send-comm both neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 send-comm both neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match extcomm 1:1234:5000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set extcomm 1:1234:1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match extcomm 1:1234:3000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set extcomm 1:1234:3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set extcomm 1:1234:5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set extcomm 1:1234:1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp123.tst 0000664 0000000 0000000 00000015172 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp change in locpref with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match locpref 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set locpref 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match locpref 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set locpref 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set locpref 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set locpref 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp124.tst 0000664 0000000 0000000 00000015177 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp change in aspath with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aspath .*5000.* sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath .*1000.* exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aspath .*3000.* sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aspath 3000 4321 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aspath 1234 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aspath 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp125.tst 0000664 0000000 0000000 00000015130 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp change in origin with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match origin 1 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set origin 0 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match origin 2 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set origin 2 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set origin 1 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set origin 0 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp126.tst 0000664 0000000 0000000 00000015163 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp change in metric with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp127.tst 0000664 0000000 0000000 00000015541 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp change in aigp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 aigp neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 aigp neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 aigp neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 aigp neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 aigp neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 aigp neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aigp 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 aigp neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 aigp neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aigp 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 aigp red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 aigp red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aigp 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 aigp neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 aigp neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aigp 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aigp 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aigp 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp128.tst 0000664 0000000 0000000 00000015664 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp change in bandwidth with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 traffeng neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 traffeng neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 traffeng neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 traffeng neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 traffeng neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 traffeng neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match bandwidth 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 traffeng neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 traffeng neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set bandwidth 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 traffeng red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 traffeng red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match bandwidth 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 traffeng neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 traffeng neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set bandwidth 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set bandwidth 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set bandwidth 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp129.tst 0000664 0000000 0000000 00000016015 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp change in standard community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 send-comm both neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 send-comm both neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 send-comm both neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match stdcomm 1234:5000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set stdcomm 1234:1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match stdcomm 1234:3000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set stdcomm 1234:3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set stdcomm 1234:5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set stdcomm 1234:1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp130.tst 0000664 0000000 0000000 00000016031 14716276021 0016644 0 ustar 00root root 0000000 0000000 description bgp change in extended community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 send-comm both neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 send-comm both neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 send-comm both neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match extcomm 1:1234:5000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set extcomm 1:1234:1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match extcomm 1:1234:3000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set extcomm 1:1234:3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set extcomm 1:1234:5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set extcomm 1:1234:1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp131.tst 0000664 0000000 0000000 00000004441 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp132.tst 0000664 0000000 0000000 00000011124 14716276021 0016644 0 ustar 00root root 0000000 0000000 description bgp maximum prefix in addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 maximum-prefix-in 3 50 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 maximum-prefix-in 3 50 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.32 255.255.255.255 ipv6 addr 4321::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v1 ipv4 addr 2.2.2.42 255.255.255.255 ipv6 addr 4321::42 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v1 ipv4 addr 2.2.2.52 255.255.255.255 ipv6 addr 4321::52 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo6 vrf for v1 ipv4 addr 2.2.2.62 255.255.255.255 ipv6 addr 4321::62 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo7 vrf for v1 ipv4 addr 2.2.2.72 255.255.255.255 ipv6 addr 4321::72 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo8 vrf for v1 ipv4 addr 2.2.2.82 255.255.255.255 ipv6 addr 4321::82 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 summary red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 summary red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send no aggregate 2.2.2.0/24 summary r2 send exit r2 send router bgp6 1 r2 send no aggregate 4321::/32 summary r2 send end r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 0 60 2.2.2.22 vrf v1 r1 tping 0 60 4321::22 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 0 60 2.2.2.21 vrf v1 r2 tping 0 60 4321::21 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send aggregate 2.2.2.0/24 summary r2 send exit r2 send router bgp6 1 r2 send aggregate 4321::/32 summary r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp133.tst 0000664 0000000 0000000 00000010371 14716276021 0016650 0 ustar 00root root 0000000 0000000 description evpn/pbb over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 evpn dat r1 output show ipv6 bgp 1 evpn dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show bridge 1 r1 output show bridge 2 r1 output show bridge 3 r1 output show bridge 4 output ../binTmp/rout-bgp-evpn1.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here is the bridge:
show:6here is the bridge:
show:7here is the bridge:
show:8here is the bridge:
show:9! freeRtr-24.11.16/cfg/rout-bgp134.tst 0000664 0000000 0000000 00000005453 14716276021 0016656 0 ustar 00root root 0000000 0000000 description evpn/pbb over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp135.tst 0000664 0000000 0000000 00000007266 14716276021 0016663 0 ustar 00root root 0000000 0000000 description evpn/pbb over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn neigh 2.2.2.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn neigh 4321::2 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn neigh 2.2.2.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn neigh 4321::1 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp136.tst 0000664 0000000 0000000 00000010741 14716276021 0016654 0 ustar 00root root 0000000 0000000 description evpn/pbb over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp137.tst 0000664 0000000 0000000 00000006715 14716276021 0016663 0 ustar 00root root 0000000 0000000 description evpn/pbb over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp138.tst 0000664 0000000 0000000 00000011207 14716276021 0016654 0 ustar 00root root 0000000 0000000 description evpn/pbb over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp139.tst 0000664 0000000 0000000 00000017135 14716276021 0016663 0 ustar 00root root 0000000 0000000 description multisite evpn/pbb over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::3 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::3 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 pmsi neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 pmsi neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp140.tst 0000664 0000000 0000000 00000011147 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ethersite vpls/ldp over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:1 rt-both 1:1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv6 addr 3333::4 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.0 ipv6 addr 4444::4 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.4 vrf v1 r2 tping 100 60 3333::4 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.4 vrf v1 r3 tping 100 60 3333::4 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 3333::1 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 3.3.3.2 vrf v1 r4 tping 100 60 3333::2 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 3.3.3.3 vrf v1 r4 tping 100 60 3333::3 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp141.tst 0000664 0000000 0000000 00000011267 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ethersite evpn/pbb over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:2 rt-both 1:2 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:2 rt-both 1:2 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv6 addr 3333::4 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.0 ipv6 addr 4444::4 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.4 vrf v1 r2 tping 100 60 3333::4 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.4 vrf v1 r3 tping 100 60 3333::4 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 3333::1 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 3.3.3.2 vrf v1 r4 tping 100 60 3333::2 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 3.3.3.3 vrf v1 r4 tping 100 60 3333::3 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp142.tst 0000664 0000000 0000000 00000021674 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ethersite vpns over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth2.12 vrf for v2 ipv4 addr 9.8.2.1 255.255.255.0 ipv6 addr 9982::1 ffff:ffff:ffff:ffff:: exit int eth2.13 vrf for v3 ipv4 addr 9.8.3.1 255.255.255.0 ipv6 addr 9983::1 ffff:ffff:ffff:ffff:: exit int eth2.14 vrf for v4 ipv4 addr 9.8.4.1 255.255.255.0 ipv6 addr 9984::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth2.12 vrf for v2 ipv4 addr 9.7.2.1 255.255.255.0 ipv6 addr 9972::1 ffff:ffff:ffff:ffff:: exit int eth2.13 vrf for v3 ipv4 addr 9.7.3.1 255.255.255.0 ipv6 addr 9973::1 ffff:ffff:ffff:ffff:: exit int eth2.14 vrf for v4 ipv4 addr 9.7.4.1 255.255.255.0 ipv6 addr 9974::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int eth1.12 vrf for v2 ipv4 addr 9.8.2.2 255.255.255.0 ipv6 addr 9982::2 ffff:ffff:ffff:ffff:: exit int eth1.13 vrf for v3 ipv4 addr 9.8.3.2 255.255.255.0 ipv6 addr 9983::2 ffff:ffff:ffff:ffff:: exit int eth1.14 vrf for v4 ipv4 addr 9.8.4.2 255.255.255.0 ipv6 addr 9984::2 ffff:ffff:ffff:ffff:: exit ipv4 route v2 0.0.0.0 0.0.0.0 9.8.2.1 ipv4 route v3 0.0.0.0 0.0.0.0 9.8.3.1 ipv4 route v4 0.0.0.0 0.0.0.0 9.8.4.1 ipv6 route v2 :: :: 9982::1 ipv6 route v3 :: :: 9983::1 ipv6 route v4 :: :: 9984::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int eth1.12 vrf for v2 ipv4 addr 9.7.2.2 255.255.255.0 ipv6 addr 9972::2 ffff:ffff:ffff:ffff:: exit int eth1.13 vrf for v3 ipv4 addr 9.7.3.2 255.255.255.0 ipv6 addr 9973::2 ffff:ffff:ffff:ffff:: exit int eth1.14 vrf for v4 ipv4 addr 9.7.4.2 255.255.255.0 ipv6 addr 9974::2 ffff:ffff:ffff:ffff:: exit ipv4 route v2 0.0.0.0 0.0.0.0 9.7.2.1 ipv4 route v3 0.0.0.0 0.0.0.0 9.7.3.1 ipv4 route v4 0.0.0.0 0.0.0.0 9.7.4.1 ipv6 route v2 :: :: 9972::1 ipv6 route v3 :: :: 9973::1 ipv6 route v4 :: :: 9974::1 ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r1 tping 100 60 9.8.2.2 vrf v2 r1 tping 100 60 9.7.2.2 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9.8.2.2 vrf v2 r3 tping 100 60 9.7.2.2 vrf v2 r1 tping 100 60 9992::3 vrf v2 r1 tping 100 60 9982::2 vrf v2 r1 tping 100 60 9972::2 vrf v2 r3 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9982::2 vrf v2 r3 tping 100 60 9972::2 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r1 tping 100 60 9.8.3.2 vrf v3 r1 tping 100 60 9.7.3.2 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9.8.3.2 vrf v3 r3 tping 100 60 9.7.3.2 vrf v3 r1 tping 100 60 9993::3 vrf v3 r1 tping 100 60 9983::2 vrf v3 r1 tping 100 60 9973::2 vrf v3 r3 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9983::2 vrf v3 r3 tping 100 60 9973::2 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9.8.4.2 vrf v4 r1 tping 100 60 9.7.4.2 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9.8.4.2 vrf v4 r3 tping 100 60 9.7.4.2 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9984::2 vrf v4 r1 tping 100 60 9974::2 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9984::2 vrf v4 r3 tping 100 60 9974::2 vrf v4 r4 tping 100 60 9.9.2.1 vrf v2 r4 tping 100 60 9.9.2.3 vrf v2 r4 tping 100 60 9.8.2.2 vrf v2 r4 tping 100 60 9.7.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r5 tping 100 60 9.9.2.3 vrf v2 r5 tping 100 60 9.8.2.2 vrf v2 r5 tping 100 60 9.7.2.2 vrf v2 r4 tping 100 60 9992::1 vrf v2 r4 tping 100 60 9992::3 vrf v2 r4 tping 100 60 9982::2 vrf v2 r4 tping 100 60 9972::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r5 tping 100 60 9992::3 vrf v2 r5 tping 100 60 9982::2 vrf v2 r5 tping 100 60 9972::2 vrf v2 r4 tping 100 60 9.9.3.1 vrf v3 r4 tping 100 60 9.9.3.3 vrf v3 r4 tping 100 60 9.8.3.2 vrf v3 r4 tping 100 60 9.7.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r5 tping 100 60 9.9.3.3 vrf v3 r5 tping 100 60 9.8.3.2 vrf v3 r5 tping 100 60 9.7.3.2 vrf v3 r4 tping 100 60 9993::1 vrf v3 r4 tping 100 60 9993::3 vrf v3 r4 tping 100 60 9983::2 vrf v3 r4 tping 100 60 9973::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r5 tping 100 60 9993::3 vrf v3 r5 tping 100 60 9983::2 vrf v3 r5 tping 100 60 9973::2 vrf v3 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9.8.4.2 vrf v4 r4 tping 100 60 9.7.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r5 tping 100 60 9.9.4.3 vrf v4 r5 tping 100 60 9.8.4.2 vrf v4 r5 tping 100 60 9.7.4.2 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9984::2 vrf v4 r4 tping 100 60 9974::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r5 tping 100 60 9994::3 vrf v4 r5 tping 100 60 9984::2 vrf v4 r5 tping 100 60 9974::2 vrf v4 freeRtr-24.11.16/cfg/rout-bgp143.tst 0000664 0000000 0000000 00000007212 14716276021 0016651 0 ustar 00root root 0000000 0000000 description vpns over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp144.tst 0000664 0000000 0000000 00000006645 14716276021 0016663 0 ustar 00root root 0000000 0000000 description vpls/ldp over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp145.tst 0000664 0000000 0000000 00000006765 14716276021 0016667 0 ustar 00root root 0000000 0000000 description evpn/pbb over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp146.tst 0000664 0000000 0000000 00000007721 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+vpns over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp147.tst 0000664 0000000 0000000 00000007354 14716276021 0016664 0 ustar 00root root 0000000 0000000 description unicast+vpls/ldp over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp148.tst 0000664 0000000 0000000 00000007474 14716276021 0016670 0 ustar 00root root 0000000 0000000 description unicast+evpn/pbb over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp149.tst 0000664 0000000 0000000 00000010130 14716276021 0016650 0 ustar 00root root 0000000 0000000 description unicast+vpns over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp150.tst 0000664 0000000 0000000 00000007563 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+vpls/ldp over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp151.tst 0000664 0000000 0000000 00000007703 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+evpn/pbb over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp152.tst 0000664 0000000 0000000 00000010511 14716276021 0016645 0 ustar 00root root 0000000 0000000 description unicast+vpns over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpnuni uni neigh 2.2.2.2 additional-path-tx vpnuni uni red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpnuni uni neigh 4321::2 additional-path-tx vpnuni uni red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpnuni uni neigh 2.2.2.1 additional-path-tx vpnuni uni red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpnuni uni neigh 4321::1 additional-path-tx vpnuni uni red conn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp153.tst 0000664 0000000 0000000 00000010124 14716276021 0016646 0 ustar 00root root 0000000 0000000 description unicast+vpls/ldp over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpls uni neigh 2.2.2.2 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpls uni neigh 4321::2 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpls uni neigh 2.2.2.1 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpls uni neigh 4321::1 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp154.tst 0000664 0000000 0000000 00000010244 14716276021 0016652 0 ustar 00root root 0000000 0000000 description unicast+evpn/pbb over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn uni neigh 2.2.2.2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn uni neigh 4321::2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn uni neigh 2.2.2.1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn uni neigh 4321::1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp155.tst 0000664 0000000 0000000 00000005215 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 9.9.9.2 remote-as 2 red conn automesh all exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 9999::2 remote-as 2 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 9.9.9.1 remote-as 1 red conn automesh all exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 9999::1 remote-as 1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 60 9.9.9.2 vrf v1 r1 tping 100 60 9999::2 vrf v1 r2 tping 100 60 9.9.9.1 vrf v1 r2 tping 100 60 9999::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 rsvp v1 sum r1 output show ipv6 rsvp v1 sum r1 output show ipv4 route v1 r1 output show ipv6 route v1 output ../binTmp/rout-bgp-te.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-bgp156.tst 0000664 0000000 0000000 00000007464 14716276021 0016666 0 ustar 00root root 0000000 0000000 description vpns over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp157.tst 0000664 0000000 0000000 00000007117 14716276021 0016662 0 ustar 00root root 0000000 0000000 description vpls/ldp over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp158.tst 0000664 0000000 0000000 00000007237 14716276021 0016666 0 ustar 00root root 0000000 0000000 description evpn/pbb over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp159.tst 0000664 0000000 0000000 00000010561 14716276021 0016661 0 ustar 00root root 0000000 0000000 description vpls/bgp over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 vpls dat r1 output show ipv6 bgp 1 vpls dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show bridge 1 r1 output show bridge 2 r1 output show bridge 3 r1 output show bridge 4 output ../binTmp/rout-bgp-vpls2.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here is the bridge:
show:6here is the bridge:
show:7here is the bridge:
show:8here is the bridge:
show:9! freeRtr-24.11.16/cfg/rout-bgp160.tst 0000664 0000000 0000000 00000005477 14716276021 0016663 0 ustar 00root root 0000000 0000000 description vpls/bgp over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp161.tst 0000664 0000000 0000000 00000007456 14716276021 0016663 0 ustar 00root root 0000000 0000000 description vpls/bgp over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpls neigh 2.2.2.2 additional-path-tx vpls afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpls neigh 4321::2 additional-path-tx vpls afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpls neigh 2.2.2.1 additional-path-tx vpls afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpls neigh 4321::1 additional-path-tx vpls afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp162.tst 0000664 0000000 0000000 00000011005 14716276021 0016645 0 ustar 00root root 0000000 0000000 description vpls/bgp over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp163.tst 0000664 0000000 0000000 00000007105 14716276021 0016654 0 ustar 00root root 0000000 0000000 description vpls/bgp over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp164.tst 0000664 0000000 0000000 00000011253 14716276021 0016654 0 ustar 00root root 0000000 0000000 description vpls/bgp over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp165.tst 0000664 0000000 0000000 00000017223 14716276021 0016660 0 ustar 00root root 0000000 0000000 description multisite vpls/bgp over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::3 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::3 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 3 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 3 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 3 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 3 10 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp166.tst 0000664 0000000 0000000 00000011313 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ethersite vpls/bgp over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:2 rt-both 1:2 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:2 rt-both 1:2 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv6 addr 3333::4 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.0 ipv6 addr 4444::4 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.4 vrf v1 r2 tping 100 60 3333::4 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.4 vrf v1 r3 tping 100 60 3333::4 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 3333::1 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 3.3.3.2 vrf v1 r4 tping 100 60 3333::2 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 3.3.3.3 vrf v1 r4 tping 100 60 3333::3 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp167.tst 0000664 0000000 0000000 00000007155 14716276021 0016665 0 ustar 00root root 0000000 0000000 description vpls/bgp over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp168.tst 0000664 0000000 0000000 00000007664 14716276021 0016673 0 ustar 00root root 0000000 0000000 description unicast+vpls/bgp over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp169.tst 0000664 0000000 0000000 00000010073 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+vpls/bgp over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp170.tst 0000664 0000000 0000000 00000010434 14716276021 0016651 0 ustar 00root root 0000000 0000000 description unicast+vpls/bgp over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpls uni neigh 2.2.2.2 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpls uni neigh 4321::2 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpls uni neigh 2.2.2.1 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpls uni neigh 4321::1 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp171.tst 0000664 0000000 0000000 00000007427 14716276021 0016662 0 ustar 00root root 0000000 0000000 description vpls/bgp over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 1 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit router bgp6 1 vrf v1 no safe-ebgp address vpls automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 afi-vpls 1:2 ve-id 2 10 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp172.tst 0000664 0000000 0000000 00000006613 14716276021 0016657 0 ustar 00root root 0000000 0000000 description vpls/ldp+vpls/bgp over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 1 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:1 ve-id 2 10 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp173.tst 0000664 0000000 0000000 00000006500 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ibgp conquer rr in subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 conquer neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 conquer neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp174.tst 0000664 0000000 0000000 00000007273 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ibgp conquer rr in subnet with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 conquer neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 conquer neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp175.tst 0000664 0000000 0000000 00000012006 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ibgp conquer rr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 conquer neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 conquer neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp176.tst 0000664 0000000 0000000 00000012601 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ibgp conquer rr prefix withdraw with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 conquer neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 conquer neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp177.tst 0000664 0000000 0000000 00000002636 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+vpnmul over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp178.tst 0000664 0000000 0000000 00000002617 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+mdt over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mdt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mdt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mdt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mdt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp179.tst 0000664 0000000 0000000 00000003774 14716276021 0016673 0 ustar 00root root 0000000 0000000 description unicast+flowspec over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router uni2flow4 1 vrf v1 dist 10 justadvert lo1 exit router uni2flow6 1 vrf v1 dist 10 justadvert lo1 exit router bgp4 1 vrf v1 no safe-ebgp address uni flowspec local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn red uni2flow4 1 exit router bgp6 1 vrf v1 no safe-ebgp address uni flowspec local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn red uni2flow6 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni flowspec local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn flowspec-install exit router bgp6 1 vrf v1 no safe-ebgp address uni flowspec local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn flowspec-install exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.101 vrf v1 sou lo0 r2 tping 0 60 4321::101 vrf v1 sou lo0 r2 tping 100 60 2.2.2.201 vrf v1 sou lo0 r2 tping 100 60 4321::201 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp180.tst 0000664 0000000 0000000 00000002643 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+flowspecvpn over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp181.tst 0000664 0000000 0000000 00000003051 14716276021 0016650 0 ustar 00root root 0000000 0000000 description unicast+vpnmul over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp182.tst 0000664 0000000 0000000 00000003032 14716276021 0016650 0 ustar 00root root 0000000 0000000 description unicast+mdt over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mdt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mdt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mdt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mdt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp183.tst 0000664 0000000 0000000 00000004207 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+flowspec over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router uni2flow4 1 vrf v1 dist 10 justadvert lo1 exit router uni2flow6 1 vrf v1 dist 10 justadvert lo1 exit router bgp4 1 vrf v1 no safe-ebgp address uni flowspec local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn red uni2flow4 1 exit router bgp6 1 vrf v1 no safe-ebgp address uni flowspec local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn red uni2flow6 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni flowspec local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn flowspec-install exit router bgp6 1 vrf v1 no safe-ebgp address uni flowspec local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn flowspec-install exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.101 vrf v1 sou lo0 r2 tping 0 60 4321::101 vrf v1 sou lo0 r2 tping 100 60 2.2.2.201 vrf v1 sou lo0 r2 tping 100 60 4321::201 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp184.tst 0000664 0000000 0000000 00000003056 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+flowspecvpn over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp185.tst 0000664 0000000 0000000 00000003443 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+vpnmul over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni vpnmlt neigh 1.1.1.2 additional-path-tx uni vpnmlt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni vpnmlt neigh 1234:1::2 additional-path-tx uni vpnmlt red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni vpnmlt neigh 1.1.1.1 additional-path-tx uni vpnmlt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnmlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni vpnmlt neigh 1234:1::1 additional-path-tx uni vpnmlt red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp186.tst 0000664 0000000 0000000 00000003374 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+mdt over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mdt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni mdt neigh 1.1.1.2 additional-path-tx uni mdt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mdt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni mdt neigh 1234:1::2 additional-path-tx uni mdt red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mdt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni mdt neigh 1.1.1.1 additional-path-tx uni mdt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mdt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni mdt neigh 1234:1::1 additional-path-tx uni mdt red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp187.tst 0000664 0000000 0000000 00000004621 14716276021 0016662 0 ustar 00root root 0000000 0000000 description unicast+flowspec over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router uni2flow4 1 vrf v1 dist 10 justadvert lo1 exit router uni2flow6 1 vrf v1 dist 10 justadvert lo1 exit router bgp4 1 vrf v1 no safe-ebgp address uni flowspec local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni flowspec neigh 1.1.1.2 additional-path-tx uni flowspec red conn red uni2flow4 1 exit router bgp6 1 vrf v1 no safe-ebgp address uni flowspec local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni flowspec neigh 1234:1::2 additional-path-tx uni flowspec red conn red uni2flow6 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni flowspec local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni flowspec neigh 1.1.1.1 additional-path-tx uni flowspec red conn flowspec-install exit router bgp6 1 vrf v1 no safe-ebgp address uni flowspec local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni flowspec neigh 1234:1::1 additional-path-tx uni flowspec red conn flowspec-install exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.101 vrf v1 sou lo0 r2 tping 0 60 4321::101 vrf v1 sou lo0 r2 tping 100 60 2.2.2.201 vrf v1 sou lo0 r2 tping 100 60 4321::201 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp188.tst 0000664 0000000 0000000 00000003450 14716276021 0016662 0 ustar 00root root 0000000 0000000 description unicast+flowspecvpn over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni vpnflw neigh 1.1.1.2 additional-path-tx uni vpnflw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni vpnflw neigh 1234:1::2 additional-path-tx uni vpnflw red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni vpnflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni vpnflw neigh 1.1.1.1 additional-path-tx uni vpnflw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni vpnflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni vpnflw neigh 1234:1::1 additional-path-tx uni vpnflw red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp189.tst 0000664 0000000 0000000 00000007213 14716276021 0016664 0 ustar 00root root 0000000 0000000 description evpn/vxlan over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 evpn dat r1 output show ipv6 bgp 1 evpn dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show bridge 1 r1 output show bridge 2 output ../binTmp/rout-bgp-evpn2.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here is the bridge:
show:6here is the bridge:
show:7! freeRtr-24.11.16/cfg/rout-bgp190.tst 0000664 0000000 0000000 00000005517 14716276021 0016661 0 ustar 00root root 0000000 0000000 description evpn/vxlan over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp191.tst 0000664 0000000 0000000 00000006316 14716276021 0016660 0 ustar 00root root 0000000 0000000 description evpn/vxlan over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn neigh 2.2.2.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn neigh 4321::2 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn neigh 2.2.2.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn neigh 4321::1 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp192.tst 0000664 0000000 0000000 00000007771 14716276021 0016667 0 ustar 00root root 0000000 0000000 description evpn/vxlan over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp193.tst 0000664 0000000 0000000 00000005745 14716276021 0016667 0 ustar 00root root 0000000 0000000 description evpn/vxlan over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp194.tst 0000664 0000000 0000000 00000010237 14716276021 0016660 0 ustar 00root root 0000000 0000000 description evpn/vxlan over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp195.tst 0000664 0000000 0000000 00000015600 14716276021 0016660 0 ustar 00root root 0000000 0000000 description multisite evpn/vxlan over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 pmsi neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 pmsi neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp196.tst 0000664 0000000 0000000 00000011333 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ethersite evpn/vxlan over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:2 rt-both 1:2 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn exit bridge 2 rd 1:2 rt-both 1:2 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2.11 bridge-group 1 exit int eth2.12 bridge-group 2 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv6 addr 3333::4 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.0 ipv6 addr 4444::4 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.4 vrf v1 r2 tping 100 60 3333::4 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.4 vrf v1 r3 tping 100 60 3333::4 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 3333::1 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 3.3.3.2 vrf v1 r4 tping 100 60 3333::2 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 3.3.3.3 vrf v1 r4 tping 100 60 3333::3 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp197.tst 0000664 0000000 0000000 00000006015 14716276021 0016662 0 ustar 00root root 0000000 0000000 description evpn/vxlan over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp198.tst 0000664 0000000 0000000 00000006524 14716276021 0016670 0 ustar 00root root 0000000 0000000 description unicast+evpn/vxlan over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp199.tst 0000664 0000000 0000000 00000006733 14716276021 0016673 0 ustar 00root root 0000000 0000000 description unicast+evpn/vxlan over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp200.tst 0000664 0000000 0000000 00000007274 14716276021 0016653 0 ustar 00root root 0000000 0000000 description unicast+evpn/vxlan over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn uni neigh 2.2.2.2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn uni neigh 4321::2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn uni neigh 2.2.2.1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn uni neigh 4321::1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp201.tst 0000664 0000000 0000000 00000006375 14716276021 0016655 0 ustar 00root root 0000000 0000000 description evpn/vxlan over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp202.tst 0000664 0000000 0000000 00000006742 14716276021 0016654 0 ustar 00root root 0000000 0000000 description evpn/pbb+vpls/vxlan over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vxlan afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp203.tst 0000664 0000000 0000000 00000010702 14716276021 0016644 0 ustar 00root root 0000000 0000000 description evpn/cmac over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 evpn dat r1 output show ipv6 bgp 1 evpn dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show bridge 1 r1 output show bridge 2 r1 output show bridge 3 r1 output show bridge 4 output ../binTmp/rout-bgp-evpn3.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here is the bridge:
show:6here is the bridge:
show:7here is the bridge:
show:8here is the bridge:
show:9! freeRtr-24.11.16/cfg/rout-bgp204.tst 0000664 0000000 0000000 00000005620 14716276021 0016650 0 ustar 00root root 0000000 0000000 description evpn/cmac over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp205.tst 0000664 0000000 0000000 00000007577 14716276021 0016666 0 ustar 00root root 0000000 0000000 description evpn/cmac over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn neigh 2.2.2.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn neigh 4321::2 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn neigh 2.2.2.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn neigh 4321::1 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp206.tst 0000664 0000000 0000000 00000011252 14716276021 0016650 0 ustar 00root root 0000000 0000000 description evpn/cmac over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp207.tst 0000664 0000000 0000000 00000007226 14716276021 0016657 0 ustar 00root root 0000000 0000000 description evpn/cmac over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp208.tst 0000664 0000000 0000000 00000011520 14716276021 0016650 0 ustar 00root root 0000000 0000000 description evpn/cmac over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp209.tst 0000664 0000000 0000000 00000017612 14716276021 0016661 0 ustar 00root root 0000000 0000000 description multisite evpn/cmac over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 exit int bvi2 vrf for v1 ipv6 addr 4444::3 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::3 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both neigh 1234:1::4 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 pmsi neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 pmsi neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp210.tst 0000664 0000000 0000000 00000012170 14716276021 0016643 0 ustar 00root root 0000000 0000000 description ethersite evpn/cmac over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn exit bridge 4 rd 1:4 rt-both 1:4 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 3 exit int eth2.12 bridge-group 4 exit int bvi1 bridge-group 3 exit int bvi2 bridge-group 4 exit int bvi3 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn exit bridge 4 rd 1:4 rt-both 1:4 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 3 exit int eth2.12 bridge-group 4 exit int bvi1 bridge-group 3 exit int bvi2 bridge-group 4 exit int bvi3 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv6 addr 3333::4 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.0 ipv6 addr 4444::4 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.4 vrf v1 r2 tping 100 60 3333::4 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.4 vrf v1 r3 tping 100 60 3333::4 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 3333::1 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 3.3.3.2 vrf v1 r4 tping 100 60 3333::2 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 3.3.3.3 vrf v1 r4 tping 100 60 3333::3 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp211.tst 0000664 0000000 0000000 00000007276 14716276021 0016657 0 ustar 00root root 0000000 0000000 description evpn/cmac over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp212.tst 0000664 0000000 0000000 00000010005 14716276021 0016640 0 ustar 00root root 0000000 0000000 description unicast+evpn/cmac over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp213.tst 0000664 0000000 0000000 00000010214 14716276021 0016643 0 ustar 00root root 0000000 0000000 description unicast+evpn/cmac over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp214.tst 0000664 0000000 0000000 00000010555 14716276021 0016654 0 ustar 00root root 0000000 0000000 description unicast+evpn/cmac over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn uni neigh 2.2.2.2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn uni neigh 4321::2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn uni neigh 2.2.2.1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn uni neigh 4321::1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp215.tst 0000664 0000000 0000000 00000007550 14716276021 0016656 0 ustar 00root root 0000000 0000000 description evpn/cmac over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap cmac exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp216.tst 0000664 0000000 0000000 00000006735 14716276021 0016663 0 ustar 00root root 0000000 0000000 description evpn/pbb+vpls/cmac over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 3 afi-evpn 102 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap cmac afi-evpn 102 bridge 4 afi-evpn 102 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp217.tst 0000664 0000000 0000000 00000003335 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ibgp with ttl-security addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 permit 6 any all any all ttl 110-120 deny 6 any all any all permit all any all any all exit access-list test6 permit 6 any all any all ttl 110-120 deny 6 any all any all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv4 access-group-out test4 ipv6 access-group-out test6 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 ttl-sec 115 neigh 1.1.1.2 connection pass red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 ttl-sec 115 neigh 1234::2 connection pass red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 ttl-sec 115 neigh 1.1.1.1 connection act red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 ttl-sec 115 neigh 1234::1 connection act red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp218.tst 0000664 0000000 0000000 00000003425 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ebgp with ttl-security addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit access-list test4 permit 6 any all any all ttl 110-120 deny 6 any all any all permit all any all any all exit access-list test6 permit 6 any all any all ttl 110-120 deny 6 any all any all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 ipv4 access-group-out test4 ipv6 access-group-out test6 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 ttl-sec 115 neigh 1.1.1.2 connection pass red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 ttl-sec 115 neigh 1234::2 connection pass red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 ttl-sec 115 neigh 1.1.1.1 connection act red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 ttl-sec 115 neigh 1234::1 connection act red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp219.tst 0000664 0000000 0000000 00000005263 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm all neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set lrgcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match lrgcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp220.tst 0000664 0000000 0000000 00000005666 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with large community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm all neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set lrgcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match lrgcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp221.tst 0000664 0000000 0000000 00000015217 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp change in large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 send-comm all neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 send-comm all neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 send-comm all neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 send-comm all neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match lrgcomm 1:1234:5000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set lrgcomm 1:1234:1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match lrgcomm 1:1234:3000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set lrgcomm 1:1234:3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set lrgcomm 1:1234:5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set lrgcomm 1:1234:1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp222.tst 0000664 0000000 0000000 00000016012 14716276021 0016645 0 ustar 00root root 0000000 0000000 description bgp change in large community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 send-comm all neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 send-comm all neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 send-comm all neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 send-comm all neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match lrgcomm 1:1234:5000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set lrgcomm 1:1234:1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match lrgcomm 1:1234:3000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set lrgcomm 1:1234:3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set lrgcomm 1:1234:5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set lrgcomm 1:1234:1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp223.tst 0000664 0000000 0000000 00000005761 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 distance 123 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 distance 123 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 1 neigh 1.1.1.10 distance 123 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 1 neigh 1234:3::2 distance 123 red conn exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 freeRtr-24.11.16/cfg/rout-bgp224.tst 0000664 0000000 0000000 00000004713 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aspath length addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 1234 1234 1234 1234 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match pathlen 3-10 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp225.tst 0000664 0000000 0000000 00000004716 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aspath length addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 1234 1234 1234 1234 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if pathlen 3-10 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp226.tst 0000664 0000000 0000000 00000005316 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aspath length with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 1234 1234 1234 1234 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match pathlen 3-10 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp227.tst 0000664 0000000 0000000 00000005321 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aspath length with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 1234 1234 1234 1234 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if pathlen 3-10 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp228.tst 0000664 0000000 0000000 00000004263 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp229.tst 0000664 0000000 0000000 00000004264 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp230.tst 0000664 0000000 0000000 00000004660 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with locpref addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set locpref 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if locpref 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp231.tst 0000664 0000000 0000000 00000004647 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with origin addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set origin 1 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if origin 1 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp232.tst 0000664 0000000 0000000 00000004655 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set metric 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if metric 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp233.tst 0000664 0000000 0000000 00000004656 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aspath addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if aspath 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp234.tst 0000664 0000000 0000000 00000005301 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with extended community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set extcomm 1:1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if extcomm 1:1234:4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp235.tst 0000664 0000000 0000000 00000005117 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aigp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 aigp neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 aigp neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 aigp red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aigp 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aigp red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aigp red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if aigp 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 aigp red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp236.tst 0000664 0000000 0000000 00000005176 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with bandwidth addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 traffeng neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 traffeng neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 traffeng red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set bandwidth 8888 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 traffeng red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 traffeng red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if bandwidth 8888 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 traffeng red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp237.tst 0000664 0000000 0000000 00000004476 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp238.tst 0000664 0000000 0000000 00000004477 14716276021 0016670 0 ustar 00root root 0000000 0000000 description bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp239.tst 0000664 0000000 0000000 00000005263 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with locpref with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set locpref 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if locpref 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp240.tst 0000664 0000000 0000000 00000005252 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with origin with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set origin 1 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if origin 1 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp241.tst 0000664 0000000 0000000 00000005260 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with metric with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set metric 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if metric 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp242.tst 0000664 0000000 0000000 00000005700 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with standard community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set stdcomm 1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if stdcomm 1234:4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp243.tst 0000664 0000000 0000000 00000005260 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aspath with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if aspath 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp244.tst 0000664 0000000 0000000 00000005704 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with extended community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set extcomm 1:1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if extcomm 1:1234:4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp245.tst 0000664 0000000 0000000 00000005522 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aigp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 aigp neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 aigp neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 aigp red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aigp 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 aigp red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 aigp red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if aigp 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 aigp red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 aigp red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp246.tst 0000664 0000000 0000000 00000005601 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with bandwidth with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 traffeng neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 traffeng neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 traffeng red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set bandwidth 8888 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 traffeng red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 traffeng red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if bandwidth 8888 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 traffeng red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 traffeng red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp247.tst 0000664 0000000 0000000 00000005266 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm all neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set lrgcomm 1:1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if lrgcomm 1:1234:4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp248.tst 0000664 0000000 0000000 00000005671 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with large community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm all neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set lrgcomm 1:1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if lrgcomm 1:1234:4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp249.tst 0000664 0000000 0000000 00000004640 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ebgp with nexthop tracking routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-policy rm1 if distance 0 pass enif exit route-policy rm2 set aspath 3 3 3 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 nexthop route-policy rm1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in rm2 neigh 1.1.1.2 route-policy-out rm2 neigh 1.1.1.6 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 nexthop route-policy rm1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-in rm2 neigh 1234:1::2 route-policy-out rm2 neigh 1234:2::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-policy rm1 if distance 0 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 nexthop route-policy rm1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 nexthop route-policy rm1 neigh 1234:1::1 remote-as 1 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp250.tst 0000664 0000000 0000000 00000004564 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ibgp with nexthop tracking routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-policy rm1 if distance 0 pass enif exit route-policy rm2 set aspath 3 3 3 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 nexthop route-policy rm1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-policy-in rm2 neigh 1.1.1.2 route-policy-out rm2 neigh 1.1.1.6 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 nexthop route-policy rm1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-policy-in rm2 neigh 1234:1::2 route-policy-out rm2 neigh 1234:2::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-policy rm1 if distance 0 pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 nexthop route-policy rm1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 nexthop route-policy rm1 neigh 1234:1::1 remote-as 1 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp251.tst 0000664 0000000 0000000 00000011232 14716276021 0016646 0 ustar 00root root 0000000 0000000 description othervpns over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 ovpnuni dat r1 output show ipv6 bgp 1 ovpnuni dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show ipv4 route v2 r1 output show ipv6 route v2 r1 output show ipv4 route v3 r1 output show ipv6 route v3 r1 output show ipv4 route v4 r1 output show ipv6 route v4 output ../binTmp/rout-bgp-othervpn.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here are the ipv4 vpn routes:
show:6here are the ipv6 vpn routes:
show:7here are the ipv4 vpn routes:
show:8here are the ipv6 vpn routes:
show:9here are the ipv4 vpn routes:
show:10here are the ipv6 vpn routes:
show:11! freeRtr-24.11.16/cfg/rout-bgp252.tst 0000664 0000000 0000000 00000011407 14716276021 0016653 0 ustar 00root root 0000000 0000000 description othervpns over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp253.tst 0000664 0000000 0000000 00000007604 14716276021 0016660 0 ustar 00root root 0000000 0000000 description othervpns over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx ovpnuni neigh 2.2.2.2 additional-path-tx ovpnuni afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx ovpnuni neigh 4321::2 additional-path-tx ovpnuni afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx ovpnuni neigh 2.2.2.1 additional-path-tx ovpnuni afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx ovpnuni neigh 4321::1 additional-path-tx ovpnuni afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp254.tst 0000664 0000000 0000000 00000011111 14716276021 0016645 0 ustar 00root root 0000000 0000000 description othervpns over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp255.tst 0000664 0000000 0000000 00000007203 14716276021 0016655 0 ustar 00root root 0000000 0000000 description othervpns over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp256.tst 0000664 0000000 0000000 00000011356 14716276021 0016662 0 ustar 00root root 0000000 0000000 description othervpns over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp257.tst 0000664 0000000 0000000 00000017667 14716276021 0016676 0 ustar 00root root 0000000 0000000 description multisite othervpns over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 update lo0 neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::4 remote-as 1 neigh 1234:1::4 update lo0 neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $1b$ $1a$ int eth2 eth 0000.0000.4444 $2b$ $2a$ int eth3 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 send-comm both neigh 4321::3 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r2 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9.9.2.2 vrf v2 r1 tping 100 60 9992::2 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r2 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9992::2 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r2 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9.9.3.2 vrf v3 r1 tping 100 60 9993::2 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r2 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9993::2 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9994::2 vrf v4 freeRtr-24.11.16/cfg/rout-bgp258.tst 0000664 0000000 0000000 00000021735 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ethersite othervpns over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth2.12 vrf for v2 ipv4 addr 9.8.2.1 255.255.255.0 ipv6 addr 9982::1 ffff:ffff:ffff:ffff:: exit int eth2.13 vrf for v3 ipv4 addr 9.8.3.1 255.255.255.0 ipv6 addr 9983::1 ffff:ffff:ffff:ffff:: exit int eth2.14 vrf for v4 ipv4 addr 9.8.4.1 255.255.255.0 ipv6 addr 9984::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth2.12 vrf for v2 ipv4 addr 9.7.2.1 255.255.255.0 ipv6 addr 9972::1 ffff:ffff:ffff:ffff:: exit int eth2.13 vrf for v3 ipv4 addr 9.7.3.1 255.255.255.0 ipv6 addr 9973::1 ffff:ffff:ffff:ffff:: exit int eth2.14 vrf for v4 ipv4 addr 9.7.4.1 255.255.255.0 ipv6 addr 9974::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int eth1.12 vrf for v2 ipv4 addr 9.8.2.2 255.255.255.0 ipv6 addr 9982::2 ffff:ffff:ffff:ffff:: exit int eth1.13 vrf for v3 ipv4 addr 9.8.3.2 255.255.255.0 ipv6 addr 9983::2 ffff:ffff:ffff:ffff:: exit int eth1.14 vrf for v4 ipv4 addr 9.8.4.2 255.255.255.0 ipv6 addr 9984::2 ffff:ffff:ffff:ffff:: exit ipv4 route v2 0.0.0.0 0.0.0.0 9.8.2.1 ipv4 route v3 0.0.0.0 0.0.0.0 9.8.3.1 ipv4 route v4 0.0.0.0 0.0.0.0 9.8.4.1 ipv6 route v2 :: :: 9982::1 ipv6 route v3 :: :: 9983::1 ipv6 route v4 :: :: 9984::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int eth1.12 vrf for v2 ipv4 addr 9.7.2.2 255.255.255.0 ipv6 addr 9972::2 ffff:ffff:ffff:ffff:: exit int eth1.13 vrf for v3 ipv4 addr 9.7.3.2 255.255.255.0 ipv6 addr 9973::2 ffff:ffff:ffff:ffff:: exit int eth1.14 vrf for v4 ipv4 addr 9.7.4.2 255.255.255.0 ipv6 addr 9974::2 ffff:ffff:ffff:ffff:: exit ipv4 route v2 0.0.0.0 0.0.0.0 9.7.2.1 ipv4 route v3 0.0.0.0 0.0.0.0 9.7.3.1 ipv4 route v4 0.0.0.0 0.0.0.0 9.7.4.1 ipv6 route v2 :: :: 9972::1 ipv6 route v3 :: :: 9973::1 ipv6 route v4 :: :: 9974::1 ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r1 tping 100 60 9.8.2.2 vrf v2 r1 tping 100 60 9.7.2.2 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r3 tping 100 60 9.8.2.2 vrf v2 r3 tping 100 60 9.7.2.2 vrf v2 r1 tping 100 60 9992::3 vrf v2 r1 tping 100 60 9982::2 vrf v2 r1 tping 100 60 9972::2 vrf v2 r3 tping 100 60 9992::1 vrf v2 r3 tping 100 60 9982::2 vrf v2 r3 tping 100 60 9972::2 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r1 tping 100 60 9.8.3.2 vrf v3 r1 tping 100 60 9.7.3.2 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r3 tping 100 60 9.8.3.2 vrf v3 r3 tping 100 60 9.7.3.2 vrf v3 r1 tping 100 60 9993::3 vrf v3 r1 tping 100 60 9983::2 vrf v3 r1 tping 100 60 9973::2 vrf v3 r3 tping 100 60 9993::1 vrf v3 r3 tping 100 60 9983::2 vrf v3 r3 tping 100 60 9973::2 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9.8.4.2 vrf v4 r1 tping 100 60 9.7.4.2 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9.8.4.2 vrf v4 r3 tping 100 60 9.7.4.2 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9984::2 vrf v4 r1 tping 100 60 9974::2 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9984::2 vrf v4 r3 tping 100 60 9974::2 vrf v4 r4 tping 100 60 9.9.2.1 vrf v2 r4 tping 100 60 9.9.2.3 vrf v2 r4 tping 100 60 9.8.2.2 vrf v2 r4 tping 100 60 9.7.2.2 vrf v2 r5 tping 100 60 9.9.2.1 vrf v2 r5 tping 100 60 9.9.2.3 vrf v2 r5 tping 100 60 9.8.2.2 vrf v2 r5 tping 100 60 9.7.2.2 vrf v2 r4 tping 100 60 9992::1 vrf v2 r4 tping 100 60 9992::3 vrf v2 r4 tping 100 60 9982::2 vrf v2 r4 tping 100 60 9972::2 vrf v2 r5 tping 100 60 9992::1 vrf v2 r5 tping 100 60 9992::3 vrf v2 r5 tping 100 60 9982::2 vrf v2 r5 tping 100 60 9972::2 vrf v2 r4 tping 100 60 9.9.3.1 vrf v3 r4 tping 100 60 9.9.3.3 vrf v3 r4 tping 100 60 9.8.3.2 vrf v3 r4 tping 100 60 9.7.3.2 vrf v3 r5 tping 100 60 9.9.3.1 vrf v3 r5 tping 100 60 9.9.3.3 vrf v3 r5 tping 100 60 9.8.3.2 vrf v3 r5 tping 100 60 9.7.3.2 vrf v3 r4 tping 100 60 9993::1 vrf v3 r4 tping 100 60 9993::3 vrf v3 r4 tping 100 60 9983::2 vrf v3 r4 tping 100 60 9973::2 vrf v3 r5 tping 100 60 9993::1 vrf v3 r5 tping 100 60 9993::3 vrf v3 r5 tping 100 60 9983::2 vrf v3 r5 tping 100 60 9973::2 vrf v3 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9.8.4.2 vrf v4 r4 tping 100 60 9.7.4.2 vrf v4 r5 tping 100 60 9.9.4.1 vrf v4 r5 tping 100 60 9.9.4.3 vrf v4 r5 tping 100 60 9.8.4.2 vrf v4 r5 tping 100 60 9.7.4.2 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9984::2 vrf v4 r4 tping 100 60 9974::2 vrf v4 r5 tping 100 60 9994::1 vrf v4 r5 tping 100 60 9994::3 vrf v4 r5 tping 100 60 9984::2 vrf v4 r5 tping 100 60 9974::2 vrf v4 freeRtr-24.11.16/cfg/rout-bgp259.tst 0000664 0000000 0000000 00000007253 14716276021 0016666 0 ustar 00root root 0000000 0000000 description othervpns over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp260.tst 0000664 0000000 0000000 00000007762 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+othervpns over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp261.tst 0000664 0000000 0000000 00000010171 14716276021 0016650 0 ustar 00root root 0000000 0000000 description unicast+othervpns over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp262.tst 0000664 0000000 0000000 00000010562 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+othervpns over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx ovpnuni uni neigh 2.2.2.2 additional-path-tx ovpnuni uni red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx ovpnuni uni neigh 4321::2 additional-path-tx ovpnuni uni red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx ovpnuni uni neigh 2.2.2.1 additional-path-tx ovpnuni uni red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx ovpnuni uni neigh 4321::1 additional-path-tx ovpnuni uni red conn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp263.tst 0000664 0000000 0000000 00000007525 14716276021 0016663 0 ustar 00root root 0000000 0000000 description othervpns over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp264.tst 0000664 0000000 0000000 00000002624 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+mvpn over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mvpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mvpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mvpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mvpn local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp265.tst 0000664 0000000 0000000 00000003037 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+mvpn over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mvpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mvpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mvpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mvpn local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp266.tst 0000664 0000000 0000000 00000003411 14716276021 0016654 0 ustar 00root root 0000000 0000000 description unicast+mvpn over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mvpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni mvpn neigh 1.1.1.2 additional-path-tx uni mvpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mvpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni mvpn neigh 1234:1::2 additional-path-tx uni mvpn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mvpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni mvpn neigh 1.1.1.1 additional-path-tx uni mvpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mvpn local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni mvpn neigh 1234:1::1 additional-path-tx uni mvpn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp267.tst 0000664 0000000 0000000 00000002635 14716276021 0016664 0 ustar 00root root 0000000 0000000 description unicast+othermvpn over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omvpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omvpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omvpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omvpn local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp268.tst 0000664 0000000 0000000 00000003050 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+othermvpn over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omvpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omvpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omvpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omvpn local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp269.tst 0000664 0000000 0000000 00000003432 14716276021 0016662 0 ustar 00root root 0000000 0000000 description unicast+othermvpn over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omvpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni omvpn neigh 1.1.1.2 additional-path-tx uni omvpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omvpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni omvpn neigh 1234:1::2 additional-path-tx uni omvpn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omvpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni omvpn neigh 1.1.1.1 additional-path-tx uni omvpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omvpn local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni omvpn neigh 1234:1::1 additional-path-tx uni omvpn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp270.tst 0000664 0000000 0000000 00000002654 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+otherflowspecvpn over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp271.tst 0000664 0000000 0000000 00000003067 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+otherflowspecvpn over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp272.tst 0000664 0000000 0000000 00000003471 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+otherflowspecvpn over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni ovpnflw neigh 1.1.1.2 additional-path-tx uni ovpnflw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni ovpnflw neigh 1234:1::2 additional-path-tx uni ovpnflw red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni ovpnflw neigh 1.1.1.1 additional-path-tx uni ovpnflw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni ovpnflw neigh 1234:1::1 additional-path-tx uni ovpnflw red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp273.tst 0000664 0000000 0000000 00000002647 14716276021 0016664 0 ustar 00root root 0000000 0000000 description unicast+othervpnmul over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp274.tst 0000664 0000000 0000000 00000003062 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+othervpnmul over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp275.tst 0000664 0000000 0000000 00000003464 14716276021 0016664 0 ustar 00root root 0000000 0000000 description unicast+othervpnmul over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni ovpnmlt neigh 1.1.1.2 additional-path-tx uni ovpnmlt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni ovpnmlt neigh 1234:1::2 additional-path-tx uni ovpnmlt red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni ovpnmlt neigh 1.1.1.1 additional-path-tx uni ovpnmlt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ovpnmlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni ovpnmlt neigh 1234:1::1 additional-path-tx uni ovpnmlt red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp276.tst 0000664 0000000 0000000 00000002635 14716276021 0016664 0 ustar 00root root 0000000 0000000 description unicast+multicast over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni multi local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni multi local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni multi local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni multi local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp277.tst 0000664 0000000 0000000 00000003050 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+multicast over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni multi local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni multi local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni multi local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni multi local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp278.tst 0000664 0000000 0000000 00000003432 14716276021 0016662 0 ustar 00root root 0000000 0000000 description unicast+multicast over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni multi local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni multi neigh 1.1.1.2 additional-path-tx uni multi red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni multi local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni multi neigh 1234:1::2 additional-path-tx uni multi red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni multi local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni multi neigh 1.1.1.1 additional-path-tx uni multi red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni multi local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni multi neigh 1234:1::1 additional-path-tx uni multi red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp279.tst 0000664 0000000 0000000 00000020245 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp csc vpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 4 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.1 neigh 4321::4 remote-as 4 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.2 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::2 router bgp4 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.1 neigh 3.3.3.102 remote-as 2 neigh 3.3.3.102 update lo0 neigh 3.3.3.102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.1 neigh 3333::102 remote-as 2 neigh 3333::102 update lo0 neigh 3333::102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::1 ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.6 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.102 255.255.255.255 ipv6 addr 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.5 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::5 router bgp4 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.6 remote-as 3 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:2::2 remote-as 3 red conn red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 3.3.3.101 remote-as 2 neigh 3.3.3.101 update lo0 neigh 3.3.3.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 3333::101 remote-as 2 neigh 3333::101 update lo0 neigh 3333::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 4 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.2 neigh 4321::1 remote-as 4 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r2 tping 100 60 3.3.3.102 vrf v1 sou lo0 r2 tping 100 60 3333::102 vrf v1 sou lo0 r4 tping 100 60 3.3.3.101 vrf v1 sou lo0 r4 tping 100 60 3333::101 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v2 sou lo1 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 2.2.2.4 vrf v2 sou lo1 r2 tping 100 60 4321::1 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r2 tping 100 60 4321::4 vrf v2 sou lo1 r4 tping 100 60 2.2.2.1 vrf v2 sou lo1 r4 tping 100 60 2.2.2.2 vrf v2 sou lo1 r4 tping 100 60 2.2.2.4 vrf v2 sou lo1 r4 tping 100 60 4321::1 vrf v2 sou lo1 r4 tping 100 60 4321::2 vrf v2 sou lo1 r4 tping 100 60 4321::4 vrf v2 sou lo1 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.2 vrf v1 sou lo0 r5 tping 100 60 2.2.2.3 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 4321::2 vrf v1 sou lo0 r5 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4.4.4.4 vrf v3 sou lo1 r1 tping 100 60 4444::4 vrf v3 sou lo1 r5 tping 100 60 4.4.4.1 vrf v3 sou lo1 r5 tping 100 60 4444::1 vrf v3 sou lo1 freeRtr-24.11.16/cfg/rout-bgp280.tst 0000664 0000000 0000000 00000003632 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+olab over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp281.tst 0000664 0000000 0000000 00000004044 14716276021 0016654 0 ustar 00root root 0000000 0000000 description unicast+olab over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp282.tst 0000664 0000000 0000000 00000004416 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+olab over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-rx uni olab neigh 1.1.1.2 additional-path-tx uni olab afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-rx uni olab neigh 1234:1::2 additional-path-Tx uni olab afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx uni olab neigh 1.1.1.1 additional-path-tx uni olab afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx uni olab neigh 1234:1::1 additional-path-tx uni olab afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp283.tst 0000664 0000000 0000000 00000020244 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ebgp prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.4 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::3 remote-as 3 neigh 1234:1::4 remote-as 4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp284.tst 0000664 0000000 0000000 00000020676 14716276021 0016670 0 ustar 00root root 0000000 0000000 description confed bgp prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed neigh 1234:1::3 remote-as 3 neigh 1234:1::3 confed neigh 1234:1::4 remote-as 4 neigh 1234:1::4 confed red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp285.tst 0000664 0000000 0000000 00000020303 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ibgp rr prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp286.tst 0000664 0000000 0000000 00000020466 14716276021 0016667 0 ustar 00root root 0000000 0000000 description bgp route server prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::4 remote-as 4 neigh 1234:1::4 route-server red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp287.tst 0000664 0000000 0000000 00000020335 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ibgp conquer rr prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 conquer neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 conquer neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp288.tst 0000664 0000000 0000000 00000020545 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ibgp fullmesh prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.4 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::4 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp289.tst 0000664 0000000 0000000 00000021037 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ebgp prefix movement with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 4 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp290.tst 0000664 0000000 0000000 00000021471 14716276021 0016657 0 ustar 00root root 0000000 0000000 description confed bgp prefix movement with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 resend-packet ipv6 resend-packet exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 confed neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 3 neigh 1234:1::3 confed neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 4 neigh 1234:1::4 confed neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 soft-reconfig advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 soft-reconfig advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 soft-reconfig advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 soft-reconfig advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp291.tst 0000664 0000000 0000000 00000021076 14716276021 0016661 0 ustar 00root root 0000000 0000000 description ibgp rr prefix movement with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp292.tst 0000664 0000000 0000000 00000021261 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp route server prefix movement with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 route-server neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 4 neigh 1234:1::4 route-server neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp293.tst 0000664 0000000 0000000 00000021130 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ibgp conquer rr prefix movement with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 conquer neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 conquer neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp294.tst 0000664 0000000 0000000 00000022110 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ibgp fullmesh prefix movement with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp295.tst 0000664 0000000 0000000 00000020320 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp csc othervpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 4 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.1 neigh 4321::4 remote-as 4 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.2 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::2 router bgp4 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn red bgp4 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.1 neigh 3.3.3.102 remote-as 2 neigh 3.3.3.102 update lo0 neigh 3.3.3.102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red bgp6 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.1 neigh 3333::102 remote-as 2 neigh 3333::102 update lo0 neigh 3333::102 send-comm both exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::1 ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.6 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.102 255.255.255.255 ipv6 addr 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.5 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::5 router bgp4 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.6 remote-as 3 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:2::2 remote-as 3 red conn red bgp4 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.2 neigh 3.3.3.101 remote-as 2 neigh 3.3.3.101 update lo0 neigh 3.3.3.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red bgp6 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.2 neigh 3333::101 remote-as 2 neigh 3333::101 update lo0 neigh 3333::101 send-comm both exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 4 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.2 neigh 4321::1 remote-as 4 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r2 tping 100 60 3.3.3.102 vrf v1 sou lo0 r2 tping 100 60 3333::102 vrf v1 sou lo0 r4 tping 100 60 3.3.3.101 vrf v1 sou lo0 r4 tping 100 60 3333::101 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v2 sou lo1 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 2.2.2.4 vrf v2 sou lo1 r2 tping 100 60 4321::1 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r2 tping 100 60 4321::4 vrf v2 sou lo1 r4 tping 100 60 2.2.2.1 vrf v2 sou lo1 r4 tping 100 60 2.2.2.2 vrf v2 sou lo1 r4 tping 100 60 2.2.2.4 vrf v2 sou lo1 r4 tping 100 60 4321::1 vrf v2 sou lo1 r4 tping 100 60 4321::2 vrf v2 sou lo1 r4 tping 100 60 4321::4 vrf v2 sou lo1 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.2 vrf v1 sou lo0 r5 tping 100 60 2.2.2.3 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 4321::2 vrf v1 sou lo0 r5 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4.4.4.4 vrf v3 sou lo1 r1 tping 100 60 4444::4 vrf v3 sou lo1 r5 tping 100 60 4.4.4.1 vrf v3 sou lo1 r5 tping 100 60 4444::1 vrf v3 sou lo1 freeRtr-24.11.16/cfg/rout-bgp296.tst 0000664 0000000 0000000 00000020430 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp prefix hammering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ int eth5 eth 0000.0000.1111 $5a$ $5b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int eth4 bridge-gr 1 exit int eth5 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::6 remote-as 1 neigh 1234:1::6 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.255 ipv6 addr 4444::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit route-map all action permit exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.0 ipv6 addr 1234:1::5 ffff:ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit route-map all action permit exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.0 ipv6 addr 1234:1::6 ffff:ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2222::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2222::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2222::4 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2222::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2222::4 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2222::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 r5 tping 100 60 1.1.1.1 vrf v1 r5 send pack bgpgen v1 eth1 1.1.1.1 1 3.3.3.0/24 all 100000 r5 read sent r6 tping 100 60 1234:1::1 vrf v1 r6 send pack bgpgen v1 eth1 1234:1::1 1 3333::/120 all 100000 r6 read sent r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2222::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2222::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2222::4 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2222::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2222::4 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2222::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 r5 send end r5 read finish r6 send end r6 read finish r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2222::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2222::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2222::4 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2222::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2222::4 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2222::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp297.tst 0000664 0000000 0000000 00000020236 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp csc vpn with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 4 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.1 neigh 4321::4 remote-as 4 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.2 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::2 ipv4 route v2 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v2 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.1 neigh 3.3.3.102 remote-as 2 neigh 3.3.3.102 update lo0 neigh 3.3.3.102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.1 neigh 3333::102 remote-as 2 neigh 3333::102 update lo0 neigh 3333::102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::1 ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.6 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.102 255.255.255.255 ipv6 addr 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.5 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::5 ipv4 route v2 2.2.2.4 255.255.255.255 1.1.1.6 ipv6 route v2 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 3.3.3.101 remote-as 2 neigh 3.3.3.101 update lo0 neigh 3.3.3.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 3333::101 remote-as 2 neigh 3333::101 update lo0 neigh 3333::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 4 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.2 neigh 4321::1 remote-as 4 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r2 tping 100 60 3.3.3.102 vrf v1 sou lo0 r2 tping 100 60 3333::102 vrf v1 sou lo0 r4 tping 100 60 3.3.3.101 vrf v1 sou lo0 r4 tping 100 60 3333::101 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v2 sou lo1 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 2.2.2.4 vrf v2 sou lo1 r2 tping 100 60 4321::1 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r2 tping 100 60 4321::4 vrf v2 sou lo1 r4 tping 100 60 2.2.2.1 vrf v2 sou lo1 r4 tping 100 60 2.2.2.2 vrf v2 sou lo1 r4 tping 100 60 2.2.2.4 vrf v2 sou lo1 r4 tping 100 60 4321::1 vrf v2 sou lo1 r4 tping 100 60 4321::2 vrf v2 sou lo1 r4 tping 100 60 4321::4 vrf v2 sou lo1 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.2 vrf v1 sou lo0 r5 tping 100 60 2.2.2.3 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 4321::2 vrf v1 sou lo0 r5 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4.4.4.4 vrf v3 sou lo1 r1 tping 100 60 4444::4 vrf v3 sou lo1 r5 tping 100 60 4.4.4.1 vrf v3 sou lo1 r5 tping 100 60 4444::1 vrf v3 sou lo1 freeRtr-24.11.16/cfg/rout-bgp298.tst 0000664 0000000 0000000 00000020311 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp csc othervpn with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 4 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.1 neigh 4321::4 remote-as 4 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.2 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::2 ipv4 route v2 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v2 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.1 neigh 3.3.3.102 remote-as 2 neigh 3.3.3.102 update lo0 neigh 3.3.3.102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red stat exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.1 neigh 3333::102 remote-as 2 neigh 3333::102 update lo0 neigh 3333::102 send-comm both exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::1 ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.6 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.102 255.255.255.255 ipv6 addr 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.5 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::5 ipv4 route v2 2.2.2.4 255.255.255.255 1.1.1.6 ipv6 route v2 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.2 neigh 3.3.3.101 remote-as 2 neigh 3.3.3.101 update lo0 neigh 3.3.3.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red stat afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red stat exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.2 neigh 3333::101 remote-as 2 neigh 3333::101 update lo0 neigh 3333::101 send-comm both exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 4 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.2 neigh 4321::1 remote-as 4 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r2 tping 100 60 3.3.3.102 vrf v1 sou lo0 r2 tping 100 60 3333::102 vrf v1 sou lo0 r4 tping 100 60 3.3.3.101 vrf v1 sou lo0 r4 tping 100 60 3333::101 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v2 sou lo1 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 2.2.2.4 vrf v2 sou lo1 r2 tping 100 60 4321::1 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r2 tping 100 60 4321::4 vrf v2 sou lo1 r4 tping 100 60 2.2.2.1 vrf v2 sou lo1 r4 tping 100 60 2.2.2.2 vrf v2 sou lo1 r4 tping 100 60 2.2.2.4 vrf v2 sou lo1 r4 tping 100 60 4321::1 vrf v2 sou lo1 r4 tping 100 60 4321::2 vrf v2 sou lo1 r4 tping 100 60 4321::4 vrf v2 sou lo1 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.2 vrf v1 sou lo0 r5 tping 100 60 2.2.2.3 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 4321::2 vrf v1 sou lo0 r5 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4.4.4.4 vrf v3 sou lo1 r1 tping 100 60 4444::4 vrf v3 sou lo1 r5 tping 100 60 4.4.4.1 vrf v3 sou lo1 r5 tping 100 60 4444::1 vrf v3 sou lo1 freeRtr-24.11.16/cfg/rout-bgp299.tst 0000664 0000000 0000000 00000002624 14716276021 0016667 0 ustar 00root root 0000000 0000000 description unicast+mspw over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mspw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mspw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mspw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mspw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp300.tst 0000664 0000000 0000000 00000003037 14716276021 0016645 0 ustar 00root root 0000000 0000000 description unicast+mspw over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mspw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mspw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mspw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mspw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp301.tst 0000664 0000000 0000000 00000003411 14716276021 0016642 0 ustar 00root root 0000000 0000000 description unicast+mspw over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mspw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni mspw neigh 1.1.1.2 additional-path-tx uni mspw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mspw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni mspw neigh 1234:1::2 additional-path-tx uni mspw red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mspw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni mspw neigh 1.1.1.1 additional-path-tx uni mspw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mspw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni mspw neigh 1234:1::1 additional-path-tx uni mspw red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp302.tst 0000664 0000000 0000000 00000010722 14716276021 0016646 0 ustar 00root root 0000000 0000000 description bgp with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp local-as 1 segrout 10 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 1 segrout 10 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 segrout red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp local-as 2 segrout 10 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrout neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 2 segrout 10 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 segrout neigh 1234:2::2 remote-as 3 neigh 1234:2::2 segrout red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp local-as 3 segrout 10 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 segrout neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 3 segrout 10 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 segrout neigh 1234:3::2 remote-as 4 neigh 1234:3::2 segrout red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp local-as 4 segrout 10 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 4 segrout 10 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 segrout red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp303.tst 0000664 0000000 0000000 00000012557 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ebgp vpn client addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 internal-vpn neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 attribset red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 internal-vpn neigh 1234:2::2 remote-as 3 neigh 1234:2::2 attribset red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 attribset neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 attribset red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 attribset neigh 1234:3::2 remote-as 4 neigh 1234:3::2 attribset red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 attribset neigh 1.1.1.14 remote-as 5 neigh 1.1.1.14 internal-vpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 attribset neigh 1234:4::2 remote-as 5 neigh 1234:4::2 internal-vpn red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 5 router-id 4.4.4.5 neigh 1.1.1.13 remote-as 4 neigh 1.1.1.13 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 5 router-id 6.6.6.5 neigh 1234:4::1 remote-as 4 neigh 1234:4::1 route-map-in rm1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 0 60 2.2.2.5 vrf v1 sou lo0 r2 tping 0 60 4321::5 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.5 vrf v1 sou lo0 r3 tping 0 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 0 60 2.2.2.1 vrf v1 sou lo0 r4 tping 0 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.5 vrf v1 sou lo0 r1 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r1 tping 0 60 2.2.2.4 vrf v1 sou lo0 r1 tping 0 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 0 60 2.2.2.2 vrf v1 sou lo0 r5 tping 0 60 4321::2 vrf v1 sou lo0 r5 tping 0 60 2.2.2.3 vrf v1 sou lo0 r5 tping 0 60 4321::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp304.tst 0000664 0000000 0000000 00000012557 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ibgp vpn client addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 2 neigh 1.1.1.1 internal-vpn neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 attribset red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 2 neigh 1234:1::1 internal-vpn neigh 1234:2::2 remote-as 3 neigh 1234:2::2 attribset red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 attribset neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 attribset red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 attribset neigh 1234:3::2 remote-as 4 neigh 1234:3::2 attribset red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 attribset neigh 1.1.1.14 remote-as 4 neigh 1.1.1.14 internal-vpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 attribset neigh 1234:4::2 remote-as 4 neigh 1234:4::2 internal-vpn red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.5 neigh 1.1.1.13 remote-as 4 neigh 1.1.1.13 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.5 neigh 1234:4::1 remote-as 4 neigh 1234:4::1 route-map-in rm1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 0 60 2.2.2.5 vrf v1 sou lo0 r2 tping 0 60 4321::5 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.5 vrf v1 sou lo0 r3 tping 0 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 0 60 2.2.2.1 vrf v1 sou lo0 r4 tping 0 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.5 vrf v1 sou lo0 r1 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r1 tping 0 60 2.2.2.4 vrf v1 sou lo0 r1 tping 0 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 0 60 2.2.2.2 vrf v1 sou lo0 r5 tping 0 60 4321::2 vrf v1 sou lo0 r5 tping 0 60 2.2.2.3 vrf v1 sou lo0 r5 tping 0 60 4321::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp305.tst 0000664 0000000 0000000 00000013545 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ebgp vpn client with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 internal-vpn neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 attribset neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 internal-vpn neigh 1234:2::2 remote-as 3 neigh 1234:2::2 attribset neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 attribset neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 attribset neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 attribset neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 4 neigh 1234:3::2 attribset neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 attribset neigh 1.1.1.9 soft-reconfig neigh 1.1.1.14 remote-as 5 neigh 1.1.1.14 soft-reconfig neigh 1.1.1.14 internal-vpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 attribset neigh 1234:3::1 soft-reconfig neigh 1234:4::2 remote-as 5 neigh 1234:4::2 soft-reconfig neigh 1234:4::2 internal-vpn red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 5 router-id 4.4.4.5 neigh 1.1.1.13 remote-as 4 neigh 1.1.1.13 soft-reconfig neigh 1.1.1.13 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 5 router-id 6.6.6.5 neigh 1234:4::1 remote-as 4 neigh 1234:4::1 soft-reconfig neigh 1234:4::1 route-map-in rm1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 0 60 2.2.2.5 vrf v1 sou lo0 r2 tping 0 60 4321::5 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.5 vrf v1 sou lo0 r3 tping 0 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 0 60 2.2.2.1 vrf v1 sou lo0 r4 tping 0 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.5 vrf v1 sou lo0 r1 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r1 tping 0 60 2.2.2.4 vrf v1 sou lo0 r1 tping 0 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 0 60 2.2.2.2 vrf v1 sou lo0 r5 tping 0 60 4321::2 vrf v1 sou lo0 r5 tping 0 60 2.2.2.3 vrf v1 sou lo0 r5 tping 0 60 4321::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp306.tst 0000664 0000000 0000000 00000013545 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ibgp vpn client with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 2 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 internal-vpn neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 attribset neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 2 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 internal-vpn neigh 1234:2::2 remote-as 3 neigh 1234:2::2 attribset neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 attribset neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 attribset neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 attribset neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 4 neigh 1234:3::2 attribset neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 attribset neigh 1.1.1.9 soft-reconfig neigh 1.1.1.14 remote-as 4 neigh 1.1.1.14 soft-reconfig neigh 1.1.1.14 internal-vpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 attribset neigh 1234:3::1 soft-reconfig neigh 1234:4::2 remote-as 4 neigh 1234:4::2 soft-reconfig neigh 1234:4::2 internal-vpn red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath .*3.* sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.5 neigh 1.1.1.13 remote-as 4 neigh 1.1.1.13 soft-reconfig neigh 1.1.1.13 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.5 neigh 1234:4::1 remote-as 4 neigh 1234:4::1 soft-reconfig neigh 1234:4::1 route-map-in rm1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 0 60 2.2.2.5 vrf v1 sou lo0 r2 tping 0 60 4321::5 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.5 vrf v1 sou lo0 r3 tping 0 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 0 60 2.2.2.1 vrf v1 sou lo0 r4 tping 0 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.5 vrf v1 sou lo0 r1 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r1 tping 0 60 2.2.2.4 vrf v1 sou lo0 r1 tping 0 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 0 60 2.2.2.2 vrf v1 sou lo0 r5 tping 0 60 4321::2 vrf v1 sou lo0 r5 tping 0 60 2.2.2.3 vrf v1 sou lo0 r5 tping 0 60 4321::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp307.tst 0000664 0000000 0000000 00000002534 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp symmetric compression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 compress both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 compress both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 compress both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 compress both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp308.tst 0000664 0000000 0000000 00000002533 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp asymmetric compression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 compress tran red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 compress tran red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 compress rec red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 compress rec red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp309.tst 0000664 0000000 0000000 00000002523 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp none compression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 compress rec red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 compress rec red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 compress rec red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 compress rec red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp310.tst 0000664 0000000 0000000 00000013535 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp prefix packing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 2222::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 2222::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo6 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 2222::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo7 vrf for v1 ipv4 addr 2.2.2.7 255.255.255.255 ipv6 addr 2222::7 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo8 vrf for v1 ipv4 addr 2.2.2.8 255.255.255.255 ipv6 addr 2222::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.0.0.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo6 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo7 vrf for v1 ipv4 addr 3.3.3.7 255.255.255.255 ipv6 addr 3333::7 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo8 vrf for v1 ipv4 addr 3.3.3.8 255.255.255.255 ipv6 addr 3333::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.0.0.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3333::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 3.3.3.5 vrf v1 r1 tping 100 60 3333::5 vrf v1 r1 tping 100 60 3.3.3.6 vrf v1 r1 tping 100 60 3333::6 vrf v1 r1 tping 100 60 3.3.3.7 vrf v1 r1 tping 100 60 3333::7 vrf v1 r1 tping 100 60 3.3.3.8 vrf v1 r1 tping 100 60 3333::8 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 2.2.2.5 vrf v1 r2 tping 100 60 2222::5 vrf v1 r2 tping 100 60 2.2.2.6 vrf v1 r2 tping 100 60 2222::6 vrf v1 r2 tping 100 60 2.2.2.7 vrf v1 r2 tping 100 60 2222::7 vrf v1 r2 tping 100 60 2.2.2.8 vrf v1 r2 tping 100 60 2222::8 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send no red conn r1 send exit r1 send router bgp6 1 r1 send no red conn r1 send end r1 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3333::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 3.3.3.5 vrf v1 r1 tping 100 60 3333::5 vrf v1 r1 tping 100 60 3.3.3.6 vrf v1 r1 tping 100 60 3333::6 vrf v1 r1 tping 100 60 3.3.3.7 vrf v1 r1 tping 100 60 3333::7 vrf v1 r1 tping 100 60 3.3.3.8 vrf v1 r1 tping 100 60 3333::8 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 2222::1 vrf v1 r2 tping 0 60 2.2.2.2 vrf v1 r2 tping 0 60 2222::2 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 2222::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 2222::4 vrf v1 r2 tping 0 60 2.2.2.5 vrf v1 r2 tping 0 60 2222::5 vrf v1 r2 tping 0 60 2.2.2.6 vrf v1 r2 tping 0 60 2222::6 vrf v1 r2 tping 0 60 2.2.2.7 vrf v1 r2 tping 0 60 2222::7 vrf v1 r2 tping 0 60 2.2.2.8 vrf v1 r2 tping 0 60 2222::8 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send red conn r1 send exit r1 send router bgp6 1 r1 send red conn r1 send end r1 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3333::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 3.3.3.5 vrf v1 r1 tping 100 60 3333::5 vrf v1 r1 tping 100 60 3.3.3.6 vrf v1 r1 tping 100 60 3333::6 vrf v1 r1 tping 100 60 3.3.3.7 vrf v1 r1 tping 100 60 3333::7 vrf v1 r1 tping 100 60 3.3.3.8 vrf v1 r1 tping 100 60 3333::8 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2222::1 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::4 vrf v1 r2 tping 100 60 2.2.2.5 vrf v1 r2 tping 100 60 2222::5 vrf v1 r2 tping 100 60 2.2.2.6 vrf v1 r2 tping 100 60 2222::6 vrf v1 r2 tping 100 60 2.2.2.7 vrf v1 r2 tping 100 60 2222::7 vrf v1 r2 tping 100 60 2.2.2.8 vrf v1 r2 tping 100 60 2222::8 vrf v1 freeRtr-24.11.16/cfg/rout-bgp311.tst 0000664 0000000 0000000 00000004714 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ebgp with nexthop tracking interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-policy rm1 pass exit route-policy rm2 set aspath 3 3 3 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 nexthop route-policy rm1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in rm2 neigh 1.1.1.2 route-policy-out rm2 neigh 1.1.1.6 remote-as 2 neigh 1.1.1.6 fall-over red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 nexthop route-policy rm1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-in rm2 neigh 1234:1::2 route-policy-out rm2 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 fall-over red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-policy rm1 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 nexthop route-policy rm1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 fall-over red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 nexthop route-policy rm1 neigh 1234:1::1 remote-as 1 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 fall-over red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp312.tst 0000664 0000000 0000000 00000004624 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ibgp with nexthop tracking interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-policy rm1 pass exit route-policy rm2 set aspath 3 3 3 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 nexthop route-policy rm1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-policy-in rm2 neigh 1.1.1.2 route-policy-out rm2 neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 fall-over red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 nexthop route-policy rm1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-policy-in rm2 neigh 1234:1::2 route-policy-out rm2 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 fall-over red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit route-policy rm1 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 nexthop route-policy rm1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 fall-over red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 nexthop route-policy rm1 neigh 1234:1::1 remote-as 1 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 fall-over red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp313.tst 0000664 0000000 0000000 00000010672 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp local-as 1 bier 256 10 1 3 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 bier red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 1 bier 256 10 1 3 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 bier red conn exit int tun1 tun sou lo0 tun dest 9.9.9.9 tun doma 2.2.2.4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo0 tun dest 9999::9 tun doma 4321::4 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp local-as 2 bier 256 10 2 3 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 bier neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 bier red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 2 bier 256 10 2 3 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 bier neigh 1234:2::2 remote-as 3 neigh 1234:2::2 bier red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp local-as 3 bier 256 10 3 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 bier neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 bier red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 3 bier 256 10 3 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 bier neigh 1234:3::2 remote-as 4 neigh 1234:3::2 bier red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp local-as 4 bier 256 10 4 3 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 bier red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 4 bier 256 10 4 3 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 bier red conn exit int tun1 tun sou lo0 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo0 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.4 vrf v1 sou lo0 r4 tping 0 20 2.2.2.1 vrf v1 sou lo0 r1 tping 0 20 4321::4 vrf v1 sou lo0 r4 tping 0 20 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 4321::1112 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 4321::1111 vrf v1 freeRtr-24.11.16/cfg/rout-bgp314.tst 0000664 0000000 0000000 00000011620 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with rd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-map rm1 sequence 10 act deny sequence 10 match rd 1:3 sequence 20 act perm exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp315.tst 0000664 0000000 0000000 00000011573 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with rd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-policy rm1 if rd 1:3 drop else pass enif exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 vpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 vpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp316.tst 0000664 0000000 0000000 00000012027 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with rd with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-map rm1 sequence 10 act deny sequence 10 match rd 1:3 sequence 20 act perm exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 soft-reconfig neigh 2.2.2.3 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 soft-reconfig neigh 4321::3 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp317.tst 0000664 0000000 0000000 00000012002 14716276021 0016645 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with rd with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-policy rm1 if rd 1:3 drop else pass enif exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 soft-reconfig neigh 2.2.2.3 vpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 soft-reconfig neigh 4321::3 vpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp318.tst 0000664 0000000 0000000 00000015124 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with afi addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit route-map rm1 sequence 10 act deny sequence 10 match safi 128 sequence 10 match rd 1:3 sequence 20 act deny sequence 20 match safi 65 sequence 20 match rd 1:2 sequence 30 act perm exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 vpn-route-map-in rm1 neigh 2.2.2.3 evpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 vpn-route-map-in rm1 neigh 4321::3 evpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 0 60 3333::2 vrf v1 r1 tping 0 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 0 60 3333::1 vrf v1 r3 tping 0 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp319.tst 0000664 0000000 0000000 00000015074 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with afi addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit route-policy rm1 if safi 128 if rd 1:3 drop else pass enif elsif safi 65 if rd 1:2 drop else pass enif else pass enif exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 vpn-route-policy-in rm1 neigh 2.2.2.3 evpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 vpn-route-policy-in rm1 neigh 4321::3 evpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 0 60 3333::2 vrf v1 r1 tping 0 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 0 60 3333::1 vrf v1 r3 tping 0 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp320.tst 0000664 0000000 0000000 00000015333 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with afi with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit route-map rm1 sequence 10 act deny sequence 10 match safi 128 sequence 10 match rd 1:3 sequence 20 act deny sequence 20 match safi 65 sequence 20 match rd 1:2 sequence 30 act perm exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 soft-reconfig neigh 2.2.2.3 vpn-route-map-in rm1 neigh 2.2.2.3 evpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 soft-reconfig neigh 4321::3 vpn-route-map-in rm1 neigh 4321::3 evpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 0 60 3333::2 vrf v1 r1 tping 0 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 0 60 3333::1 vrf v1 r3 tping 0 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp321.tst 0000664 0000000 0000000 00000015303 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with afi with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit route-policy rm1 if safi 128 if rd 1:3 drop else pass enif elsif safi 65 if rd 1:2 drop else pass enif else pass enif exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 soft-reconfig neigh 2.2.2.3 vpn-route-policy-in rm1 neigh 2.2.2.3 evpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 soft-reconfig neigh 4321::3 vpn-route-policy-in rm1 neigh 4321::3 evpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:1 rt-both 1:1 mac-learn private exit bridge 3 rd 1:2 rt-both 1:2 mac-learn private exit bridge 4 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpnuni vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 0 60 9.9.3.3 vrf v3 r3 tping 0 60 9.9.3.1 vrf v3 r1 tping 0 60 9993::3 vrf v3 r3 tping 0 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 0 60 3333::2 vrf v1 r1 tping 0 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 0 60 3333::1 vrf v1 r3 tping 0 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp322.tst 0000664 0000000 0000000 00000002656 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp hard reset addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send clear ipv4 bgp 1 peer 1.1.1.2 hard r1 send clear ipv6 bgp 1 peer 1234:1::2 hard r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp323.tst 0000664 0000000 0000000 00000003071 14716276021 0016650 0 ustar 00root root 0000000 0000000 description bgp hard reset with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send clear ipv4 bgp 1 peer 1.1.1.2 hard r1 send clear ipv6 bgp 1 peer 1234:1::2 hard r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp324.tst 0000664 0000000 0000000 00000002665 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp soft in reset addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send clear ipv4 bgp 1 peer 1.1.1.2 in uni r1 send clear ipv6 bgp 1 peer 1234:1::2 in uni r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp325.tst 0000664 0000000 0000000 00000003100 14716276021 0016643 0 ustar 00root root 0000000 0000000 description bgp soft in reset with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send clear ipv4 bgp 1 peer 1.1.1.2 in uni r1 send clear ipv6 bgp 1 peer 1234:1::2 in uni r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp326.tst 0000664 0000000 0000000 00000002670 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp soft out reset addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send clear ipv4 bgp 1 peer 1.1.1.2 out uni r1 send clear ipv6 bgp 1 peer 1234:1::2 out uni r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp327.tst 0000664 0000000 0000000 00000003103 14716276021 0016650 0 ustar 00root root 0000000 0000000 description bgp soft out reset with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send clear ipv4 bgp 1 peer 1.1.1.2 out uni r1 send clear ipv6 bgp 1 peer 1234:1::2 out uni r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp328.tst 0000664 0000000 0000000 00000002624 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+srte over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni srte local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni srte local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni srte local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni srte local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp329.tst 0000664 0000000 0000000 00000003037 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+srte over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni srte local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni srte local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni srte local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni srte local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp330.tst 0000664 0000000 0000000 00000003411 14716276021 0016644 0 ustar 00root root 0000000 0000000 description unicast+srte over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni srte local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni srte neigh 1.1.1.2 additional-path-tx uni srte red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni srte local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni srte neigh 1234:1::2 additional-path-tx uni srte red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni srte local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni srte neigh 1.1.1.1 additional-path-tx uni srte red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni srte local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni srte neigh 1234:1::1 additional-path-tx uni srte red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp331.tst 0000664 0000000 0000000 00000030262 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp interas vpn with asbr peering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 1234:3::2 remote-as 2 neigh 1234:3::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.3 neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.3 neigh 1234:3::1 remote-as 1 neigh 1234:3::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 2 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3333::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3333::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3333::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3333::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3333::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3333::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3333::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3333::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3333::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3333::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3333::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3333::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3333::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3333::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3333::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3333::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3333::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3333::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3333::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3333::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3333::6 vrf v2 sou lo1 freeRtr-24.11.16/cfg/rout-bgp332.tst 0000664 0000000 0000000 00000033541 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp interas vpn with rr peering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.2 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.2 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.6 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.6 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.6 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.1 next-hop-unch neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect neigh 2.2.2.3 next-hop-unch neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::1 next-hop-unch neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflect neigh 4321::3 next-hop-unch neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp4 2 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.10 remote-as 2 red conn red stat exit router bgp6 2 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.3 neigh 1234:3::2 remote-as 2 red conn red stat exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.3 neigh 1.1.1.9 remote-as 1 red conn red stat exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.3 neigh 1234:3::1 remote-as 1 red conn red stat exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.13 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.13 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.13 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 route-reflect neigh 2.2.2.4 next-hop-unch neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 route-reflect neigh 2.2.2.6 next-hop-unch neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 route-reflect neigh 4321::4 next-hop-unch neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 route-reflect neigh 4321::6 next-hop-unch neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.17 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.17 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.17 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3333::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3333::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3333::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3333::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3333::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3333::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3333::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3333::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3333::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3333::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3333::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3333::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3333::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3333::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3333::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3333::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3333::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3333::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3333::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3333::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3333::6 vrf v2 sou lo1 freeRtr-24.11.16/cfg/rout-bgp333.tst 0000664 0000000 0000000 00000030513 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp interas othervpn with asbr peering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflect exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 2 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234:3::2 remote-as 2 neigh 1234:3::2 send-comm both exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.3 neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 2 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.3 neigh 1234:3::1 remote-as 1 neigh 1234:3::1 send-comm both exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 route-reflect exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3333::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3333::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3333::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3333::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3333::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3333::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3333::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3333::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3333::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3333::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3333::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3333::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3333::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3333::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3333::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3333::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3333::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3333::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3333::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3333::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3333::6 vrf v2 sou lo1 freeRtr-24.11.16/cfg/rout-bgp334.tst 0000664 0000000 0000000 00000033722 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp interas othervpn with rr peering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.2 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.2 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.6 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.6 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.6 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.1 next-hop-unch neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect neigh 2.2.2.3 next-hop-unch neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::1 next-hop-unch neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflect neigh 4321::3 next-hop-unch neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 next-hop-unch exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both exit router bgp4 2 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.10 remote-as 2 red conn red stat exit router bgp6 2 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.3 neigh 1234:3::2 remote-as 2 red conn red stat exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.3 neigh 1.1.1.9 remote-as 1 red conn red stat exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.3 neigh 1234:3::1 remote-as 1 red conn red stat exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.13 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.13 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.13 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 route-reflect neigh 2.2.2.4 next-hop-unch neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 route-reflect neigh 2.2.2.6 next-hop-unch neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 route-reflect neigh 4321::4 next-hop-unch neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 route-reflect neigh 4321::6 next-hop-unch neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 next-hop-unch exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.17 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.17 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.17 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3333::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3333::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3333::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3333::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3333::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3333::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3333::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3333::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3333::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3333::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3333::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3333::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3333::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3333::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3333::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3333::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3333::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3333::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3333::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3333::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3333::6 vrf v2 sou lo1 freeRtr-24.11.16/cfg/rout-bgp335.tst 0000664 0000000 0000000 00000032133 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp interas csc vpn with asbr peering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit int pweth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 pseudo v2 lo1 pweompls 3.3.3.6 1234 exit int pweth2 vrf for v1 ipv4 addr 5.5.5.1 255.255.255.0 pseudo v2 lo1 pweompls 3333::6 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 1.1.1.10 255.255.255.255 1.1.1.10 mplsimp ipv6 route v1 1234:3::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 mplsimp router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 1234:3::2 remote-as 2 neigh 1234:3::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 1.1.1.9 255.255.255.255 1.1.1.9 mplsimp ipv6 route v1 1234:3::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 mplsimp router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.3 neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.3 neigh 1234:3::1 remote-as 1 neigh 1234:3::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 2 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit int pweth1 vrf for v1 ipv4 addr 4.4.4.6 255.255.255.0 pseudo v2 lo1 pweompls 3.3.3.1 1234 exit int pweth2 vrf for v1 ipv4 addr 5.5.5.6 255.255.255.0 pseudo v2 lo1 pweompls 3333::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3333::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3333::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3333::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3333::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3333::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3333::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3333::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3333::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3333::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3333::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3333::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3333::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3333::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3333::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3333::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3333::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3333::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3333::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3333::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3333::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3333::6 vrf v2 sou lo1 r1 tping 100 60 4.4.4.6 vrf v1 r6 tping 100 60 4.4.4.1 vrf v1 r1 tping 100 60 5.5.5.6 vrf v1 r6 tping 100 60 5.5.5.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp336.tst 0000664 0000000 0000000 00000034770 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp interas csc vpn with rr peering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.2 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.2 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.2 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit int pweth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 pseudo v2 lo1 pweompls 3.3.3.6 1234 exit int pweth2 vrf for v1 ipv4 addr 5.5.5.1 255.255.255.0 pseudo v2 lo1 pweompls 3333::6 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.6 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.6 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.6 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.1 next-hop-unch neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflect neigh 2.2.2.3 next-hop-unch neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::1 next-hop-unch neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflect neigh 4321::3 next-hop-unch neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp4 2 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.10 remote-as 2 red conn red stat exit router bgp6 2 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.3 neigh 1234:3::2 remote-as 2 red conn red stat exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.3 neigh 1.1.1.9 remote-as 1 red conn red stat exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.3 neigh 1234:3::1 remote-as 1 red conn red stat exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.13 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.13 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.13 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 route-reflect neigh 2.2.2.4 next-hop-unch neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 route-reflect neigh 2.2.2.6 next-hop-unch neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 route-reflect neigh 4321::4 next-hop-unch neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 route-reflect neigh 4321::6 next-hop-unch neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 next-hop-unch afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.17 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.17 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.17 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit int pweth1 vrf for v1 ipv4 addr 4.4.4.6 255.255.255.0 pseudo v2 lo1 pweompls 3.3.3.1 1234 exit int pweth2 vrf for v1 ipv4 addr 5.5.5.6 255.255.255.0 pseudo v2 lo1 pweompls 3333::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3333::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3333::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3333::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3333::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3333::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3333::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3333::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3333::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3333::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3333::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3333::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3333::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3333::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3333::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3333::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3333::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3333::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3333::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3333::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3333::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3333::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3333::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3333::6 vrf v2 sou lo1 r1 tping 100 60 4.4.4.6 vrf v1 r6 tping 100 60 4.4.4.1 vrf v1 r1 tping 100 60 5.5.5.6 vrf v1 r6 tping 100 60 5.5.5.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp337.tst 0000664 0000000 0000000 00000011475 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp dual core vpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:0 label-mode per-prefix exit vrf def v3 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v2 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp6 2 exit router bgp4 2 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.3 remote-as 2 neigh 2.2.2.3 update lo1 neigh 2.2.2.3 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp4 1 exit router bgp6 2 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::3 remote-as 2 neigh 4321::3 update lo1 neigh 4321::3 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp6 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v2 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:2 rt-both 1:2 exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v2 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo1 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.3 neigh 4321::2 remote-as 2 neigh 4321::2 update lo1 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r3 tping 100 60 2.2.2.2 vrf v2 sou lo1 r3 tping 100 60 4321::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 freeRtr-24.11.16/cfg/rout-bgp338.tst 0000664 0000000 0000000 00000012617 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp dual core csc vpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit int pweth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 pseudo v3 lo2 pweompls 3.3.3.3 1234 exit int pweth2 vrf for v1 ipv4 addr 5.5.5.1 255.255.255.0 pseudo v3 lo2 pweompls 3333::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:0 label-mode per-prefix exit vrf def v3 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v2 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp4 2 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp6 2 exit router bgp4 2 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.3 remote-as 2 neigh 2.2.2.3 update lo1 neigh 2.2.2.3 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp4 1 exit router bgp6 2 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::3 remote-as 2 neigh 4321::3 update lo1 neigh 4321::3 send-comm both afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 red bgp6 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v2 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:2 rt-both 1:2 label-mode per-prefix exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v2 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v2 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo1 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v2 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.3 neigh 4321::2 remote-as 2 neigh 4321::2 update lo1 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit int pweth1 vrf for v2 ipv4 addr 4.4.4.3 255.255.255.0 pseudo v3 lo2 pweompls 3.3.3.1 1234 exit int pweth2 vrf for v2 ipv4 addr 5.5.5.3 255.255.255.0 pseudo v3 lo2 pweompls 3333::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r3 tping 100 60 2.2.2.2 vrf v2 sou lo1 r3 tping 100 60 4321::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 4.4.4.3 vrf v1 r3 tping 100 60 4.4.4.1 vrf v2 r1 tping 100 60 5.5.5.3 vrf v1 r3 tping 100 60 5.5.5.1 vrf v2 freeRtr-24.11.16/cfg/rout-bgp339.tst 0000664 0000000 0000000 00000011463 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp hub and spoke vpn multiple rt import addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-export 1:1 rt-import 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-export 1:2 rt-import 1:1 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-export 1:3 rt-import 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 0 60 3.3.3.3 vrf v3 sou lo2 r1 tping 0 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 0 60 3.3.3.1 vrf v3 sou lo2 r3 tping 0 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 freeRtr-24.11.16/cfg/rout-bgp340.tst 0000664 0000000 0000000 00000011463 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp hub and spoke vpn multiple rt export addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-export 1:2 rt-import 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-export 1:1 1:3 rt-import 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-export 1:2 rt-import 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 0 60 3.3.3.3 vrf v3 sou lo2 r1 tping 0 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 0 60 3.3.3.1 vrf v3 sou lo2 r3 tping 0 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 freeRtr-24.11.16/cfg/rout-bgp341.tst 0000664 0000000 0000000 00000012212 14716276021 0016645 0 ustar 00root root 0000000 0000000 description bgp vpn with export list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list p4 permit 3.3.3.0/24 ge 32 le 32 exit prefix-list p6 permit 3333::/64 ge 128 le 128 exit vrf def v3 rd 1:3 rt-both 1:3 export4list p4 export6list p6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r2 tping 0 60 3.3.3.1 vrf v3 sou lo3 r2 tping 0 60 3333::1 vrf v3 sou lo3 r2 tping 0 60 3.3.3.3 vrf v3 sou lo3 r2 tping 0 60 3333::3 vrf v3 sou lo3 freeRtr-24.11.16/cfg/rout-bgp342.tst 0000664 0000000 0000000 00000012216 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp vpn with import list addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list p4 permit 3.3.3.0/24 ge 32 le 32 exit prefix-list p6 permit 3333::/64 ge 128 le 128 exit vrf def v3 rd 1:3 rt-both 1:3 import4list p4 import6list p6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r2 tping 0 60 3.3.3.1 vrf v3 sou lo3 r2 tping 0 60 3333::1 vrf v3 sou lo3 r2 tping 100 60 3.3.3.3 vrf v3 sou lo3 r2 tping 100 60 3333::3 vrf v3 sou lo3 freeRtr-24.11.16/cfg/rout-bgp343.tst 0000664 0000000 0000000 00000012225 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp vpn with export map addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit route-map rm4 match network 3.3.3.0/24 ge 32 le 32 exit route-map rm6 match network 3333::/64 ge 128 le 128 exit vrf def v3 rd 1:3 rt-both 1:3 export4map rm4 export6map rm6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r2 tping 0 60 3.3.3.1 vrf v3 sou lo3 r2 tping 0 60 3333::1 vrf v3 sou lo3 r2 tping 0 60 3.3.3.3 vrf v3 sou lo3 r2 tping 0 60 3333::3 vrf v3 sou lo3 freeRtr-24.11.16/cfg/rout-bgp344.tst 0000664 0000000 0000000 00000012231 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp vpn with import map addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit route-map rm4 match network 3.3.3.0/24 ge 32 le 32 exit route-map rm6 match network 3333::/64 ge 128 le 128 exit vrf def v3 rd 1:3 rt-both 1:3 import4map rm4 import6map rm6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r2 tping 0 60 3.3.3.1 vrf v3 sou lo3 r2 tping 0 60 3333::1 vrf v3 sou lo3 r2 tping 100 60 3.3.3.3 vrf v3 sou lo3 r2 tping 100 60 3333::3 vrf v3 sou lo3 freeRtr-24.11.16/cfg/rout-bgp345.tst 0000664 0000000 0000000 00000012272 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp vpn with export policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit route-policy rp4 if network 3.3.3.0/24 ge 32 le 32 pass enif exit route-policy rp6 if network 3333::/64 ge 128 le 128 pass enif exit vrf def v3 rd 1:3 rt-both 1:3 export4policy rp4 export6policy rp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r2 tping 0 60 3.3.3.1 vrf v3 sou lo3 r2 tping 0 60 3333::1 vrf v3 sou lo3 r2 tping 0 60 3.3.3.3 vrf v3 sou lo3 r2 tping 0 60 3333::3 vrf v3 sou lo3 freeRtr-24.11.16/cfg/rout-bgp346.tst 0000664 0000000 0000000 00000012276 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp vpn with import policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit route-policy rp4 if network 3.3.3.0/24 ge 32 le 32 pass enif exit route-policy rp6 if network 3333::/64 ge 128 le 128 pass enif exit vrf def v3 rd 1:3 rt-both 1:3 import4policy rp4 import6policy rp6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflector neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 route-reflector neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 route-reflector afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v3 sou lo2 r1 tping 100 60 3333::2 vrf v3 sou lo2 r1 tping 100 60 3.3.3.3 vrf v3 sou lo2 r1 tping 100 60 3333::3 vrf v3 sou lo2 r2 tping 100 60 3.3.3.1 vrf v3 sou lo2 r2 tping 100 60 3333::1 vrf v3 sou lo2 r2 tping 100 60 3.3.3.3 vrf v3 sou lo2 r2 tping 100 60 3333::3 vrf v3 sou lo2 r3 tping 100 60 3.3.3.1 vrf v3 sou lo2 r3 tping 100 60 3333::1 vrf v3 sou lo2 r3 tping 100 60 3.3.3.2 vrf v3 sou lo2 r3 tping 100 60 3333::2 vrf v3 sou lo2 r2 tping 0 60 3.3.3.1 vrf v3 sou lo3 r2 tping 0 60 3333::1 vrf v3 sou lo3 r2 tping 100 60 3.3.3.3 vrf v3 sou lo3 r2 tping 100 60 3333::3 vrf v3 sou lo3 freeRtr-24.11.16/cfg/rout-bgp347.tst 0000664 0000000 0000000 00000006614 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpns over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp348.tst 0000664 0000000 0000000 00000005026 14716276021 0016661 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp349.tst 0000664 0000000 0000000 00000005173 14716276021 0016665 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp350.tst 0000664 0000000 0000000 00000002531 14716276021 0016650 0 ustar 00root root 0000000 0000000 description unicast+olab over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni olab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp351.tst 0000664 0000000 0000000 00000004106 14716276021 0016651 0 ustar 00root root 0000000 0000000 description unicast+olab over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni olab local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni olab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni olab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflect neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp352.tst 0000664 0000000 0000000 00000002763 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+olab over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp353.tst 0000664 0000000 0000000 00000004237 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+olab over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni olab local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni olab local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-server neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp354.tst 0000664 0000000 0000000 00000003421 14716276021 0016653 0 ustar 00root root 0000000 0000000 description olab over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp355.tst 0000664 0000000 0000000 00000006704 14716276021 0016663 0 ustar 00root root 0000000 0000000 description vpns over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp356.tst 0000664 0000000 0000000 00000005116 14716276021 0016660 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp357.tst 0000664 0000000 0000000 00000005263 14716276021 0016664 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp358.tst 0000664 0000000 0000000 00000003511 14716276021 0016657 0 ustar 00root root 0000000 0000000 description olab over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp359.tst 0000664 0000000 0000000 00000010411 14716276021 0016655 0 ustar 00root root 0000000 0000000 description vpns over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp360.tst 0000664 0000000 0000000 00000006717 14716276021 0016663 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp361.tst 0000664 0000000 0000000 00000007065 14716276021 0016661 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp362.tst 0000664 0000000 0000000 00000005002 14716276021 0016647 0 ustar 00root root 0000000 0000000 description olab over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address olab local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp363.tst 0000664 0000000 0000000 00000010504 14716276021 0016653 0 ustar 00root root 0000000 0000000 description vpns over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.3 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp364.tst 0000664 0000000 0000000 00000007012 14716276021 0016654 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp365.tst 0000664 0000000 0000000 00000007160 14716276021 0016661 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp366.tst 0000664 0000000 0000000 00000005075 14716276021 0016665 0 ustar 00root root 0000000 0000000 description olab over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp367.tst 0000664 0000000 0000000 00000010542 14716276021 0016661 0 ustar 00root root 0000000 0000000 description vpns over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 segrou afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.3 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 segrou afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp368.tst 0000664 0000000 0000000 00000007050 14716276021 0016662 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp369.tst 0000664 0000000 0000000 00000007216 14716276021 0016667 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp370.tst 0000664 0000000 0000000 00000005133 14716276021 0016653 0 ustar 00root root 0000000 0000000 description olab over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp371.tst 0000664 0000000 0000000 00000007022 14716276021 0016653 0 ustar 00root root 0000000 0000000 description vpns over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp372.tst 0000664 0000000 0000000 00000005234 14716276021 0016657 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp373.tst 0000664 0000000 0000000 00000005401 14716276021 0016654 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp374.tst 0000664 0000000 0000000 00000003627 14716276021 0016665 0 ustar 00root root 0000000 0000000 description olab over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp375.tst 0000664 0000000 0000000 00000007443 14716276021 0016666 0 ustar 00root root 0000000 0000000 description vpns over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx vpnuni ovpnuni neigh 1.1.1.2 additional-path-tx vpnuni ovpnuni afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 segrou neigh 1234::2 additional-path-rx vpnuni ovpnuni neigh 1234::2 additional-path-tx vpnuni ovpnuni afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx vpnuni ovpnuni neigh 1.1.1.1 additional-path-tx vpnuni ovpnuni afi-vrf v3 ena afi-vrf v3 srv6 tun1 afi-vrf v3 red conn afi-ovrf v3 ena afi-ovrf v3 srv6 tun1 afi-ovrf v3 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 segrou neigh 1234::1 additional-path-rx vpnuni ovpnuni neigh 1234::1 additional-path-tx vpnuni ovpnuni afi-vrf v2 ena afi-vrf v2 srv6 tun1 afi-vrf v2 red conn afi-vrf v4 ena afi-vrf v4 srv6 tun1 afi-vrf v4 red conn afi-ovrf v2 ena afi-ovrf v2 srv6 tun1 afi-ovrf v2 red conn afi-ovrf v4 ena afi-ovrf v4 srv6 tun1 afi-ovrf v4 red conn exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 9.9.2.3 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp376.tst 0000664 0000000 0000000 00000005535 14716276021 0016667 0 ustar 00root root 0000000 0000000 description evpn/pbb over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx evpn neigh 1.1.1.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 additional-path-rx evpn neigh 1234::2 additional-path-tx evpn afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx evpn neigh 1.1.1.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 additional-path-rx evpn neigh 1234::1 additional-path-tx evpn afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp377.tst 0000664 0000000 0000000 00000005702 14716276021 0016664 0 ustar 00root root 0000000 0000000 description evpn/cmac over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx evpn neigh 1.1.1.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 additional-path-rx evpn neigh 1234::2 additional-path-tx evpn afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx evpn neigh 1.1.1.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap cmac exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 additional-path-rx evpn neigh 1234::1 additional-path-tx evpn afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap cmac exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp378.tst 0000664 0000000 0000000 00000004130 14716276021 0016657 0 ustar 00root root 0000000 0000000 description olab over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx olab neigh 1.1.1.2 additional-path-tx olab afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 additional-path-rx olab neigh 1234::2 additional-path-tx olab afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx olab neigh 1.1.1.1 additional-path-tx olab afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 additional-path-rx olab neigh 1234::1 additional-path-tx olab afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp379.tst 0000664 0000000 0000000 00000010702 14716276021 0016662 0 ustar 00root root 0000000 0000000 description evpn/vpws over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r1 output show ipv4 bgp 1 sum r1 output show ipv6 bgp 1 sum r1 output show ipv4 bgp 1 evpn dat r1 output show ipv6 bgp 1 evpn dat r1 output show ipv4 route v1 r1 output show ipv6 route v1 r1 output show bridge 1 r1 output show bridge 2 r1 output show bridge 3 r1 output show bridge 4 output ../binTmp/rout-bgp-evpn4.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5here is the bridge:
show:6here is the bridge:
show:7here is the bridge:
show:8here is the bridge:
show:9! freeRtr-24.11.16/cfg/rout-bgp380.tst 0000664 0000000 0000000 00000005620 14716276021 0016655 0 ustar 00root root 0000000 0000000 description evpn/vpws over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp381.tst 0000664 0000000 0000000 00000007577 14716276021 0016673 0 ustar 00root root 0000000 0000000 description evpn/vpws over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn neigh 2.2.2.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn neigh 4321::2 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn neigh 2.2.2.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn neigh 4321::1 additional-path-tx evpn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp382.tst 0000664 0000000 0000000 00000011252 14716276021 0016655 0 ustar 00root root 0000000 0000000 description evpn/vpws over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp383.tst 0000664 0000000 0000000 00000007226 14716276021 0016664 0 ustar 00root root 0000000 0000000 description evpn/vpws over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp384.tst 0000664 0000000 0000000 00000011520 14716276021 0016655 0 ustar 00root root 0000000 0000000 description evpn/vpws over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both neigh 1234:1::3 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp385.tst 0000664 0000000 0000000 00000012170 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ethersite evpn/vpws over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn exit bridge 4 rd 1:4 rt-both 1:4 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 3 exit int eth2.12 bridge-group 4 exit int bvi1 bridge-group 3 exit int bvi2 bridge-group 4 exit int bvi3 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn exit bridge 4 rd 2:4 rt-both 1:4 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2.11 bridge-group 3 exit int eth2.12 bridge-group 4 exit int bvi1 bridge-group 3 exit int bvi2 bridge-group 4 exit int bvi3 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.0 ipv6 addr 3333::3 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.3 255.255.255.0 ipv6 addr 4444::3 ffff:: exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.0 ipv6 addr 3333::4 ffff:: exit int eth1.12 vrf for v1 ipv4 addr 4.4.4.4 255.255.255.0 ipv6 addr 4444::4 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r1 tping 100 60 4.4.4.3 vrf v1 r1 tping 100 60 4444::3 vrf v1 r1 tping 100 60 3.3.3.4 vrf v1 r1 tping 100 60 3333::4 vrf v1 r1 tping 100 60 4.4.4.4 vrf v1 r1 tping 100 60 4444::4 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 r2 tping 100 60 3.3.3.3 vrf v1 r2 tping 100 60 3333::3 vrf v1 r2 tping 100 60 4.4.4.3 vrf v1 r2 tping 100 60 4444::3 vrf v1 r2 tping 100 60 3.3.3.4 vrf v1 r2 tping 100 60 3333::4 vrf v1 r2 tping 100 60 4.4.4.4 vrf v1 r2 tping 100 60 4444::4 vrf v1 r3 tping 100 60 3.3.3.1 vrf v1 r3 tping 100 60 3333::1 vrf v1 r3 tping 100 60 4.4.4.1 vrf v1 r3 tping 100 60 4444::1 vrf v1 r3 tping 100 60 3.3.3.2 vrf v1 r3 tping 100 60 3333::2 vrf v1 r3 tping 100 60 4.4.4.2 vrf v1 r3 tping 100 60 4444::2 vrf v1 r3 tping 100 60 3.3.3.4 vrf v1 r3 tping 100 60 3333::4 vrf v1 r3 tping 100 60 4.4.4.4 vrf v1 r3 tping 100 60 4444::4 vrf v1 r4 tping 100 60 3.3.3.1 vrf v1 r4 tping 100 60 3333::1 vrf v1 r4 tping 100 60 4.4.4.1 vrf v1 r4 tping 100 60 4444::1 vrf v1 r4 tping 100 60 3.3.3.2 vrf v1 r4 tping 100 60 3333::2 vrf v1 r4 tping 100 60 4.4.4.2 vrf v1 r4 tping 100 60 4444::2 vrf v1 r4 tping 100 60 3.3.3.3 vrf v1 r4 tping 100 60 3333::3 vrf v1 r4 tping 100 60 4.4.4.3 vrf v1 r4 tping 100 60 4444::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp386.tst 0000664 0000000 0000000 00000007276 14716276021 0016674 0 ustar 00root root 0000000 0000000 description evpn/vpws over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp387.tst 0000664 0000000 0000000 00000010005 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+evpn/vpws over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp388.tst 0000664 0000000 0000000 00000010214 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+evpn/vpws over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 soft-reconfig red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 soft-reconfig red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp389.tst 0000664 0000000 0000000 00000010555 14716276021 0016671 0 ustar 00root root 0000000 0000000 description unicast+evpn/vpws over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 additional-path-rx evpn uni neigh 2.2.2.2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 additional-path-rx evpn uni neigh 4321::2 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 additional-path-rx evpn uni neigh 2.2.2.1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 additional-path-rx evpn uni neigh 4321::1 additional-path-tx evpn uni red conn afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp390.tst 0000664 0000000 0000000 00000007550 14716276021 0016662 0 ustar 00root root 0000000 0000000 description evpn/vpws over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit bridge 3 rd 2:3 rt-both 1:3 mac-learn private exit bridge 4 rd 2:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 3 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 101 encap vpws afi-evpn 102 bridge 4 afi-evpn 102 update lo0 afi-evpn 102 encap vpws exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp391.tst 0000664 0000000 0000000 00000005173 14716276021 0016662 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp392.tst 0000664 0000000 0000000 00000005263 14716276021 0016663 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp393.tst 0000664 0000000 0000000 00000007065 14716276021 0016666 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp394.tst 0000664 0000000 0000000 00000007160 14716276021 0016663 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp395.tst 0000664 0000000 0000000 00000007216 14716276021 0016666 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 pmsi neigh 1.1.1.3 segrou afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 send-comm both neigh 1234::3 pmsi neigh 1234::3 segrou afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp396.tst 0000664 0000000 0000000 00000005401 14716276021 0016661 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp397.tst 0000664 0000000 0000000 00000005702 14716276021 0016666 0 ustar 00root root 0000000 0000000 description evpn/vpws over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 pmsi neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx evpn neigh 1.1.1.2 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 send-comm both neigh 1234::2 pmsi neigh 1234::2 segrou neigh 1234::2 additional-path-rx evpn neigh 1234::2 additional-path-tx evpn afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit bridge 1 rd 2:1 rt-both 1:1 mac-learn private exit bridge 2 rd 2:2 rt-both 1:2 mac-learn private exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 pmsi neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx evpn neigh 1.1.1.1 additional-path-tx evpn afi-evpn 101 bridge 1 afi-evpn 101 srv6 tun1 afi-evpn 101 update eth1 afi-evpn 101 encap vpws exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 send-comm both neigh 1234::1 pmsi neigh 1234::1 segrou neigh 1234::1 additional-path-rx evpn neigh 1234::1 additional-path-tx evpn afi-evpn 102 bridge 2 afi-evpn 102 srv6 tun1 afi-evpn 102 update eth1 afi-evpn 102 encap vpws exit ! r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp398.tst 0000664 0000000 0000000 00000017261 14716276021 0016672 0 ustar 00root root 0000000 0000000 description unified mpls with ldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.6 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::6 1234 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 next-hop-self neigh 1.1.1.10 remote-as 1 neigh 1.1.1.10 route-reflect neigh 1.1.1.10 next-hop-self red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 next-hop-self neigh 1234:3::2 remote-as 1 neigh 1234:3::2 route-reflect neigh 1234:3::2 next-hop-self red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.4 neigh 2.2.2.6 remote-as 1 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 next-hop-self neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 route-reflect neigh 1.1.1.9 next-hop-self red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.4 neigh 4321::6 remote-as 1 neigh 4321::6 update lo0 neigh 4321::6 next-hop-self neigh 1234:3::1 remote-as 1 neigh 1234:3::1 route-reflect neigh 1234:3::1 next-hop-self red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.6 neigh 2.2.2.4 remote-as 1 neigh 2.2.2.4 update lo0 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.6 neigh 4321::4 remote-as 1 neigh 4321::4 update lo0 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r6 tping 100 60 2.2.2.1 vrf v1 sou lo0 r6 tping 100 60 4321::1 vrf v1 sou lo0 r6 tping 100 60 2.2.2.3 vrf v1 sou lo0 r6 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r1 tping 100 60 2.2.2.6 vrf v1 sou lo0 r1 tping 100 60 4321::6 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.6 vrf v1 sou lo0 r3 tping 100 60 4321::6 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r6 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3.3.4.2 vrf v1 r6 tping 100 60 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp399.tst 0000664 0000000 0000000 00000016356 14716276021 0016677 0 ustar 00root root 0000000 0000000 description unified mpls with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.6 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::6 1234 exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 next-hop-self neigh 1.1.1.10 remote-as 1 neigh 1.1.1.10 route-reflect neigh 1.1.1.10 next-hop-self red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 next-hop-self neigh 1234:3::2 remote-as 1 neigh 1234:3::2 route-reflect neigh 1234:3::2 next-hop-self red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.4 segrout 10 4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 segrout 10 4 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.4 neigh 2.2.2.6 remote-as 1 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 next-hop-self neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 route-reflect neigh 1.1.1.9 next-hop-self red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.4 neigh 4321::6 remote-as 1 neigh 4321::6 update lo0 neigh 4321::6 next-hop-self neigh 1234:3::1 remote-as 1 neigh 1234:3::1 route-reflect neigh 1234:3::1 next-hop-self red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.5 segrout 10 5 red conn exit router lsrp6 1 vrf v1 router 6.6.6.5 segrout 10 5 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.6 segrout 10 6 red conn exit router lsrp6 1 vrf v1 router 6.6.6.6 segrout 10 6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.6 neigh 2.2.2.4 remote-as 1 neigh 2.2.2.4 update lo0 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.6 neigh 4321::4 remote-as 1 neigh 4321::4 update lo0 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r6 tping 100 60 2.2.2.1 vrf v1 sou lo0 r6 tping 100 60 4321::1 vrf v1 sou lo0 r6 tping 100 60 2.2.2.3 vrf v1 sou lo0 r6 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r1 tping 100 60 2.2.2.6 vrf v1 sou lo0 r1 tping 100 60 4321::6 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.6 vrf v1 sou lo0 r3 tping 100 60 4321::6 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r6 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3.3.4.2 vrf v1 r6 tping 100 60 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp400.tst 0000664 0000000 0000000 00000007471 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ebgp with php labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 label-pop neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 label-pop neigh 1234:2::2 remote-as 3 neigh 1234:2::2 label-pop red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 2.2.2.1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.3 vrf v1 sou lo0 r2 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp401.tst 0000664 0000000 0000000 00000010106 14716276021 0016642 0 ustar 00root root 0000000 0000000 description ibgp with php labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 label-pop red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 label-pop red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.11 vrf v1 sou lo0 r2 tping 0 60 2.2.2.13 vrf v1 sou lo0 r2 tping 0 60 4321::11 vrf v1 sou lo0 r2 tping 0 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp402.tst 0000664 0000000 0000000 00000010316 14716276021 0016646 0 ustar 00root root 0000000 0000000 description bgp additional path with php labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop neigh 1.1.1.2 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop neigh 1234:1::2 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 label-pop neigh 1.1.1.1 additional-path-rx lab neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 label-pop neigh 1.1.1.6 additional-path-rx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 label-pop neigh 1234:1::1 additional-path-rx lab neigh 1234:2::2 remote-as 3 neigh 1234:2::2 label-pop neigh 1234:2::2 additional-path-rx lab red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 label-pop neigh 1.1.1.5 additional-path-rx lab neigh 1.1.1.5 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 label-pop neigh 1234:2::1 additional-path-tx lab neigh 1234:2::1 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 2.2.2.1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.3 vrf v1 sou lo0 r2 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp403.tst 0000664 0000000 0000000 00000007230 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ibgp rr with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.12 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::12 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo0 r1 tping 100 60 4321::12 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.11 vrf v1 sou lo0 r2 tping 100 60 2.2.2.13 vrf v1 sou lo0 r2 tping 100 60 4321::11 vrf v1 sou lo0 r2 tping 100 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r3 tping 100 60 2.2.2.12 vrf v1 sou lo0 r3 tping 100 60 4321::12 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp404.tst 0000664 0000000 0000000 00000005731 14716276021 0016655 0 ustar 00root root 0000000 0000000 description confed bgp with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 confed neigh 1234::3 remote-as 3 neigh 1234::3 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp405.tst 0000664 0000000 0000000 00000005637 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp route server with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp406.tst 0000664 0000000 0000000 00000006223 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp soft-reconfig with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 soft-reconfig red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp407.tst 0000664 0000000 0000000 00000005135 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp remove private as in with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-map rm1 sequence 10 act perm match private clear private exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65534 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.6 remote-as 65534 neigh 1.1.1.6 route-map-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65534 neigh 1234:1::1 route-map-in rm1 neigh 1234:2::2 remote-as 65534 neigh 1234:2::2 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp408.tst 0000664 0000000 0000000 00000005072 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp remove private as out with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-map rm1 sequence 10 act perm match private clear private exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65534 neigh 1.1.1.1 route-map-out rm1 neigh 1.1.1.6 remote-as 65534 neigh 1.1.1.6 route-map-out rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65534 neigh 1234:1::1 route-map-out rm1 neigh 1234:2::2 remote-as 65534 neigh 1234:2::2 route-map-out rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp409.tst 0000664 0000000 0000000 00000005142 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp remove private as in with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-policy rm1 if private clear private pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65534 neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.6 remote-as 65534 neigh 1.1.1.6 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65534 neigh 1234:1::1 route-policy-in rm1 neigh 1234:2::2 remote-as 65534 neigh 1234:2::2 route-policy-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp410.tst 0000664 0000000 0000000 00000005077 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp remove private as out with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit route-policy rm1 if private clear private pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 65534 neigh 1.1.1.1 route-policy-out rm1 neigh 1.1.1.6 remote-as 65534 neigh 1.1.1.6 route-policy-out rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 65534 neigh 1234:1::1 route-policy-out rm1 neigh 1234:2::2 remote-as 65534 neigh 1234:2::2 route-policy-out rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 65534 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit ! r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp411.tst 0000664 0000000 0000000 00000011037 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp with srgb sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp local-as 1 segrout 10 1 base 100 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 1 segrout 10 1 base 200 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 segrout red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp local-as 2 segrout 10 2 base 100 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrout neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 2 segrout 10 2 base 200 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 segrout neigh 1234:2::2 remote-as 3 neigh 1234:2::2 segrout red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp local-as 3 segrout 10 3 base 100 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 segrout neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 3 segrout 10 3 base 200 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 segrout neigh 1234:3::2 remote-as 4 neigh 1234:3::2 segrout red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp local-as 4 segrout 10 4 base 100 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 4 segrout 10 4 base 200 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 segrout red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp412.tst 0000664 0000000 0000000 00000002440 14716276021 0016646 0 ustar 00root root 0000000 0000000 description bgp over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp413.tst 0000664 0000000 0000000 00000012722 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.9 remote-as 3 neigh 1.1.2.2 remote-as 2 neigh 1.1.2.9 remote-as 3 neigh 1.1.1.2 additional-path-tx uni neigh 1.1.1.9 additional-path-tx uni neigh 1.1.2.2 additional-path-tx uni neigh 1.1.2.9 additional-path-tx uni neigh 1.1.1.2 additional-path-rx uni neigh 1.1.1.9 additional-path-rx uni neigh 1.1.2.2 additional-path-rx uni neigh 1.1.2.9 additional-path-rx uni red conn ecmp exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:3::1 remote-as 3 neigh 1234:21::2 remote-as 2 neigh 1234:23::1 remote-as 3 neigh 1234:1::2 additional-path-tx uni neigh 1234:3::1 additional-path-tx uni neigh 1234:21::2 additional-path-tx uni neigh 1234:23::1 additional-path-tx uni neigh 1234:1::2 additional-path-rx uni neigh 1234:3::1 additional-path-rx uni neigh 1234:21::2 additional-path-rx uni neigh 1234:23::1 additional-path-rx uni red conn ecmp exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 neigh 1.1.2.1 remote-as 1 neigh 1.1.2.6 remote-as 3 neigh 1.1.1.1 additional-path-tx uni neigh 1.1.1.6 additional-path-tx uni neigh 1.1.2.1 additional-path-tx uni neigh 1.1.2.6 additional-path-tx uni neigh 1.1.1.1 additional-path-rx uni neigh 1.1.1.6 additional-path-rx uni neigh 1.1.2.1 additional-path-rx uni neigh 1.1.2.6 additional-path-rx uni red conn ecmp exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 neigh 1234:21::1 remote-as 1 neigh 1234:22::2 remote-as 3 neigh 1234:1::1 additional-path-tx uni neigh 1234:2::2 additional-path-tx uni neigh 1234:21::1 additional-path-tx uni neigh 1234:22::2 additional-path-tx uni neigh 1234:1::1 additional-path-rx uni neigh 1234:2::2 additional-path-rx uni neigh 1234:21::1 additional-path-rx uni neigh 1234:22::2 additional-path-rx uni red conn ecmp exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 1 neigh 1.1.2.5 remote-as 2 neigh 1.1.2.10 remote-as 1 neigh 1.1.1.5 additional-path-tx uni neigh 1.1.1.10 additional-path-tx uni neigh 1.1.2.5 additional-path-tx uni neigh 1.1.2.10 additional-path-tx uni neigh 1.1.1.5 additional-path-rx uni neigh 1.1.1.10 additional-path-rx uni neigh 1.1.2.5 additional-path-rx uni neigh 1.1.2.10 additional-path-rx uni red conn ecmp exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 1 neigh 1234:22::1 remote-as 2 neigh 1234:23::2 remote-as 1 neigh 1234:2::1 additional-path-tx uni neigh 1234:3::2 additional-path-tx uni neigh 1234:22::1 additional-path-tx uni neigh 1234:23::2 additional-path-tx uni neigh 1234:2::1 additional-path-rx uni neigh 1234:3::2 additional-path-rx uni neigh 1234:22::1 additional-path-rx uni neigh 1234:23::2 additional-path-rx uni red conn ecmp exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 freeRtr-24.11.16/cfg/rout-bgp414.tst 0000664 0000000 0000000 00000005133 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with peer asn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match peerasn 3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 route-map-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 route-map-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 route-map-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp415.tst 0000664 0000000 0000000 00000005125 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with peer asn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if peerasn 3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 route-policy-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 route-policy-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 route-policy-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp416.tst 0000664 0000000 0000000 00000005536 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with peer asn with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match peerasn 3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-server neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-server neigh 1.1.1.3 route-map-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-server neigh 1234:1::2 route-map-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-server neigh 1234:1::3 route-map-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp417.tst 0000664 0000000 0000000 00000005530 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with peer asn with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if peerasn 3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-server neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-server neigh 1.1.1.3 route-policy-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-server neigh 1234:1::2 route-policy-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-server neigh 1234:1::3 route-policy-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp418.tst 0000664 0000000 0000000 00000005651 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with peer standard community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match peerstd 1:3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-map-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 send-comm both neigh 1234:1::2 route-map-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 send-comm both neigh 1234:1::3 route-map-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set stdcomm 1:2 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp419.tst 0000664 0000000 0000000 00000005662 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with peer standard community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if peerstd 1:3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-policy-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 send-comm both neigh 1234:1::2 route-policy-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 send-comm both neigh 1234:1::3 route-policy-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 set stdcomm 1:2 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-policy rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-policy rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp420.tst 0000664 0000000 0000000 00000006254 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with peer standard community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match peerstd 1:3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-server neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-server neigh 1.1.1.3 route-map-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-server neigh 1234:1::2 send-comm both neigh 1234:1::2 route-map-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-server neigh 1234:1::3 send-comm both neigh 1234:1::3 route-map-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set stdcomm 1:2 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp421.tst 0000664 0000000 0000000 00000006265 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with peer standard community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if peerstd 1:3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-server neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-server neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-policy-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-server neigh 1234:1::2 send-comm both neigh 1234:1::2 route-policy-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-server neigh 1234:1::3 send-comm both neigh 1234:1::3 route-policy-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 set stdcomm 1:2 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both red conn route-policy rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both red conn route-policy rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp422.tst 0000664 0000000 0000000 00000005642 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with peer large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match peerlrg 1:2:3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-map-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 send-comm all neigh 1234:1::2 route-map-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 send-comm all neigh 1234:1::3 route-map-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set lrgcomm 1:2:2 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp423.tst 0000664 0000000 0000000 00000005653 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with peer large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if peerlrg 1:2:3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-policy-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 send-comm all neigh 1234:1::2 route-policy-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 send-comm all neigh 1234:1::3 route-policy-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 set lrgcomm 1:2:2 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-policy rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-policy rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp424.tst 0000664 0000000 0000000 00000006245 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with peer large community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match peerlrg 1:2:3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-server neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-server neigh 1.1.1.3 route-map-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-server neigh 1234:1::2 send-comm all neigh 1234:1::2 route-map-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-server neigh 1234:1::3 send-comm all neigh 1234:1::3 route-map-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set lrgcomm 1:2:2 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp425.tst 0000664 0000000 0000000 00000006256 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with peer large community with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if peerlrg 1:2:3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-server neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.2 ungroup neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-server neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-policy-out rm1 neigh 1.1.1.3 ungroup red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-server neigh 1234:1::2 send-comm all neigh 1234:1::2 route-policy-out rm1 neigh 1234:1::2 ungroup neigh 1234:1::3 remote-as 3 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-server neigh 1234:1::3 send-comm all neigh 1234:1::3 route-policy-out rm1 neigh 1234:1::3 ungroup red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 set lrgcomm 1:2:2 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm all red conn route-policy rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm all red conn route-policy rm1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp426.tst 0000664 0000000 0000000 00000003467 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+linkstate over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 linkstate red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 linkstate red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.101 vrf v1 sou lo0 r2 tping 100 60 4321::101 vrf v1 sou lo0 r2 tping 100 60 2.2.2.201 vrf v1 sou lo0 r2 tping 100 60 4321::201 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp427.tst 0000664 0000000 0000000 00000003702 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+linkstate over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 linkstate neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 linkstate neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.101 vrf v1 sou lo0 r2 tping 100 60 4321::101 vrf v1 sou lo0 r2 tping 100 60 2.2.2.201 vrf v1 sou lo0 r2 tping 100 60 4321::201 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp428.tst 0000664 0000000 0000000 00000004324 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+linkstate over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate neigh 1.1.1.2 additional-path-rx uni linkstate neigh 1.1.1.2 additional-path-tx uni linkstate red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 linkstate neigh 1234:1::2 additional-path-rx uni linkstate neigh 1234:1::2 additional-path-tx uni linkstate red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate neigh 1.1.1.1 additional-path-rx uni linkstate neigh 1.1.1.1 additional-path-tx uni linkstate red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 linkstate neigh 1234:1::1 additional-path-rx uni linkstate neigh 1234:1::1 additional-path-tx uni linkstate red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.101 vrf v1 sou lo0 r2 tping 100 60 4321::101 vrf v1 sou lo0 r2 tping 100 60 2.2.2.201 vrf v1 sou lo0 r2 tping 100 60 4321::201 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp429.tst 0000664 0000000 0000000 00000002705 14716276021 0016662 0 ustar 00root root 0000000 0000000 description unicast+ouni over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp430.tst 0000664 0000000 0000000 00000003117 14716276021 0016650 0 ustar 00root root 0000000 0000000 description unicast+ouni over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp431.tst 0000664 0000000 0000000 00000003471 14716276021 0016654 0 ustar 00root root 0000000 0000000 description unicast+ouni over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-rx uni ouni neigh 1.1.1.2 additional-path-tx uni ouni afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-rx uni ouni neigh 1234:1::2 additional-path-tx uni ouni afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx uni ouni neigh 1.1.1.1 additional-path-tx uni ouni afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx uni ouni neigh 1234:1::1 additional-path-tx uni ouni afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp432.tst 0000664 0000000 0000000 00000002615 14716276021 0016654 0 ustar 00root root 0000000 0000000 description unicast+ouni over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni ouni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address uni ouni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp433.tst 0000664 0000000 0000000 00000004236 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+ouni over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni ouni local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address uni ouni local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni ouni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address uni ouni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflect neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp434.tst 0000664 0000000 0000000 00000003047 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+ouni over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp435.tst 0000664 0000000 0000000 00000004367 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+ouni over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ouni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ouni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-server neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp436.tst 0000664 0000000 0000000 00000002624 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+omul over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp437.tst 0000664 0000000 0000000 00000003037 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+omul over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp438.tst 0000664 0000000 0000000 00000003411 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+omul over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omlt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni omlt neigh 1.1.1.2 additional-path-tx uni omlt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omlt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni omlt neigh 1234:1::2 additional-path-tx uni omlt red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omlt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni omlt neigh 1.1.1.1 additional-path-tx uni omlt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omlt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni omlt neigh 1234:1::1 additional-path-tx uni omlt red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp439.tst 0000664 0000000 0000000 00000002624 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+oflw over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni oflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni oflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni oflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni oflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp440.tst 0000664 0000000 0000000 00000003037 14716276021 0016652 0 ustar 00root root 0000000 0000000 description unicast+oflw over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni oflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni oflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni oflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni oflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp441.tst 0000664 0000000 0000000 00000003411 14716276021 0016647 0 ustar 00root root 0000000 0000000 description unicast+oflw over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni oflw local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni oflw neigh 1.1.1.2 additional-path-tx uni oflw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni oflw local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni oflw neigh 1234:1::2 additional-path-tx uni oflw red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni oflw local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni oflw neigh 1.1.1.1 additional-path-tx uni oflw red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni oflw local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni oflw neigh 1234:1::1 additional-path-tx uni oflw red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp442.tst 0000664 0000000 0000000 00000002624 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+osrt over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni osrt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni osrt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni osrt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni osrt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp443.tst 0000664 0000000 0000000 00000003037 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+osrt over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni osrt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni osrt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni osrt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni osrt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp444.tst 0000664 0000000 0000000 00000003411 14716276021 0016652 0 ustar 00root root 0000000 0000000 description unicast+osrt over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni osrt local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni osrt neigh 1.1.1.2 additional-path-tx uni osrt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni osrt local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni osrt neigh 1234:1::2 additional-path-tx uni osrt red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni osrt local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni osrt neigh 1.1.1.1 additional-path-tx uni osrt red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni osrt local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni osrt neigh 1234:1::1 additional-path-tx uni osrt red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp445.tst 0000664 0000000 0000000 00000004613 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ouni bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp446.tst 0000664 0000000 0000000 00000004614 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ouni bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-out p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp447.tst 0000664 0000000 0000000 00000004715 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ouni bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp448.tst 0000664 0000000 0000000 00000004716 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ouni bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-out p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-out p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp449.tst 0000664 0000000 0000000 00000005026 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ouni bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp450.tst 0000664 0000000 0000000 00000005027 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ouni bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-out p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp451.tst 0000664 0000000 0000000 00000005130 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ouni bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp452.tst 0000664 0000000 0000000 00000005131 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ouni bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-out p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-out p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp453.tst 0000664 0000000 0000000 00000004564 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ouni bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp454.tst 0000664 0000000 0000000 00000004565 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ouni bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-out p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-out p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp455.tst 0000664 0000000 0000000 00000004777 14716276021 0016674 0 ustar 00root root 0000000 0000000 description ouni bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp456.tst 0000664 0000000 0000000 00000005000 14716276021 0016651 0 ustar 00root root 0000000 0000000 description ouni bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-out p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-out p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp457.tst 0000664 0000000 0000000 00000002645 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ouni bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-default afi-other ena no afi-other vpn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-default afi-other ena no afi-other vpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp458.tst 0000664 0000000 0000000 00000007007 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpns with default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 default afi-vrf v3 ena afi-vrf v3 default afi-vrf v4 ena afi-vrf v4 default exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 default afi-vrf v3 ena afi-vrf v3 default afi-vrf v4 ena afi-vrf v4 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp459.tst 0000664 0000000 0000000 00000002567 14716276021 0016673 0 ustar 00root root 0000000 0000000 description olab bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-default afi-other ena exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-default afi-other ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp460.tst 0000664 0000000 0000000 00000007050 14716276021 0016653 0 ustar 00root root 0000000 0000000 description othervpns with default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 default afi-ovrf v3 ena afi-ovrf v3 default afi-ovrf v4 ena afi-ovrf v4 default exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 default afi-ovrf v3 ena afi-ovrf v3 default afi-ovrf v4 ena afi-ovrf v4 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp461.tst 0000664 0000000 0000000 00000014377 14716276021 0016666 0 ustar 00root root 0000000 0000000 description vpns ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 vpn-route-map-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 vpn-route-map-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp462.tst 0000664 0000000 0000000 00000014400 14716276021 0016652 0 ustar 00root root 0000000 0000000 description vpns egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 vpn-route-map-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 vpn-route-map-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp463.tst 0000664 0000000 0000000 00000014606 14716276021 0016663 0 ustar 00root root 0000000 0000000 description vpns ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 vpn-route-map-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 vpn-route-map-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp464.tst 0000664 0000000 0000000 00000014607 14716276021 0016665 0 ustar 00root root 0000000 0000000 description vpns egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 vpn-route-map-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 vpn-route-map-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp465.tst 0000664 0000000 0000000 00000014246 14716276021 0016665 0 ustar 00root root 0000000 0000000 description vpns ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 vpn-route-policy-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 vpn-route-policy-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp466.tst 0000664 0000000 0000000 00000014247 14716276021 0016667 0 ustar 00root root 0000000 0000000 description vpns egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 vpn-route-policy-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 vpn-route-policy-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp467.tst 0000664 0000000 0000000 00000014455 14716276021 0016671 0 ustar 00root root 0000000 0000000 description vpns ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 vpn-route-policy-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 vpn-route-policy-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp468.tst 0000664 0000000 0000000 00000014456 14716276021 0016673 0 ustar 00root root 0000000 0000000 description vpns egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 vpn-route-policy-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 vpn-route-policy-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp469.tst 0000664 0000000 0000000 00000014442 14716276021 0016667 0 ustar 00root root 0000000 0000000 description othervpns ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 ovpn-route-map-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 ovpn-route-map-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp470.tst 0000664 0000000 0000000 00000014443 14716276021 0016660 0 ustar 00root root 0000000 0000000 description othervpns egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 ovpn-route-map-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 ovpn-route-map-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp471.tst 0000664 0000000 0000000 00000014651 14716276021 0016662 0 ustar 00root root 0000000 0000000 description othervpns ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 ovpn-route-map-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 ovpn-route-map-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp472.tst 0000664 0000000 0000000 00000014652 14716276021 0016664 0 ustar 00root root 0000000 0000000 description othervpns egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 ovpn-route-map-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 ovpn-route-map-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp473.tst 0000664 0000000 0000000 00000014311 14716276021 0016655 0 ustar 00root root 0000000 0000000 description othervpns ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 ovpn-route-policy-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 ovpn-route-policy-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp474.tst 0000664 0000000 0000000 00000014312 14716276021 0016657 0 ustar 00root root 0000000 0000000 description othervpns egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 ovpn-route-policy-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 ovpn-route-policy-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp475.tst 0000664 0000000 0000000 00000014520 14716276021 0016661 0 ustar 00root root 0000000 0000000 description othervpns ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 ovpn-route-policy-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 ovpn-route-policy-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp476.tst 0000664 0000000 0000000 00000014521 14716276021 0016663 0 ustar 00root root 0000000 0000000 description othervpns egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 ovpn-route-policy-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 ovpn-route-policy-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp477.tst 0000664 0000000 0000000 00000004353 14716276021 0016666 0 ustar 00root root 0000000 0000000 description labels bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp478.tst 0000664 0000000 0000000 00000004354 14716276021 0016670 0 ustar 00root root 0000000 0000000 description labels bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp479.tst 0000664 0000000 0000000 00000004455 14716276021 0016673 0 ustar 00root root 0000000 0000000 description labels bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp480.tst 0000664 0000000 0000000 00000004456 14716276021 0016664 0 ustar 00root root 0000000 0000000 description labels bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp481.tst 0000664 0000000 0000000 00000004566 14716276021 0016667 0 ustar 00root root 0000000 0000000 description labels bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp482.tst 0000664 0000000 0000000 00000004567 14716276021 0016671 0 ustar 00root root 0000000 0000000 description labels bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp483.tst 0000664 0000000 0000000 00000004670 14716276021 0016665 0 ustar 00root root 0000000 0000000 description labels bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp484.tst 0000664 0000000 0000000 00000004671 14716276021 0016667 0 ustar 00root root 0000000 0000000 description labels bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp485.tst 0000664 0000000 0000000 00000004324 14716276021 0016663 0 ustar 00root root 0000000 0000000 description labels bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp486.tst 0000664 0000000 0000000 00000004325 14716276021 0016665 0 ustar 00root root 0000000 0000000 description labels bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp487.tst 0000664 0000000 0000000 00000004537 14716276021 0016673 0 ustar 00root root 0000000 0000000 description labels bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp488.tst 0000664 0000000 0000000 00000004540 14716276021 0016666 0 ustar 00root root 0000000 0000000 description labels bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp489.tst 0000664 0000000 0000000 00000002431 14716276021 0016664 0 ustar 00root root 0000000 0000000 description labels bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 default exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp490.tst 0000664 0000000 0000000 00000004535 14716276021 0016663 0 ustar 00root root 0000000 0000000 description olab bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp491.tst 0000664 0000000 0000000 00000004536 14716276021 0016665 0 ustar 00root root 0000000 0000000 description olab bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp492.tst 0000664 0000000 0000000 00000004637 14716276021 0016670 0 ustar 00root root 0000000 0000000 description olab bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp493.tst 0000664 0000000 0000000 00000004640 14716276021 0016663 0 ustar 00root root 0000000 0000000 description olab bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp494.tst 0000664 0000000 0000000 00000004750 14716276021 0016666 0 ustar 00root root 0000000 0000000 description olab bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp495.tst 0000664 0000000 0000000 00000004751 14716276021 0016670 0 ustar 00root root 0000000 0000000 description olab bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp496.tst 0000664 0000000 0000000 00000005052 14716276021 0016664 0 ustar 00root root 0000000 0000000 description olab bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp497.tst 0000664 0000000 0000000 00000005053 14716276021 0016666 0 ustar 00root root 0000000 0000000 description olab bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp498.tst 0000664 0000000 0000000 00000004506 14716276021 0016671 0 ustar 00root root 0000000 0000000 description olab bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp499.tst 0000664 0000000 0000000 00000004507 14716276021 0016673 0 ustar 00root root 0000000 0000000 description olab bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp500.tst 0000664 0000000 0000000 00000004721 14716276021 0016650 0 ustar 00root root 0000000 0000000 description olab bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp501.tst 0000664 0000000 0000000 00000004722 14716276021 0016652 0 ustar 00root root 0000000 0000000 description olab bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp502.tst 0000664 0000000 0000000 00000004502 14716276021 0016647 0 ustar 00root root 0000000 0000000 description labels bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp503.tst 0000664 0000000 0000000 00000004650 14716276021 0016654 0 ustar 00root root 0000000 0000000 description olab bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp504.tst 0000664 0000000 0000000 00000004726 14716276021 0016661 0 ustar 00root root 0000000 0000000 description ouni bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p6 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p4 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp505.tst 0000664 0000000 0000000 00000014504 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp vpns aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act perm match network 9.9.2.0/24 sequence 20 act perm match network 9.9.3.0/24 sequence 30 act perm match network 9.9.4.0/24 exit route-map p6 sequence 10 act perm match network 9992::/32 sequence 20 act perm match network 9993::/32 sequence 30 act perm match network 9994::/32 exit router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 vpn-route-map-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 vpn-route-map-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 aggregate 9.9.2.0/24 afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 aggregate 9.9.3.0/24 afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 aggregate 9.9.4.0/24 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 aggregate 9992::/32 afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 aggregate 9993::/32 afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 aggregate 9994::/32 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp506.tst 0000664 0000000 0000000 00000014555 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp othervpns aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act perm match network 9.9.2.0/24 sequence 20 act perm match network 9.9.3.0/24 sequence 30 act perm match network 9.9.4.0/24 exit route-map p6 sequence 10 act perm match network 9992::/32 sequence 20 act perm match network 9993::/32 sequence 30 act perm match network 9994::/32 exit router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 ovpn-route-map-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 ovpn-route-map-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 aggregate 9992::/32 afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 aggregate 9993::/32 afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 aggregate 9994::/32 exit router bgp6 1 vrf v1 no safe-ebgp address ovpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 aggregate 9.9.2.0/24 afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 aggregate 9.9.3.0/24 afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 aggregate 9.9.4.0/24 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp507.tst 0000664 0000000 0000000 00000005556 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp routemap clearing with standard community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 clear stdcomm 1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::2 route-map-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::3 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set stdcomm 1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match stdcomm 1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp508.tst 0000664 0000000 0000000 00000005564 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp routemap clearing with extended community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 clear extcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::2 route-map-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::3 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set extcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match extcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp509.tst 0000664 0000000 0000000 00000005551 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp routemap clearing with large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 clear lrgcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm all neigh 1234:1::2 route-map-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm all neigh 1234:1::3 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set lrgcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match lrgcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp510.tst 0000664 0000000 0000000 00000005606 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp routepolicy clearing with standard community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 clear stdcomm 1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-policy-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::2 route-policy-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::3 route-policy-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set stdcomm 1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match stdcomm 1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp511.tst 0000664 0000000 0000000 00000005614 14716276021 0016654 0 ustar 00root root 0000000 0000000 description bgp routepolicy clearing with extended community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 clear extcomm 1:1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-policy-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::2 route-policy-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::3 route-policy-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set extcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match extcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp512.tst 0000664 0000000 0000000 00000005601 14716276021 0016651 0 ustar 00root root 0000000 0000000 description bgp routepolicy clearing with large community addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 clear lrgcomm 1:1234:4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm all neigh 1.1.1.2 route-policy-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm all neigh 1.1.1.3 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm all neigh 1234:1::2 route-policy-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm all neigh 1234:1::3 route-policy-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set lrgcomm 1:1234:4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match lrgcomm 1:1234:4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm all neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm all neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp513.tst 0000664 0000000 0000000 00000005127 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp routemap clearing with aspath addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 clear exact 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 route-map-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 route-map-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp514.tst 0000664 0000000 0000000 00000005157 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp routepolicy clearing with aspath addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 clear exact 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 route-policy-in rm1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 route-policy-in rm1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 route-policy-in rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aspath 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp515.tst 0000664 0000000 0000000 00000005053 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute bgp4 1 2.2.2.2 9.9.8.2 recur ipv6 autoroute bgp6 1 4321::2 9998::2 recur exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 9.9.9.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 9999::2 remote-as 2 red conn exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute bgp4 1 2.2.2.1 9.9.8.1 recur ipv6 autoroute bgp6 1 4321::1 9998::1 recur exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.1 neigh 9.9.9.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.1 neigh 9999::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 tping 0 60 9.9.9.2 vrf v1 r1 tping 0 60 9999::2 vrf v1 r2 tping 0 60 9.9.9.1 vrf v1 r2 tping 0 60 9999::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp516.tst 0000664 0000000 0000000 00000006766 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bgp extended open addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 extended-open red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 extended-open red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 extended-open neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 extended-open red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 extended-open neigh 1234:2::2 remote-as 3 neigh 1234:2::2 extended-open red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 extended-open red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 extended-open red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp517.tst 0000664 0000000 0000000 00000007010 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp extended update addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 extended-update red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 extended-update red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 extended-update neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 extended-update red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 extended-update neigh 1234:2::2 remote-as 3 neigh 1234:2::2 extended-update red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 extended-update red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 extended-update red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp518.tst 0000664 0000000 0000000 00000007040 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp multiple labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 multiple-label uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 multiple-label uni red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 multiple-label uni neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 multiple-label uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 multiple-label uni neigh 1234:2::2 remote-as 3 neigh 1234:2::2 multiple-label uni red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 multiple-label uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 multiple-label uni red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp519.tst 0000664 0000000 0000000 00000007631 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp graceful restart addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni graceful 10000 longlive 10000 local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 graceful uni neigh 1.1.1.2 longlive uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni graceful 10000 longlive 10000 local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 graceful uni neigh 1234:1::2 longlive uni red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni graceful 10000 longlive 10000 local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 graceful uni neigh 1.1.1.1 longlive uni neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 graceful uni neigh 1.1.1.6 longlive uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni graceful 10000 longlive 10000 local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 graceful uni neigh 1234:1::1 longlive uni neigh 1234:2::2 remote-as 3 neigh 1234:2::2 graceful uni neigh 1234:2::2 longlive uni red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni graceful 10000 longlive 10000 local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 graceful uni neigh 1.1.1.9 longlive uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni graceful 10000 longlive 10000 local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 graceful uni neigh 1234:3::1 longlive uni red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp520.tst 0000664 0000000 0000000 00000007131 14716276021 0016650 0 ustar 00root root 0000000 0000000 description bgp extended nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 extended-nexthop-curr uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 extended-nexthop-curr uni red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 extended-nexthop-curr uni neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 extended-nexthop-curr uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 extended-nexthop-curr uni neigh 1234:2::2 remote-as 3 neigh 1234:2::2 extended-nexthop-curr uni red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 extended-nexthop-curr uni red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 extended-nexthop-curr uni red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp521.tst 0000664 0000000 0000000 00000007204 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp leak prevention with customer provider addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 leak-role prov red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 leak-role prov red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role cust neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 leak-role prov red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role cust neigh 1234:2::2 remote-as 3 neigh 1234:2::2 leak-role prov red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 leak-role cust neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 leak-role cust red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 leak-role cust neigh 1234:3::2 remote-as 4 neigh 1234:3::2 leak-role cust red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 leak-role prov red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 leak-role prov red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp522.tst 0000664 0000000 0000000 00000007217 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp leak prevention with route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 leak-role prov red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 leak-role prov red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role cust neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 leak-role ix-ser red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role cust neigh 1234:2::2 remote-as 3 neigh 1234:2::2 leak-role ix-ser red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 leak-role ix-cli neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 leak-role ix-cli red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 leak-role ix-cli neigh 1234:3::2 remote-as 4 neigh 1234:3::2 leak-role ix-cli red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 leak-role ix-ser red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 leak-role ix-ser red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp523.tst 0000664 0000000 0000000 00000007157 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp leak prevention with peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 leak-role prov red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 leak-role prov red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role cust neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 leak-role peer red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role cust neigh 1234:2::2 remote-as 3 neigh 1234:2::2 leak-role peer red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 leak-role peer neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 leak-role peer red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 leak-role peer neigh 1234:3::2 remote-as 4 neigh 1234:3::2 leak-role peer red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 leak-role peer red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 leak-role peer red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp524.tst 0000664 0000000 0000000 00000002617 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+nsh over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni nsh local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni nsh local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni nsh local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni nsh local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp525.tst 0000664 0000000 0000000 00000003032 14716276021 0016651 0 ustar 00root root 0000000 0000000 description unicast+nsh over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni nsh local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni nsh local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni nsh local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni nsh local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp526.tst 0000664 0000000 0000000 00000003374 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+nsh over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni nsh local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni nsh neigh 1.1.1.2 additional-path-tx uni nsh red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni nsh local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni nsh neigh 1234:1::2 additional-path-tx uni nsh red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni nsh local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni nsh neigh 1.1.1.1 additional-path-tx uni nsh red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni nsh local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni nsh neigh 1234:1::1 additional-path-tx uni nsh red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp527.tst 0000664 0000000 0000000 00000011757 14716276021 0016670 0 ustar 00root root 0000000 0000000 description bgp with polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 segrout 10 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 segrout 10 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 segrout red conn exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.4 tunnel domain-name 2.2.2.2 2.2.2.3 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::4 tunnel domain-name 4321::2 4321::3 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable polka enable 2 65536 10 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 segrout 10 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrout neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 segrout 10 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 segrout neigh 1234:2::2 remote-as 3 neigh 1234:2::2 segrout red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 3 65536 10 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable polka enable 3 65536 10 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 segrout 10 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 segrout neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 segrout 10 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 segrout neigh 1234:3::2 remote-as 4 neigh 1234:3::2 segrout red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable polka enable 4 65536 10 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 segrout 10 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 segrout red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 segrout 10 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 segrout red conn exit interface tun1 tunnel vrf v1 tunnel source loopback0 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.3 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback0 tunnel destination 4321::1 tunnel domain-name 4321::3 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.4 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.4 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 4321::4 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.3 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r4 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r4 tping 100 20 3333::1 vrf v1 sou tun2 freeRtr-24.11.16/cfg/rout-bgp528.tst 0000664 0000000 0000000 00000006563 14716276021 0016670 0 ustar 00root root 0000000 0000000 description bgp without recursion addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflect neigh 1234:2::2 remote-as 1 neigh 1234:2::2 route-reflect red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 route-reflect neigh 1.1.1.10 remote-as 1 neigh 1.1.1.10 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 route-reflect neigh 1234:3::2 remote-as 1 neigh 1234:3::2 route-reflect red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:3::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp529.tst 0000664 0000000 0000000 00000007010 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp with recursion addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 nexthop recur 2 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 nexthop recur 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.6 remote-as 1 neigh 1.1.1.6 route-reflect nexthop recur 2 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflect neigh 1234:2::2 remote-as 1 neigh 1234:2::2 route-reflect nexthop recur 2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 route-reflect neigh 1.1.1.10 remote-as 1 neigh 1.1.1.10 route-reflect nexthop recur 2 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 route-reflect neigh 1234:3::2 remote-as 1 neigh 1234:3::2 route-reflect nexthop recur 2 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 1 nexthop recur 2 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:3::1 remote-as 1 nexthop recur 2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp530.tst 0000664 0000000 0000000 00000015472 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp with route flap dampening addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 soft-reconfig neigh 1.1.1.5 dampen 500 1000 500 10000 3000 700 900000 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 soft-reconfig neigh 1234:2::1 dampen 500 1000 500 10000 3000 700 900000 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send no red conn r1 send exit r1 send router bgp6 1 r1 send no red conn r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send red conn r1 send exit r1 send router bgp6 1 r1 send red conn r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send no red conn r1 send exit r1 send router bgp6 1 r1 send no red conn r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send red conn r1 send exit r1 send router bgp6 1 r1 send red conn r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp531.tst 0000664 0000000 0000000 00000005140 14716276021 0016650 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match nexthop 1.1.1.3 sequence 20 act permit exit route-map rm2 sequence 10 act deny match nexthop 1234:1::3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 route-map-out rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 route-map-out rm2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 route-map-out rm2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp532.tst 0000664 0000000 0000000 00000005105 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if nexthop 1.1.1.3 drop else pass enif exit route-policy rm2 if nexthop 1234:1::3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 route-policy-out rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 route-policy-out rm2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 route-policy-out rm2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp533.tst 0000664 0000000 0000000 00000005353 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with nexthop with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 sequence 10 act deny match nexthop 1.1.1.3 sequence 20 act permit exit route-map rm2 sequence 10 act deny match nexthop 1234:1::3 sequence 20 act permit exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-map-out rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-out rm2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-map-out rm2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp534.tst 0000664 0000000 0000000 00000005320 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with nexthop with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 if nexthop 1.1.1.3 drop else pass enif exit route-policy rm2 if nexthop 1234:1::3 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-out rm1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-policy-out rm1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-out rm2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 route-server neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-policy-out rm2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp535.tst 0000664 0000000 0000000 00000004655 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with asend addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match asend 4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp536.tst 0000664 0000000 0000000 00000005260 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with asend with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match asend 4321 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp537.tst 0000664 0000000 0000000 00000004661 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with asend addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if asend 4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp538.tst 0000664 0000000 0000000 00000005263 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with asend with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if asend 4321 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp539.tst 0000664 0000000 0000000 00000004655 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with asmid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match asmid 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp540.tst 0000664 0000000 0000000 00000005260 14716276021 0016653 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with asmid with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match asmid 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp541.tst 0000664 0000000 0000000 00000004661 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with asmid addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if asmid 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp542.tst 0000664 0000000 0000000 00000005263 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with asmid with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if asmid 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp543.tst 0000664 0000000 0000000 00000004655 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with asbeg addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match asbeg 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp544.tst 0000664 0000000 0000000 00000005260 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with asbeg with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1234 4321 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match asbeg 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp545.tst 0000664 0000000 0000000 00000004661 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with asbeg addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if asbeg 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp546.tst 0000664 0000000 0000000 00000005263 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with asbeg with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aspath 1234 4321 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if asbeg 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp547.tst 0000664 0000000 0000000 00000014470 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp change in metric with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp548.tst 0000664 0000000 0000000 00000020403 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ibgp rr prefix movement with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp549.tst 0000664 0000000 0000000 00000015165 14716276021 0016671 0 ustar 00root root 0000000 0000000 description ouni bgp change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn route-map rm1 exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp550.tst 0000664 0000000 0000000 00000021120 14716276021 0016645 0 ustar 00root root 0000000 0000000 description ouni ibgp rr prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other advertise 4321::2/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other advertise 2.2.2.2/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other advertise 4321::3/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other advertise 2.2.2.3/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp551.tst 0000664 0000000 0000000 00000015021 14716276021 0016651 0 ustar 00root root 0000000 0000000 description olab bgp change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn route-map rm1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp552.tst 0000664 0000000 0000000 00000020764 14716276021 0016664 0 ustar 00root root 0000000 0000000 description olab ibgp rr prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other advertise 4321::2/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other advertise 2.2.2.2/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other advertise 4321::3/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other advertise 2.2.2.3/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp553.tst 0000664 0000000 0000000 00000022525 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp vpns change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn route-map rm1 exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 vpn-route-map-in rm1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 vpn-route-map-in rm1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp554.tst 0000664 0000000 0000000 00000026510 14716276021 0016661 0 ustar 00root root 0000000 0000000 description ibgp rr vpns prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.102 255.255.255.255 ipv6 addr 9994::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 advertise 9.9.4.2/32 route-map rm1 afi-vrf v4 advertise 9.9.4.222/32 route-map rm1 exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 advertise 9994::2/128 route-map rm1 afi-vrf v4 advertise 9994::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.103 255.255.255.255 ipv6 addr 9994::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 advertise 9.9.4.3/32 route-map rm1 afi-vrf v4 advertise 9.9.4.222/32 route-map rm1 exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 advertise 9994::3/128 route-map rm1 afi-vrf v4 advertise 9994::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 freeRtr-24.11.16/cfg/rout-bgp555.tst 0000664 0000000 0000000 00000022626 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp othervpns change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 ovpn-route-map-in rm1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 ovpn-route-map-in rm1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn route-map rm1 exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 ovpn-route-map-in rm1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 ovpn-route-map-in rm1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp556.tst 0000664 0000000 0000000 00000026612 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ibgp rr othervpns prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.102 255.255.255.255 ipv6 addr 9994::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 advertise 9994::2/128 route-map rm1 afi-ovrf v4 advertise 9994::222/128 route-map rm1 exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 advertise 9.9.4.2/32 route-map rm1 afi-ovrf v4 advertise 9.9.4.222/32 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.103 255.255.255.255 ipv6 addr 9994::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 advertise 9994::3/128 route-map rm1 afi-ovrf v4 advertise 9994::222/128 route-map rm1 exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 advertise 9.9.4.3/32 route-map rm1 afi-ovrf v4 advertise 9.9.4.222/32 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 freeRtr-24.11.16/cfg/rout-bgp557.tst 0000664 0000000 0000000 00000012054 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ibgp rr prefix withdraw with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address lab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address lab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp558.tst 0000664 0000000 0000000 00000012571 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ouni ibgp rr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit router bgp4 1 vrf v1 address ouni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 address ouni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp559.tst 0000664 0000000 0000000 00000012421 14716276021 0016662 0 ustar 00root root 0000000 0000000 description olab ibgp rr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp560.tst 0000664 0000000 0000000 00000020141 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ibgp rr vpns prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send no afi-vrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send no afi-vrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 0 60 9.9.4.3 vrf v4 r1 tping 0 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 0 60 9.9.4.1 vrf v4 r3 tping 0 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send afi-vrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send afi-vrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp561.tst 0000664 0000000 0000000 00000020242 14716276021 0016653 0 ustar 00root root 0000000 0000000 description ibgp rr othervpns prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ovpnuni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send no afi-ovrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send no afi-ovrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 0 60 9.9.4.3 vrf v4 r1 tping 0 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 0 60 9.9.4.1 vrf v4 r3 tping 0 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send afi-ovrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send afi-ovrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp562.tst 0000664 0000000 0000000 00000012663 14716276021 0016664 0 ustar 00root root 0000000 0000000 description olab ibgp fullmesh prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address olab local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address olab local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp563.tst 0000664 0000000 0000000 00000003102 14716276021 0016651 0 ustar 00root root 0000000 0000000 description ebgp with safe policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send no safe-ebgp r1 send exit r1 send router bgp6 1 r1 send no safe-ebgp r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp564.tst 0000664 0000000 0000000 00000002516 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ibgp with safe policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp565.tst 0000664 0000000 0000000 00000003240 14716276021 0016656 0 ustar 00root root 0000000 0000000 description confed bgp with safe policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 confed red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send no safe-ebgp r1 send exit r1 send router bgp6 1 r1 send no safe-ebgp r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp566.tst 0000664 0000000 0000000 00000002613 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ibgp rr with safe policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp567.tst 0000664 0000000 0000000 00000003206 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp route server with safe policy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 route-server red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send no safe-ebgp r1 send exit r1 send router bgp6 1 r1 send no safe-ebgp r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp568.tst 0000664 0000000 0000000 00000003065 14716276021 0016666 0 ustar 00root root 0000000 0000000 description safe ebgp policy with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit prefix-list p4 permit 0.0.0.0/0 le 32 exit prefix-list p6 permit ::/0 le 128 exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-in p4 neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 prefix-list-in p6 neigh 1234::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp569.tst 0000664 0000000 0000000 00000002767 14716276021 0016677 0 ustar 00root root 0000000 0000000 description safe ebgp policy with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit route-map rm1 act perm exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 route-map-out rm1 red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 route-map-in rm1 neigh 1234::2 route-map-out rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp570.tst 0000664 0000000 0000000 00000003005 14716276021 0016651 0 ustar 00root root 0000000 0000000 description safe ebgp policy with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:ffff:: exit route-policy rm1 pass exit router bgp4 1 vrf v1 safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in rm1 neigh 1.1.1.2 route-policy-out rm1 red conn exit router bgp6 1 vrf v1 safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 route-policy-in rm1 neigh 1234::2 route-policy-out rm1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234::1 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp571.tst 0000664 0000000 0000000 00000011114 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ebgp over common subnet addrouter r1 int ser1 ser - $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp ip4cp local 1.1.1.1 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0001 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.255 ipv6 addr 1234::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit ! addrouter r2 int ser1 ser - $1b$ $1a$ int ser2 ser - $2a$ $2b$ int ser3 ser - $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo9 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.255 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp ip4cp local 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.255 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff no ipv4 gateway-local no ipv4 gateway-connect no ipv6 gateway-local no ipv6 gateway-connect exit int ser2 enc ppp ppp ip4cp open ppp ip6cp open ppp ip4cp local 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.255 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff no ipv4 gateway-local no ipv4 gateway-connect no ipv6 gateway-local no ipv6 gateway-connect exit int ser3 enc ppp ppp ip4cp open ppp ip6cp open ppp ip4cp local 1.1.1.2 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0002 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.255 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff no ipv4 gateway-local no ipv4 gateway-connect no ipv6 gateway-local no ipv6 gateway-connect exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 update lo9 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo9 neigh 1.1.1.4 remote-as 4 neigh 1.1.1.4 update lo9 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 update lo9 neigh 1234::3 remote-as 3 neigh 1234::3 update lo9 neigh 1234::4 remote-as 4 neigh 1234::4 update lo9 red conn exit ! addrouter r3 int ser1 ser - $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp ip4cp local 1.1.1.3 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0003 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.255 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 red conn exit ! addrouter r4 int ser1 ser - $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp open ppp ip6cp open ppp ip4cp local 1.1.1.4 ppp ip6cp keep ppp ip6cp local 0000-0000-0000-0004 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.255 ipv6 addr 1234::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234::2 remote-as 2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp572.tst 0000664 0000000 0000000 00000006722 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp573.tst 0000664 0000000 0000000 00000005466 14716276021 0016671 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp574.tst 0000664 0000000 0000000 00000007431 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpls neigh 2.2.2.2 additional-path-tx vpls afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpls neigh 4321::2 additional-path-tx vpls afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpls neigh 2.2.2.1 additional-path-tx vpls afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpls neigh 4321::1 additional-path-tx vpls afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp575.tst 0000664 0000000 0000000 00000010760 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address vpls local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp576.tst 0000664 0000000 0000000 00000007060 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp577.tst 0000664 0000000 0000000 00000011226 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp578.tst 0000664 0000000 0000000 00000007130 14716276021 0016664 0 ustar 00root root 0000000 0000000 description vpls/ldp cw over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp579.tst 0000664 0000000 0000000 00000007637 14716276021 0016701 0 ustar 00root root 0000000 0000000 description unicast+vpls/ldp cw over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp580.tst 0000664 0000000 0000000 00000010046 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+vpls/ldp cw over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp581.tst 0000664 0000000 0000000 00000010407 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+vpls/ldp cw over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::1 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::1 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx vpls uni neigh 2.2.2.2 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx vpls uni neigh 4321::2 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:3 mac-learn private exit bridge 4 rd 1:4 rt-both 1:4 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.255 ipv6 addr 4444::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int bvi2 vrf for v1 ipv6 addr 4444::2 ffff:: exit int bvi3 vrf for v1 ipv6 addr 3333::2 ffff:: exit int bvi4 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx vpls uni neigh 2.2.2.1 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 1 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 3 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit router bgp6 1 vrf v1 no safe-ebgp address vpls uni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx vpls uni neigh 4321::1 additional-path-tx vpls uni red conn afi-vpls 1:1 bridge 2 afi-vpls 1:1 control afi-vpls 1:1 update lo0 afi-vpls 1:2 bridge 4 afi-vpls 1:2 control afi-vpls 1:2 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 4.4.4.2 vrf v1 sou lo1 r1 tping 100 60 4444::2 vrf v1 sou lo1 r2 tping 100 60 4.4.4.1 vrf v1 sou lo1 r2 tping 100 60 4444::1 vrf v1 sou lo1 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp582.tst 0000664 0000000 0000000 00000005211 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ebgp with backup peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 distance 10 neigh 1.1.2.2 remote-as 2 neigh 1.1.2.2 backup 1.1.1.2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 distance 10 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 backup 1234:1::2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny all 2.2.2.0 255.255.255.0 all any all deny all any all 2.2.2.0 255.255.255.0 all permit all any all any all exit access-list test6 deny all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all any all deny all any all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 distance 10 neigh 1.1.2.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 distance 10 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1.1.2.2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234:1::1 vrf v1 r2 tping 100 60 1.1.2.1 vrf v1 r2 tping 100 60 1234:2::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send neigh 1.1.1.2 shut r1 send exit r1 send router bgp6 1 r1 send neigh 1234:1::2 shut r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp583.tst 0000664 0000000 0000000 00000005211 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ibgp with backup peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 distance 10 neigh 1.1.2.2 remote-as 1 neigh 1.1.2.2 backup 1.1.1.2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 distance 10 neigh 1234:2::2 remote-as 1 neigh 1234:2::2 backup 1234:1::2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny all 2.2.2.0 255.255.255.0 all any all deny all any all 2.2.2.0 255.255.255.0 all permit all any all any all exit access-list test6 deny all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all any all deny all any all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 distance 10 neigh 1.1.2.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 distance 10 neigh 1234:2::1 remote-as 1 red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1.1.2.2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234:1::1 vrf v1 r2 tping 100 60 1.1.2.1 vrf v1 r2 tping 100 60 1234:2::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send neigh 1.1.1.2 shut r1 send exit r1 send router bgp6 1 r1 send neigh 1234:1::2 shut r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp584.tst 0000664 0000000 0000000 00000005507 14716276021 0016667 0 ustar 00root root 0000000 0000000 description confed bgp with backup peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed neigh 1.1.1.2 distance 10 neigh 1.1.2.2 remote-as 2 neigh 1.1.2.2 confed neigh 1.1.2.2 backup 1.1.1.2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed neigh 1234:1::2 distance 10 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 confed neigh 1234:2::2 backup 1234:1::2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny all 2.2.2.0 255.255.255.0 all any all deny all any all 2.2.2.0 255.255.255.0 all permit all any all any all exit access-list test6 deny all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all any all deny all any all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.1 distance 10 neigh 1.1.2.1 remote-as 1 neigh 1.1.2.1 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed neigh 1234:1::1 distance 10 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 confed red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1.1.2.2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234:1::1 vrf v1 r2 tping 100 60 1.1.2.1 vrf v1 r2 tping 100 60 1234:2::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send neigh 1.1.1.2 shut r1 send exit r1 send router bgp6 1 r1 send neigh 1234:1::2 shut r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp585.tst 0000664 0000000 0000000 00000005575 14716276021 0016675 0 ustar 00root root 0000000 0000000 description route server bgp with backup peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server neigh 1.1.1.2 distance 10 neigh 1.1.2.2 remote-as 2 neigh 1.1.2.2 route-server neigh 1.1.2.2 backup 1.1.1.2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server neigh 1234:1::2 distance 10 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 route-server neigh 1234:2::2 backup 1234:1::2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny all 2.2.2.0 255.255.255.0 all any all deny all any all 2.2.2.0 255.255.255.0 all permit all any all any all exit access-list test6 deny all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all any all deny all any all 4321:: ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.1 distance 10 neigh 1.1.2.1 remote-as 1 neigh 1.1.2.1 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-server neigh 1234:1::1 distance 10 neigh 1234:2::1 remote-as 1 neigh 1234:2::1 route-server red conn exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1.1.2.2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r2 tping 100 60 1.1.1.1 vrf v1 r2 tping 100 60 1234:1::1 vrf v1 r2 tping 100 60 1.1.2.1 vrf v1 r2 tping 100 60 1234:2::1 vrf v1 r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r1 send conf t r1 send router bgp4 1 r1 send neigh 1.1.1.2 shut r1 send exit r1 send router bgp6 1 r1 send neigh 1234:1::2 shut r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp586.tst 0000664 0000000 0000000 00000004110 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+rtfilter over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp587.tst 0000664 0000000 0000000 00000004323 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+rtfilter over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp588.tst 0000664 0000000 0000000 00000004735 14716276021 0016675 0 ustar 00root root 0000000 0000000 description unicast+rtfilter over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni rtfilter neigh 1.1.1.2 additional-path-tx uni rtfilter afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni rtfilter neigh 1234:1::2 additional-path-tx uni rtfilter afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni rtfilter neigh 1.1.1.1 additional-path-tx uni rtfilter afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni rtfilter neigh 1234:1::1 additional-path-tx uni rtfilter afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp589.tst 0000664 0000000 0000000 00000004304 14716276021 0016666 0 ustar 00root root 0000000 0000000 description unicast+rtfilter over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rtfilter local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp590.tst 0000664 0000000 0000000 00000013651 14716276021 0016663 0 ustar 00root root 0000000 0000000 description vpns with ingress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp591.tst 0000664 0000000 0000000 00000013654 14716276021 0016667 0 ustar 00root root 0000000 0000000 description vpns with egress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp592.tst 0000664 0000000 0000000 00000013712 14716276021 0016663 0 ustar 00root root 0000000 0000000 description othervpns with ingress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp593.tst 0000664 0000000 0000000 00000013715 14716276021 0016667 0 ustar 00root root 0000000 0000000 description othervpns with egress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit router bgp6 1 vrf v1 address ovpnuni rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v4 ena afi-ovrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp594.tst 0000664 0000000 0000000 00000007603 14716276021 0016667 0 ustar 00root root 0000000 0000000 description vpls/ldp with ingress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:13 mac-learn private exit bridge 4 rd 1:4 rt-both 1:14 mac-learn private exit bridge 5 rd 1:5 rt-both 1:15 mac-learn private exit bridge 6 rd 1:6 rt-both 1:16 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 maximum-prefix-in 5 50 neigh 2.2.2.2 route-target-filter-in afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:3 bridge 3 afi-vpls 1:3 update lo0 afi-vpls 1:5 bridge 5 afi-vpls 1:5 update lo0 exit router bgp6 1 vrf v1 address vpls rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 maximum-prefix-in 5 50 neigh 4321::2 route-target-filter-in afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:4 bridge 4 afi-vpls 1:4 update lo0 afi-vpls 1:6 bridge 6 afi-vpls 1:6 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:23 mac-learn private exit bridge 4 rd 1:4 rt-both 1:24 mac-learn private exit bridge 5 rd 1:5 rt-both 1:25 mac-learn private exit bridge 6 rd 1:6 rt-both 1:26 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls rtfilter local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-in afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:3 bridge 3 afi-vpls 1:3 update lo0 afi-vpls 1:5 bridge 5 afi-vpls 1:5 update lo0 exit router bgp6 1 vrf v1 address vpls rtfilter local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-in afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:4 bridge 4 afi-vpls 1:4 update lo0 afi-vpls 1:6 bridge 6 afi-vpls 1:6 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp595.tst 0000664 0000000 0000000 00000007606 14716276021 0016673 0 ustar 00root root 0000000 0000000 description vpls/ldp with egress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:13 mac-learn private exit bridge 4 rd 1:4 rt-both 1:14 mac-learn private exit bridge 5 rd 1:5 rt-both 1:15 mac-learn private exit bridge 6 rd 1:6 rt-both 1:16 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpls rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 maximum-prefix-in 5 50 neigh 2.2.2.2 route-target-filter-out afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:3 bridge 3 afi-vpls 1:3 update lo0 afi-vpls 1:5 bridge 5 afi-vpls 1:5 update lo0 exit router bgp6 1 vrf v1 address vpls rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 maximum-prefix-in 5 50 neigh 4321::2 route-target-filter-out afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:4 bridge 4 afi-vpls 1:4 update lo0 afi-vpls 1:6 bridge 6 afi-vpls 1:6 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:23 mac-learn private exit bridge 4 rd 1:4 rt-both 1:24 mac-learn private exit bridge 5 rd 1:5 rt-both 1:25 mac-learn private exit bridge 6 rd 1:6 rt-both 1:26 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpls rtfilter local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-out afi-vpls 1:1 bridge 1 afi-vpls 1:1 update lo0 afi-vpls 1:3 bridge 3 afi-vpls 1:3 update lo0 afi-vpls 1:5 bridge 5 afi-vpls 1:5 update lo0 exit router bgp6 1 vrf v1 address vpls rtfilter local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-out afi-vpls 1:1 bridge 2 afi-vpls 1:1 update lo0 afi-vpls 1:4 bridge 4 afi-vpls 1:4 update lo0 afi-vpls 1:6 bridge 6 afi-vpls 1:6 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp596.tst 0000664 0000000 0000000 00000007723 14716276021 0016674 0 ustar 00root root 0000000 0000000 description evpn/pbb with ingress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:13 mac-learn private exit bridge 4 rd 1:4 rt-both 1:14 mac-learn private exit bridge 5 rd 1:5 rt-both 1:15 mac-learn private exit bridge 6 rd 1:6 rt-both 1:16 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 maximum-prefix-in 5 50 neigh 2.2.2.2 route-target-filter-in afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 103 bridge 3 afi-evpn 103 update lo0 afi-evpn 105 bridge 5 afi-evpn 105 update lo0 exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 maximum-prefix-in 5 50 neigh 4321::2 route-target-filter-in afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 104 bridge 4 afi-evpn 104 update lo0 afi-evpn 106 bridge 6 afi-evpn 106 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:23 mac-learn private exit bridge 4 rd 1:4 rt-both 1:24 mac-learn private exit bridge 5 rd 1:5 rt-both 1:25 mac-learn private exit bridge 6 rd 1:6 rt-both 1:26 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-in afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 103 bridge 3 afi-evpn 103 update lo0 afi-evpn 105 bridge 5 afi-evpn 105 update lo0 exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-in afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 104 bridge 4 afi-evpn 104 update lo0 afi-evpn 106 bridge 6 afi-evpn 106 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp597.tst 0000664 0000000 0000000 00000007726 14716276021 0016700 0 ustar 00root root 0000000 0000000 description evpn/pbb with egress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:13 mac-learn private exit bridge 4 rd 1:4 rt-both 1:14 mac-learn private exit bridge 5 rd 1:5 rt-both 1:15 mac-learn private exit bridge 6 rd 1:6 rt-both 1:16 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 pmsi neigh 2.2.2.2 maximum-prefix-in 5 50 neigh 2.2.2.2 route-target-filter-out afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 103 bridge 3 afi-evpn 103 update lo0 afi-evpn 105 bridge 5 afi-evpn 105 update lo0 exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 pmsi neigh 4321::2 maximum-prefix-in 5 50 neigh 4321::2 route-target-filter-out afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 104 bridge 4 afi-evpn 104 update lo0 afi-evpn 106 bridge 6 afi-evpn 106 update lo0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 rd 1:1 rt-both 1:1 mac-learn private exit bridge 2 rd 1:2 rt-both 1:2 mac-learn private exit bridge 3 rd 1:3 rt-both 1:23 mac-learn private exit bridge 4 rd 1:4 rt-both 1:24 mac-learn private exit bridge 5 rd 1:5 rt-both 1:25 mac-learn private exit bridge 6 rd 1:6 rt-both 1:26 mac-learn private exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int bvi1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:: exit int bvi2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 pmsi neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-out afi-evpn 101 bridge 1 afi-evpn 101 update lo0 afi-evpn 103 bridge 3 afi-evpn 103 update lo0 afi-evpn 105 bridge 5 afi-evpn 105 update lo0 exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 pmsi neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-out afi-evpn 101 bridge 2 afi-evpn 101 update lo0 afi-evpn 104 bridge 4 afi-evpn 104 update lo0 afi-evpn 106 bridge 6 afi-evpn 106 update lo0 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 r1 tping 100 60 3333::2 vrf v1 r1 tping 100 60 4.4.4.2 vrf v1 r1 tping 100 60 4444::2 vrf v1 r2 tping 100 60 3.3.3.1 vrf v1 r2 tping 100 60 3333::1 vrf v1 r2 tping 100 60 4.4.4.1 vrf v1 r2 tping 100 60 4444::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp598.tst 0000664 0000000 0000000 00000002740 14716276021 0016670 0 ustar 00root root 0000000 0000000 description ebgp ao password addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 authen-type sha1 1 neigh 1.1.1.2 password test red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 authen-type sha1 1 neigh 1234:1::2 password test red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 authen-type sha1 1 neigh 1.1.1.1 password test red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 authen-type sha1 1 neigh 1234:1::1 password test red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp599.tst 0000664 0000000 0000000 00000011127 14716276021 0016670 0 ustar 00root root 0000000 0000000 description bgp maximum prefix out addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.32 255.255.255.255 ipv6 addr 4321::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v1 ipv4 addr 2.2.2.42 255.255.255.255 ipv6 addr 4321::42 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v1 ipv4 addr 2.2.2.52 255.255.255.255 ipv6 addr 4321::52 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo6 vrf for v1 ipv4 addr 2.2.2.62 255.255.255.255 ipv6 addr 4321::62 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo7 vrf for v1 ipv4 addr 2.2.2.72 255.255.255.255 ipv6 addr 4321::72 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo8 vrf for v1 ipv4 addr 2.2.2.82 255.255.255.255 ipv6 addr 4321::82 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 maximum-prefix-out 3 50 aggregate 2.2.2.0/24 summary red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 maximum-prefix-out 3 50 aggregate 4321::/32 summary red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send no aggregate 2.2.2.0/24 summary r2 send exit r2 send router bgp6 1 r2 send no aggregate 4321::/32 summary r2 send end r1 tping 0 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 0 60 2.2.2.22 vrf v1 r1 tping 0 60 4321::22 vrf v1 r2 tping 0 60 2.2.2.1 vrf v1 r2 tping 0 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 0 60 2.2.2.21 vrf v1 r2 tping 0 60 4321::21 vrf v1 r2 send conf t r2 send router bgp4 1 r2 send aggregate 2.2.2.0/24 summary r2 send exit r2 send router bgp6 1 r2 send aggregate 4321::/32 summary r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp600.tst 0000664 0000000 0000000 00000005061 14716276021 0016647 0 ustar 00root root 0000000 0000000 description bgp attribute filtering addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 attribute-filter 5 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 attribute-filter 5 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 attribute-filter 5 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 attribute-filter 5 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set locpref 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match locpref 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp601.tst 0000664 0000000 0000000 00000006312 14716276021 0016650 0 ustar 00root root 0000000 0000000 description bgp unknown attribute ingress addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 unknowns-in all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 unknowns-in all neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 unknowns-in all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect neigh 1234::2 unknowns-in all neigh 1234::3 remote-as 1 neigh 1234::3 route-reflect neigh 1234::3 unknowns-in all neigh 1234::4 remote-as 1 neigh 1234::4 route-reflect neigh 1234::4 unknowns-in all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit route-map all action permit exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match unknown 2 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 unknowns-in all neigh 1.1.1.1 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-map-in rm1 neigh 1234::1 unknowns-in all neigh 1234::1 unknowns-out all red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:ffff:: exit route-map all action permit exit ! r2 tping 100 60 1.1.1.1 vrf v1 r2 send pack bgpattr v1 eth1 1.1.1.1 1 2.2.2.2/32 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r2 read wait r4 tping 100 60 1234::1 vrf v1 r4 send pack bgpattr v1 eth1 1234::1 1 4321::4/128 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r4 read wait r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 freeRtr-24.11.16/cfg/rout-bgp602.tst 0000664 0000000 0000000 00000006317 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp unknown attribute egress addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 unknowns-out all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 unknowns-out all neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect neigh 1234::2 unknowns-out all neigh 1234::3 remote-as 1 neigh 1234::3 route-reflect neigh 1234::3 unknowns-out all neigh 1234::4 remote-as 1 neigh 1234::4 route-reflect neigh 1234::4 unknowns-out all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit route-map all action permit exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match unknown 2 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 unknowns-in all neigh 1.1.1.1 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-map-in rm1 neigh 1234::1 unknowns-in all neigh 1234::1 unknowns-out all red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:ffff:: exit route-map all action permit exit ! r2 tping 100 60 1.1.1.1 vrf v1 r2 send pack bgpattr v1 eth1 1.1.1.1 1 2.2.2.2/32 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r2 read wait r4 tping 100 60 1234::1 vrf v1 r4 send pack bgpattr v1 eth1 1234::1 1 4321::4/128 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r4 read wait r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 freeRtr-24.11.16/cfg/rout-bgp603.tst 0000664 0000000 0000000 00000006626 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with unknown attribute addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 unknowns-in all neigh 1.1.1.2 unknowns-out all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 unknowns-in all neigh 1.1.1.3 unknowns-out all neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 unknowns-in all neigh 1.1.1.4 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect neigh 1234::2 unknowns-in all neigh 1234::2 unknowns-out all neigh 1234::3 remote-as 1 neigh 1234::3 route-reflect neigh 1234::3 unknowns-in all neigh 1234::3 unknowns-out all neigh 1234::4 remote-as 1 neigh 1234::4 route-reflect neigh 1234::4 unknowns-in all neigh 1234::4 unknowns-out all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit route-map all action permit exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match unknown 2 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 unknowns-in all neigh 1.1.1.1 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-map-in rm1 neigh 1234::1 unknowns-in all neigh 1234::1 unknowns-out all red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:ffff:: exit route-map all action permit exit ! r2 tping 100 60 1.1.1.1 vrf v1 r2 send pack bgpattr v1 eth1 1.1.1.1 1 2.2.2.2/32 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r2 read wait r4 tping 100 60 1234::1 vrf v1 r4 send pack bgpattr v1 eth1 1234::1 1 4321::4/128 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r4 read wait r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 freeRtr-24.11.16/cfg/rout-bgp604.tst 0000664 0000000 0000000 00000006612 14716276021 0016656 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with unknown attribute addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int eth3 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 unknowns-in all neigh 1.1.1.2 unknowns-out all neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 unknowns-in all neigh 1.1.1.3 unknowns-out all neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 unknowns-in all neigh 1.1.1.4 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect neigh 1234::2 unknowns-in all neigh 1234::2 unknowns-out all neigh 1234::3 remote-as 1 neigh 1234::3 route-reflect neigh 1234::3 unknowns-in all neigh 1234::3 unknowns-out all neigh 1234::4 remote-as 1 neigh 1234::4 route-reflect neigh 1234::4 unknowns-in all neigh 1234::4 unknowns-out all red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit route-map all action permit exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit route-policy rm1 if unknown 2 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 unknowns-in all neigh 1.1.1.1 unknowns-out all red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-policy-in rm1 neigh 1234::1 unknowns-in all neigh 1234::1 unknowns-out all red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:ffff:: exit route-map all action permit exit ! r2 tping 100 60 1.1.1.1 vrf v1 r2 send pack bgpattr v1 eth1 1.1.1.1 1 2.2.2.2/32 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r2 read wait r4 tping 100 60 1234::1 vrf v1 r4 send pack bgpattr v1 eth1 1234::1 1 4321::4/128 all 255 4 3 2 1 2 3 4 , 0 1 2 3 2 1 r4 read wait r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 0 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 freeRtr-24.11.16/cfg/rout-bgp605.tst 0000664 0000000 0000000 00000006261 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ebgp with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp606.tst 0000664 0000000 0000000 00000007733 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ibgp with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.11 vrf v1 sou lo0 r2 tping 0 60 2.2.2.13 vrf v1 sou lo0 r2 tping 0 60 4321::11 vrf v1 sou lo0 r2 tping 0 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp607.tst 0000664 0000000 0000000 00000007106 14716276021 0016660 0 ustar 00root root 0000000 0000000 description bgp additional path with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx ctp neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 additional-path-rx ctp red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx ctp neigh 1234:2::2 remote-as 3 neigh 1234:2::2 additional-path-rx ctp red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 additional-path-rx ctp neigh 1.1.1.5 additional-path-tx ctp red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 additional-path-tx ctp neigh 1234:2::1 additional-path-tx ctp red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp608.tst 0000664 0000000 0000000 00000007466 14716276021 0016672 0 ustar 00root root 0000000 0000000 description ebgp with php ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 label-pop neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 label-pop neigh 1234:2::2 remote-as 3 neigh 1234:2::2 label-pop red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 2.2.2.1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.3 vrf v1 sou lo0 r2 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp609.tst 0000664 0000000 0000000 00000010103 14716276021 0016651 0 ustar 00root root 0000000 0000000 description ibgp with php ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 label-pop red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 label-pop red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.11 vrf v1 sou lo0 r2 tping 0 60 2.2.2.13 vrf v1 sou lo0 r2 tping 0 60 4321::11 vrf v1 sou lo0 r2 tping 0 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp610.tst 0000664 0000000 0000000 00000010313 14716276021 0016644 0 ustar 00root root 0000000 0000000 description bgp additional path with php ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop neigh 1.1.1.2 additional-path-tx ctp red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop neigh 1234:1::2 additional-path-tx ctp red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 label-pop neigh 1.1.1.1 additional-path-rx ctp neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 label-pop neigh 1.1.1.6 additional-path-rx ctp red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 label-pop neigh 1234:1::1 additional-path-rx lab neigh 1234:2::2 remote-as 3 neigh 1234:2::2 label-pop neigh 1234:2::2 additional-path-rx lab red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 label-pop neigh 1.1.1.5 additional-path-rx lab neigh 1.1.1.5 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 label-pop neigh 1234:2::1 additional-path-tx lab neigh 1234:2::1 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 2.2.2.1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.3 vrf v1 sou lo0 r2 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp611.tst 0000664 0000000 0000000 00000007225 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ibgp rr with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.12 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::12 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo0 r1 tping 100 60 4321::12 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.11 vrf v1 sou lo0 r2 tping 100 60 2.2.2.13 vrf v1 sou lo0 r2 tping 100 60 4321::11 vrf v1 sou lo0 r2 tping 100 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r3 tping 100 60 2.2.2.12 vrf v1 sou lo0 r3 tping 100 60 4321::12 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp612.tst 0000664 0000000 0000000 00000005726 14716276021 0016662 0 ustar 00root root 0000000 0000000 description confed bgp with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 confed neigh 1234::3 remote-as 3 neigh 1234::3 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp613.tst 0000664 0000000 0000000 00000005634 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp route server with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp614.tst 0000664 0000000 0000000 00000006220 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp soft-reconfig with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 soft-reconfig red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp615.tst 0000664 0000000 0000000 00000004350 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ctp bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp616.tst 0000664 0000000 0000000 00000004351 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ctp bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp617.tst 0000664 0000000 0000000 00000004452 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ctp bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp618.tst 0000664 0000000 0000000 00000004453 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ctp bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp619.tst 0000664 0000000 0000000 00000004563 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ctp bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp620.tst 0000664 0000000 0000000 00000004564 14716276021 0016660 0 ustar 00root root 0000000 0000000 description ctp bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp621.tst 0000664 0000000 0000000 00000004665 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ctp bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp622.tst 0000664 0000000 0000000 00000004666 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ctp bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp623.tst 0000664 0000000 0000000 00000004321 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ctp bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp624.tst 0000664 0000000 0000000 00000004322 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ctp bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp625.tst 0000664 0000000 0000000 00000004534 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ctp bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp626.tst 0000664 0000000 0000000 00000004535 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ctp bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp627.tst 0000664 0000000 0000000 00000002426 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ctp bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 default exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp628.tst 0000664 0000000 0000000 00000004477 14716276021 0016673 0 ustar 00root root 0000000 0000000 description ctp bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp629.tst 0000664 0000000 0000000 00000014465 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bgp change in metric with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp630.tst 0000664 0000000 0000000 00000020400 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ibgp rr prefix movement with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp631.tst 0000664 0000000 0000000 00000012051 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ibgp rr prefix withdraw with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp632.tst 0000664 0000000 0000000 00000003632 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+octp over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp633.tst 0000664 0000000 0000000 00000004044 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+octp over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp634.tst 0000664 0000000 0000000 00000004416 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+octp over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-rx uni octp neigh 1.1.1.2 additional-path-tx uni octp afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-rx uni octp neigh 1234:1::2 additional-path-Tx uni octp afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx uni octp neigh 1.1.1.1 additional-path-tx uni octp afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx uni octp neigh 1234:1::1 additional-path-tx uni octp afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp635.tst 0000664 0000000 0000000 00000004237 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+octp over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-server neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp636.tst 0000664 0000000 0000000 00000002531 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+octp over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni octp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp637.tst 0000664 0000000 0000000 00000004106 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+octp over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni octp local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni octp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni octp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflect neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp638.tst 0000664 0000000 0000000 00000002763 14716276021 0016670 0 ustar 00root root 0000000 0000000 description unicast+octp over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp639.tst 0000664 0000000 0000000 00000003421 14716276021 0016661 0 ustar 00root root 0000000 0000000 description octp over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp640.tst 0000664 0000000 0000000 00000003511 14716276021 0016651 0 ustar 00root root 0000000 0000000 description octp over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp641.tst 0000664 0000000 0000000 00000005002 14716276021 0016647 0 ustar 00root root 0000000 0000000 description octp over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp642.tst 0000664 0000000 0000000 00000005075 14716276021 0016662 0 ustar 00root root 0000000 0000000 description octp over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp643.tst 0000664 0000000 0000000 00000005133 14716276021 0016656 0 ustar 00root root 0000000 0000000 description octp over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp644.tst 0000664 0000000 0000000 00000003627 14716276021 0016665 0 ustar 00root root 0000000 0000000 description octp over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp645.tst 0000664 0000000 0000000 00000004130 14716276021 0016654 0 ustar 00root root 0000000 0000000 description octp over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx octp neigh 1.1.1.2 additional-path-tx octp afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 additional-path-rx octp neigh 1234::2 additional-path-tx octp afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx octp neigh 1.1.1.1 additional-path-tx octp afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 additional-path-rx octp neigh 1234::1 additional-path-tx octp afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp646.tst 0000664 0000000 0000000 00000002567 14716276021 0016671 0 ustar 00root root 0000000 0000000 description octp bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-default afi-other ena exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-default afi-other ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp647.tst 0000664 0000000 0000000 00000004535 14716276021 0016667 0 ustar 00root root 0000000 0000000 description octp bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp648.tst 0000664 0000000 0000000 00000004536 14716276021 0016671 0 ustar 00root root 0000000 0000000 description octp bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp649.tst 0000664 0000000 0000000 00000004637 14716276021 0016674 0 ustar 00root root 0000000 0000000 description octp bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp650.tst 0000664 0000000 0000000 00000004640 14716276021 0016656 0 ustar 00root root 0000000 0000000 description octp bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp651.tst 0000664 0000000 0000000 00000004750 14716276021 0016661 0 ustar 00root root 0000000 0000000 description octp bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp652.tst 0000664 0000000 0000000 00000004751 14716276021 0016663 0 ustar 00root root 0000000 0000000 description octp bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp653.tst 0000664 0000000 0000000 00000005052 14716276021 0016657 0 ustar 00root root 0000000 0000000 description octp bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp654.tst 0000664 0000000 0000000 00000005053 14716276021 0016661 0 ustar 00root root 0000000 0000000 description octp bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp655.tst 0000664 0000000 0000000 00000004506 14716276021 0016664 0 ustar 00root root 0000000 0000000 description octp bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp656.tst 0000664 0000000 0000000 00000004507 14716276021 0016666 0 ustar 00root root 0000000 0000000 description octp bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp657.tst 0000664 0000000 0000000 00000004721 14716276021 0016665 0 ustar 00root root 0000000 0000000 description octp bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp658.tst 0000664 0000000 0000000 00000004722 14716276021 0016667 0 ustar 00root root 0000000 0000000 description octp bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp659.tst 0000664 0000000 0000000 00000004650 14716276021 0016670 0 ustar 00root root 0000000 0000000 description octp bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp660.tst 0000664 0000000 0000000 00000015021 14716276021 0016652 0 ustar 00root root 0000000 0000000 description octp bgp change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn route-map rm1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp661.tst 0000664 0000000 0000000 00000020764 14716276021 0016665 0 ustar 00root root 0000000 0000000 description octp ibgp rr prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other advertise 4321::2/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other advertise 2.2.2.2/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other advertise 4321::3/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other advertise 2.2.2.3/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp662.tst 0000664 0000000 0000000 00000012421 14716276021 0016655 0 ustar 00root root 0000000 0000000 description octp ibgp rr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp663.tst 0000664 0000000 0000000 00000012663 14716276021 0016666 0 ustar 00root root 0000000 0000000 description octp ibgp fullmesh prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp664.tst 0000664 0000000 0000000 00000003633 14716276021 0016664 0 ustar 00root root 0000000 0000000 description olab+octp over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address olab octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address olab octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp665.tst 0000664 0000000 0000000 00000012116 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp routemap rd rewrite addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-map rm1 sequence 10 act deny sequence 10 match rd 1:3 sequence 20 act perm exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 vpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-map rm1 sequence 10 act perm sequence 10 match rd 1:3 sequence 10 set rd 1:33 sequence 20 act perm exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 vpn-route-map-out rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 vpn-route-map-out rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp666.tst 0000664 0000000 0000000 00000012026 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp routepolicy rd rewrite addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-policy rm1 if rd 1:3 drop else pass enif exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 vpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 vpn-route-policy-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit route-policy rm1 if rd 1:3 set rd 1:33 pass else pass enif exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 vpn-route-policy-out rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 vpn-route-policy-out rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp667.tst 0000664 0000000 0000000 00000020256 14716276021 0016667 0 ustar 00root root 0000000 0000000 description bgp csc vpn with ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 4 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.1 neigh 4321::4 remote-as 4 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.2 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::2 router bgp4 1 vrf v2 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.1 neigh 3.3.3.102 remote-as 2 neigh 3.3.3.102 update lo0 neigh 3.3.3.102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.1 neigh 3333::102 remote-as 2 neigh 3333::102 update lo0 neigh 3333::102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::1 ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.6 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.102 255.255.255.255 ipv6 addr 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.5 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::5 router bgp4 1 vrf v2 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.6 remote-as 3 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:2::2 remote-as 3 red conn red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 3.3.3.101 remote-as 2 neigh 3.3.3.101 update lo0 neigh 3.3.3.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 3333::101 remote-as 2 neigh 3333::101 update lo0 neigh 3333::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 4 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.2 neigh 4321::1 remote-as 4 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r2 tping 100 60 3.3.3.102 vrf v1 sou lo0 r2 tping 100 60 3333::102 vrf v1 sou lo0 r4 tping 100 60 3.3.3.101 vrf v1 sou lo0 r4 tping 100 60 3333::101 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v2 sou lo1 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 2.2.2.4 vrf v2 sou lo1 r2 tping 100 60 4321::1 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r2 tping 100 60 4321::4 vrf v2 sou lo1 r4 tping 100 60 2.2.2.1 vrf v2 sou lo1 r4 tping 100 60 2.2.2.2 vrf v2 sou lo1 r4 tping 100 60 2.2.2.4 vrf v2 sou lo1 r4 tping 100 60 4321::1 vrf v2 sou lo1 r4 tping 100 60 4321::2 vrf v2 sou lo1 r4 tping 100 60 4321::4 vrf v2 sou lo1 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.2 vrf v1 sou lo0 r5 tping 100 60 2.2.2.3 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 4321::2 vrf v1 sou lo0 r5 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4.4.4.4 vrf v3 sou lo1 r1 tping 100 60 4444::4 vrf v3 sou lo1 r5 tping 100 60 4.4.4.1 vrf v3 sou lo1 r5 tping 100 60 4444::1 vrf v3 sou lo1 freeRtr-24.11.16/cfg/rout-bgp668.tst 0000664 0000000 0000000 00000006770 14716276021 0016675 0 ustar 00root root 0000000 0000000 description ctp colors over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp669.tst 0000664 0000000 0000000 00000007142 14716276021 0016670 0 ustar 00root root 0000000 0000000 description other ctp colors over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp670.tst 0000664 0000000 0000000 00000006770 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ctp colors over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp671.tst 0000664 0000000 0000000 00000007142 14716276021 0016661 0 ustar 00root root 0000000 0000000 description other ctp colors over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp672.tst 0000664 0000000 0000000 00000007467 14716276021 0016674 0 ustar 00root root 0000000 0000000 description ctp colors over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx ctp neigh 2.2.2.2 additional-path-tx ctp afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx ctp neigh 4321::2 additional-path-tx ctp afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx ctp neigh 2.2.2.1 additional-path-tx ctp afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx ctp neigh 4321::1 additional-path-tx ctp afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp673.tst 0000664 0000000 0000000 00000007651 14716276021 0016670 0 ustar 00root root 0000000 0000000 description other ctp colors over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx octp neigh 2.2.2.2 additional-path-tx octp afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx octp neigh 4321::2 additional-path-tx octp afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx octp neigh 2.2.2.1 additional-path-tx octp afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx octp neigh 4321::1 additional-path-tx octp afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp674.tst 0000664 0000000 0000000 00000011001 14716276021 0016651 0 ustar 00root root 0000000 0000000 description ctp colors over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address ctp local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address ctp local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp675.tst 0000664 0000000 0000000 00000011155 14716276021 0016664 0 ustar 00root root 0000000 0000000 description other ctp colors over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address octp local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address octp local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp676.tst 0000664 0000000 0000000 00000007126 14716276021 0016670 0 ustar 00root root 0000000 0000000 description ctp colors over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp677.tst 0000664 0000000 0000000 00000007300 14716276021 0016663 0 ustar 00root root 0000000 0000000 description other ctp colors over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp678.tst 0000664 0000000 0000000 00000011043 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ctp colors over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp679.tst 0000664 0000000 0000000 00000011217 14716276021 0016667 0 ustar 00root root 0000000 0000000 description other ctp colors over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp680.tst 0000664 0000000 0000000 00000007176 14716276021 0016670 0 ustar 00root root 0000000 0000000 description ctp colors over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 soft-reconfig neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 soft-reconfig neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 soft-reconfig neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp681.tst 0000664 0000000 0000000 00000007164 14716276021 0016666 0 ustar 00root root 0000000 0000000 description other ctp colors over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp682.tst 0000664 0000000 0000000 00000005065 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ebgp with strict bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit route-map rm1 set aspath 3 3 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 bfd-trigger strict neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.6 remote-as 2 neigh 1.1.1.6 bfd-trigger strict red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 bfd-trigger strict neigh 1234:1::2 route-map-in rm1 neigh 1234:1::2 route-map-out rm1 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 bfd-trigger strict red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 bfd-trigger strict neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 bfd-trigger strict red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 bfd-trigger strict neigh 1234:2::1 remote-as 1 neigh 1234:2::1 bfd-trigger strict red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp683.tst 0000664 0000000 0000000 00000005035 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ebgp with asymmetric bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit route-map rm1 set aspath 3 3 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 bfd-trigger strict neigh 1.1.1.2 route-map-in rm1 neigh 1.1.1.2 route-map-out rm1 neigh 1.1.1.6 remote-as 2 neigh 1.1.1.6 bfd-trigger strict red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 bfd-trigger strict neigh 1234:1::2 route-map-in rm1 neigh 1234:1::2 route-map-out rm1 neigh 1234:2::2 remote-as 2 neigh 1234:2::2 bfd-trigger strict red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 bfd-trigger neigh 1.1.1.5 remote-as 1 neigh 1.1.1.5 bfd-trigger red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 bfd-trigger neigh 1234:2::1 remote-as 1 neigh 1234:2::1 bfd-trigger red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth2 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp684.tst 0000664 0000000 0000000 00000002617 14716276021 0016667 0 ustar 00root root 0000000 0000000 description unicast+rpd over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rpd local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rpd local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rpd local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rpd local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp685.tst 0000664 0000000 0000000 00000003032 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+rpd over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rpd local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rpd local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rpd local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rpd local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp686.tst 0000664 0000000 0000000 00000003374 14716276021 0016672 0 ustar 00root root 0000000 0000000 description unicast+rpd over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rpd local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni rpd neigh 1.1.1.2 additional-path-tx uni rpd red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rpd local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni rpd neigh 1234:1::2 additional-path-tx uni rpd red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni rpd local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni rpd neigh 1.1.1.1 additional-path-tx uni rpd red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni rpd local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni rpd neigh 1234:1::1 additional-path-tx uni rpd red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp687.tst 0000664 0000000 0000000 00000002675 14716276021 0016676 0 ustar 00root root 0000000 0000000 description legacy bgp session addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 no neigh 1.1.1.2 wide-as no neigh 1.1.1.2 route-refresh red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 no neigh 1234:1::2 wide-as no neigh 1234:1::2 route-refresh red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 no neigh 1.1.1.1 wide-as no neigh 1.1.1.1 route-refresh red conn exit router bgp6 1 vrf v1 no safe-ebgp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 no neigh 1234:1::1 wide-as no neigh 1234:1::1 route-refresh red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp688.tst 0000664 0000000 0000000 00000005753 14716276021 0016677 0 ustar 00root root 0000000 0000000 description bgp auto summarization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 autosumm red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 autosumm red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp689.tst 0000664 0000000 0000000 00000031211 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp interas vpn with multiple labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3331::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 multiple-label vpnuni afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 multiple-label vpnuni afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3332::2 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 multiple-label vpnuni neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 multiple-label vpnuni neigh 2.2.2.3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 multiple-label vpnuni neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 multiple-label vpnuni neigh 4321::3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 1.1.1.10 255.255.255.255 1.1.1.10 mplsimp ipv6 route v1 1234:3::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 mplsimp router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 multiple-label vpnuni neigh 2.2.2.2 next-hop-multi neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 send-comm both neigh 1.1.1.10 multiple-label vpnuni neigh 1.1.1.10 next-hop-multi afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 multiple-label vpnuni neigh 4321::2 next-hop-multi neigh 1234:3::2 remote-as 2 neigh 1234:3::2 send-comm both neigh 1234:3::2 multiple-label vpnuni neigh 1234:3::2 next-hop-multi afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3334::4 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 1.1.1.9 255.255.255.255 1.1.1.9 mplsimp ipv6 route v1 1234:3::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 mplsimp router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 multiple-label vpnuni neigh 2.2.2.5 next-hop-multi neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 send-comm both neigh 1.1.1.9 multiple-label vpnuni neigh 1.1.1.9 next-hop-multi afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 multiple-label vpnuni neigh 4321::5 next-hop-multi neigh 1234:3::1 remote-as 1 neigh 1234:3::1 send-comm both neigh 1234:3::1 multiple-label vpnuni neigh 1234:3::1 next-hop-multi afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3335::5 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 multiple-label vpnuni neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 multiple-label vpnuni neigh 2.2.2.6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 multiple-label vpnuni neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 multiple-label vpnuni neigh 4321::6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3336::6 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 multiple-label vpnuni afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 multiple-label vpnuni afi-vrf v2 ena afi-vrf v2 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3332::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3331::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3331::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3332::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3335::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3336::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3334::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3336::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3334::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3335::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3331::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3332::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3331::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3332::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3331::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3332::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3334::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3335::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3336::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3334::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3335::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3336::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3334::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3335::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3336::6 vrf v2 sou lo1 freeRtr-24.11.16/cfg/rout-bgp690.tst 0000664 0000000 0000000 00000031632 14716276021 0016663 0 ustar 00root root 0000000 0000000 description bgp interas othervpn with multiple labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3331::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 multiple-label vpnuni ovpnuni afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 multiple-label vpnuni ovpnuni exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3332::2 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 multiple-label vpnuni ovpnuni neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 multiple-label vpnuni ovpnuni neigh 2.2.2.3 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 multiple-label vpnuni ovpnuni neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 multiple-label vpnuni ovpnuni neigh 4321::3 route-reflect exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 1.1.1.10 255.255.255.255 1.1.1.10 mplsimp ipv6 route v1 1234:3::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 mplsimp router bgp4 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 multiple-label vpnuni ovpnuni neigh 2.2.2.2 next-hop-multi neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 send-comm both neigh 1.1.1.10 multiple-label vpnuni ovpnuni neigh 1.1.1.10 next-hop-multi afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 multiple-label vpnuni ovpnuni neigh 4321::2 next-hop-multi neigh 1234:3::2 remote-as 2 neigh 1234:3::2 send-comm both neigh 1234:3::2 multiple-label vpnuni ovpnuni neigh 1234:3::2 next-hop-multi exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3334::4 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 1.1.1.9 255.255.255.255 1.1.1.9 mplsimp ipv6 route v1 1234:3::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 mplsimp router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 multiple-label vpnuni ovpnuni neigh 2.2.2.5 next-hop-multi neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 send-comm both neigh 1.1.1.9 multiple-label vpnuni ovpnuni neigh 1.1.1.9 next-hop-multi afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 multiple-label vpnuni ovpnuni neigh 4321::5 next-hop-multi neigh 1234:3::1 remote-as 1 neigh 1234:3::1 send-comm both neigh 1234:3::1 multiple-label vpnuni ovpnuni neigh 1234:3::1 next-hop-multi exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3335::5 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both neigh 2.2.2.4 multiple-label vpnuni ovpnuni neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 send-comm both neigh 2.2.2.6 multiple-label vpnuni ovpnuni neigh 2.2.2.6 route-reflect afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 send-comm both neigh 4321::4 multiple-label vpnuni ovpnuni neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 send-comm both neigh 4321::6 multiple-label vpnuni ovpnuni neigh 4321::6 route-reflect exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3336::6 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 send-comm both neigh 2.2.2.5 multiple-label vpnuni ovpnuni afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni ovpnuni local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 send-comm both neigh 4321::5 multiple-label vpnuni ovpnuni exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v2 sou lo1 r1 tping 100 60 3332::2 vrf v2 sou lo1 r1 tping 100 60 3.3.3.3 vrf v2 sou lo1 r1 tping 100 60 3333::3 vrf v2 sou lo1 r2 tping 100 60 3.3.3.1 vrf v2 sou lo1 r2 tping 100 60 3331::1 vrf v2 sou lo1 r2 tping 100 60 3.3.3.3 vrf v2 sou lo1 r2 tping 100 60 3333::3 vrf v2 sou lo1 r3 tping 100 60 3.3.3.1 vrf v2 sou lo1 r3 tping 100 60 3331::1 vrf v2 sou lo1 r3 tping 100 60 3.3.3.2 vrf v2 sou lo1 r3 tping 100 60 3332::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.5 vrf v2 sou lo1 r4 tping 100 60 3335::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.6 vrf v2 sou lo1 r4 tping 100 60 3336::6 vrf v2 sou lo1 r5 tping 100 60 3.3.3.4 vrf v2 sou lo1 r5 tping 100 60 3334::4 vrf v2 sou lo1 r5 tping 100 60 3.3.3.6 vrf v2 sou lo1 r5 tping 100 60 3336::6 vrf v2 sou lo1 r6 tping 100 60 3.3.3.4 vrf v2 sou lo1 r6 tping 100 60 3334::4 vrf v2 sou lo1 r6 tping 100 60 3.3.3.5 vrf v2 sou lo1 r6 tping 100 60 3335::5 vrf v2 sou lo1 r4 tping 100 60 3.3.3.1 vrf v2 sou lo1 r4 tping 100 60 3331::1 vrf v2 sou lo1 r4 tping 100 60 3.3.3.2 vrf v2 sou lo1 r4 tping 100 60 3332::2 vrf v2 sou lo1 r4 tping 100 60 3.3.3.3 vrf v2 sou lo1 r4 tping 100 60 3333::3 vrf v2 sou lo1 r5 tping 100 60 3.3.3.1 vrf v2 sou lo1 r5 tping 100 60 3331::1 vrf v2 sou lo1 r5 tping 100 60 3.3.3.2 vrf v2 sou lo1 r5 tping 100 60 3332::2 vrf v2 sou lo1 r5 tping 100 60 3.3.3.3 vrf v2 sou lo1 r5 tping 100 60 3333::3 vrf v2 sou lo1 r6 tping 100 60 3.3.3.1 vrf v2 sou lo1 r6 tping 100 60 3331::1 vrf v2 sou lo1 r6 tping 100 60 3.3.3.2 vrf v2 sou lo1 r6 tping 100 60 3332::2 vrf v2 sou lo1 r6 tping 100 60 3.3.3.3 vrf v2 sou lo1 r6 tping 100 60 3333::3 vrf v2 sou lo1 r1 tping 100 60 3.3.3.4 vrf v2 sou lo1 r1 tping 100 60 3334::4 vrf v2 sou lo1 r1 tping 100 60 3.3.3.5 vrf v2 sou lo1 r1 tping 100 60 3335::5 vrf v2 sou lo1 r1 tping 100 60 3.3.3.6 vrf v2 sou lo1 r1 tping 100 60 3336::6 vrf v2 sou lo1 r2 tping 100 60 3.3.3.4 vrf v2 sou lo1 r2 tping 100 60 3334::4 vrf v2 sou lo1 r2 tping 100 60 3.3.3.5 vrf v2 sou lo1 r2 tping 100 60 3335::5 vrf v2 sou lo1 r2 tping 100 60 3.3.3.6 vrf v2 sou lo1 r2 tping 100 60 3336::6 vrf v2 sou lo1 r3 tping 100 60 3.3.3.4 vrf v2 sou lo1 r3 tping 100 60 3334::4 vrf v2 sou lo1 r3 tping 100 60 3.3.3.5 vrf v2 sou lo1 r3 tping 100 60 3335::5 vrf v2 sou lo1 r3 tping 100 60 3.3.3.6 vrf v2 sou lo1 r3 tping 100 60 3336::6 vrf v2 sou lo1 freeRtr-24.11.16/cfg/rout-bgp691.tst 0000664 0000000 0000000 00000027746 14716276021 0016677 0 ustar 00root root 0000000 0000000 description bgp interas labels with multiple labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3331::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 multiple-label lab justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 multiple-label lab justadvert lo1 exit int pweth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 pseudo v1 lo1 pweompls 3.3.3.6 1234 exit int pweth2 vrf for v1 ipv4 addr 4.4.5.1 255.255.255.0 pseudo v1 lo1 pweompls 3336::6 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3332::2 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 multiple-label lab neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 multiple-label lab neigh 2.2.2.3 route-reflect justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 multiple-label lab neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 multiple-label lab neigh 4321::3 route-reflect justadvert lo1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 1.1.1.10 255.255.255.255 1.1.1.10 mplsimp ipv6 route v1 1234:3::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 mplsimp router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 multiple-label lab neigh 2.2.2.2 next-hop-multi neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 multiple-label lab neigh 1.1.1.10 next-hop-multi justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 multiple-label lab neigh 4321::2 next-hop-multi neigh 1234:3::2 remote-as 2 neigh 1234:3::2 multiple-label lab neigh 1234:3::2 next-hop-multi justadvert lo1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3334::4 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 1.1.1.9 255.255.255.255 1.1.1.9 mplsimp ipv6 route v1 1234:3::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 mplsimp router bgp4 2 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 multiple-label lab neigh 2.2.2.5 next-hop-multi neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 multiple-label lab neigh 1.1.1.9 next-hop-multi justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 multiple-label lab neigh 4321::5 next-hop-multi neigh 1234:3::1 remote-as 1 neigh 1234:3::1 multiple-label lab neigh 1234:3::1 next-hop-multi justadvert lo1 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3335::5 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 multiple-label lab neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 multiple-label lab neigh 2.2.2.6 route-reflect justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 multiple-label lab neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 multiple-label lab neigh 4321::6 route-reflect justadvert lo1 exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3336::6 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address lab local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 multiple-label lab justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address lab local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 multiple-label lab justadvert lo1 exit int pweth1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 pseudo v1 lo1 pweompls 3.3.3.1 1234 exit int pweth2 vrf for v1 ipv4 addr 4.4.5.2 255.255.255.0 pseudo v1 lo1 pweompls 3331::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 sou lo1 r1 tping 100 60 3332::2 vrf v1 sou lo1 r1 tping 100 60 3.3.3.3 vrf v1 sou lo1 r1 tping 100 60 3333::3 vrf v1 sou lo1 r2 tping 100 60 3.3.3.1 vrf v1 sou lo1 r2 tping 100 60 3331::1 vrf v1 sou lo1 r2 tping 100 60 3.3.3.3 vrf v1 sou lo1 r2 tping 100 60 3333::3 vrf v1 sou lo1 r3 tping 100 60 3.3.3.1 vrf v1 sou lo1 r3 tping 100 60 3331::1 vrf v1 sou lo1 r3 tping 100 60 3.3.3.2 vrf v1 sou lo1 r3 tping 100 60 3332::2 vrf v1 sou lo1 r4 tping 100 60 3.3.3.5 vrf v1 sou lo1 r4 tping 100 60 3335::5 vrf v1 sou lo1 r4 tping 100 60 3.3.3.6 vrf v1 sou lo1 r4 tping 100 60 3336::6 vrf v1 sou lo1 r5 tping 100 60 3.3.3.4 vrf v1 sou lo1 r5 tping 100 60 3334::4 vrf v1 sou lo1 r5 tping 100 60 3.3.3.6 vrf v1 sou lo1 r5 tping 100 60 3336::6 vrf v1 sou lo1 r6 tping 100 60 3.3.3.4 vrf v1 sou lo1 r6 tping 100 60 3334::4 vrf v1 sou lo1 r6 tping 100 60 3.3.3.5 vrf v1 sou lo1 r6 tping 100 60 3335::5 vrf v1 sou lo1 r4 tping 100 60 3.3.3.1 vrf v1 sou lo1 r4 tping 100 60 3331::1 vrf v1 sou lo1 r4 tping 100 60 3.3.3.2 vrf v1 sou lo1 r4 tping 100 60 3332::2 vrf v1 sou lo1 r4 tping 100 60 3.3.3.3 vrf v1 sou lo1 r4 tping 100 60 3333::3 vrf v1 sou lo1 r5 tping 100 60 3.3.3.1 vrf v1 sou lo1 r5 tping 100 60 3331::1 vrf v1 sou lo1 r5 tping 100 60 3.3.3.2 vrf v1 sou lo1 r5 tping 100 60 3332::2 vrf v1 sou lo1 r5 tping 100 60 3.3.3.3 vrf v1 sou lo1 r5 tping 100 60 3333::3 vrf v1 sou lo1 r6 tping 100 60 3.3.3.1 vrf v1 sou lo1 r6 tping 100 60 3331::1 vrf v1 sou lo1 r6 tping 100 60 3.3.3.2 vrf v1 sou lo1 r6 tping 100 60 3332::2 vrf v1 sou lo1 r6 tping 100 60 3.3.3.3 vrf v1 sou lo1 r6 tping 100 60 3333::3 vrf v1 sou lo1 r1 tping 100 60 3.3.3.4 vrf v1 sou lo1 r1 tping 100 60 3334::4 vrf v1 sou lo1 r1 tping 100 60 3.3.3.5 vrf v1 sou lo1 r1 tping 100 60 3335::5 vrf v1 sou lo1 r1 tping 100 60 3.3.3.6 vrf v1 sou lo1 r1 tping 100 60 3336::6 vrf v1 sou lo1 r2 tping 100 60 3.3.3.4 vrf v1 sou lo1 r2 tping 100 60 3334::4 vrf v1 sou lo1 r2 tping 100 60 3.3.3.5 vrf v1 sou lo1 r2 tping 100 60 3335::5 vrf v1 sou lo1 r2 tping 100 60 3.3.3.6 vrf v1 sou lo1 r2 tping 100 60 3336::6 vrf v1 sou lo1 r3 tping 100 60 3.3.3.4 vrf v1 sou lo1 r3 tping 100 60 3334::4 vrf v1 sou lo1 r3 tping 100 60 3.3.3.5 vrf v1 sou lo1 r3 tping 100 60 3335::5 vrf v1 sou lo1 r3 tping 100 60 3.3.3.6 vrf v1 sou lo1 r3 tping 100 60 3336::6 vrf v1 sou lo1 r1 tping 100 40 4.4.4.2 vrf v1 r6 tping 100 40 4.4.4.1 vrf v1 r1 tping 100 40 4.4.5.2 vrf v1 r6 tping 100 40 4.4.5.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp692.tst 0000664 0000000 0000000 00000027743 14716276021 0016675 0 ustar 00root root 0000000 0000000 description bgp interas ctp with multiple labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3331::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 multiple-label ctp justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 multiple-label ctp justadvert lo1 exit int pweth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 pseudo v1 lo1 pweompls 3.3.3.6 1234 exit int pweth2 vrf for v1 ipv4 addr 4.4.5.1 255.255.255.0 pseudo v1 lo1 pweompls 3336::6 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3332::2 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 multiple-label ctp neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 multiple-label ctp neigh 2.2.2.3 route-reflect justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 multiple-label ctp neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 multiple-label ctp neigh 4321::3 route-reflect justadvert lo1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 1.1.1.10 255.255.255.255 1.1.1.10 mplsimp ipv6 route v1 1234:3::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 mplsimp router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 multiple-label ctp neigh 2.2.2.2 next-hop-multi neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 multiple-label ctp neigh 1.1.1.10 next-hop-multi justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 multiple-label ctp neigh 4321::2 next-hop-multi neigh 1234:3::2 remote-as 2 neigh 1234:3::2 multiple-label ctp neigh 1234:3::2 next-hop-multi justadvert lo1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3334::4 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 1.1.1.9 255.255.255.255 1.1.1.9 mplsimp ipv6 route v1 1234:3::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 mplsimp router bgp4 2 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 multiple-label ctp neigh 2.2.2.5 next-hop-multi neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 multiple-label ctp neigh 1.1.1.9 next-hop-multi justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 multiple-label ctp neigh 4321::5 next-hop-multi neigh 1234:3::1 remote-as 1 neigh 1234:3::1 multiple-label ctp neigh 1234:3::1 next-hop-multi justadvert lo1 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3335::5 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 multiple-label ctp neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 multiple-label ctp neigh 2.2.2.6 route-reflect justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 multiple-label ctp neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 multiple-label ctp neigh 4321::6 route-reflect justadvert lo1 exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3336::6 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address ctp local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 multiple-label ctp justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address ctp local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 multiple-label ctp justadvert lo1 exit int pweth1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 pseudo v1 lo1 pweompls 3.3.3.1 1234 exit int pweth2 vrf for v1 ipv4 addr 4.4.5.2 255.255.255.0 pseudo v1 lo1 pweompls 3331::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 sou lo1 r1 tping 100 60 3332::2 vrf v1 sou lo1 r1 tping 100 60 3.3.3.3 vrf v1 sou lo1 r1 tping 100 60 3333::3 vrf v1 sou lo1 r2 tping 100 60 3.3.3.1 vrf v1 sou lo1 r2 tping 100 60 3331::1 vrf v1 sou lo1 r2 tping 100 60 3.3.3.3 vrf v1 sou lo1 r2 tping 100 60 3333::3 vrf v1 sou lo1 r3 tping 100 60 3.3.3.1 vrf v1 sou lo1 r3 tping 100 60 3331::1 vrf v1 sou lo1 r3 tping 100 60 3.3.3.2 vrf v1 sou lo1 r3 tping 100 60 3332::2 vrf v1 sou lo1 r4 tping 100 60 3.3.3.5 vrf v1 sou lo1 r4 tping 100 60 3335::5 vrf v1 sou lo1 r4 tping 100 60 3.3.3.6 vrf v1 sou lo1 r4 tping 100 60 3336::6 vrf v1 sou lo1 r5 tping 100 60 3.3.3.4 vrf v1 sou lo1 r5 tping 100 60 3334::4 vrf v1 sou lo1 r5 tping 100 60 3.3.3.6 vrf v1 sou lo1 r5 tping 100 60 3336::6 vrf v1 sou lo1 r6 tping 100 60 3.3.3.4 vrf v1 sou lo1 r6 tping 100 60 3334::4 vrf v1 sou lo1 r6 tping 100 60 3.3.3.5 vrf v1 sou lo1 r6 tping 100 60 3335::5 vrf v1 sou lo1 r4 tping 100 60 3.3.3.1 vrf v1 sou lo1 r4 tping 100 60 3331::1 vrf v1 sou lo1 r4 tping 100 60 3.3.3.2 vrf v1 sou lo1 r4 tping 100 60 3332::2 vrf v1 sou lo1 r4 tping 100 60 3.3.3.3 vrf v1 sou lo1 r4 tping 100 60 3333::3 vrf v1 sou lo1 r5 tping 100 60 3.3.3.1 vrf v1 sou lo1 r5 tping 100 60 3331::1 vrf v1 sou lo1 r5 tping 100 60 3.3.3.2 vrf v1 sou lo1 r5 tping 100 60 3332::2 vrf v1 sou lo1 r5 tping 100 60 3.3.3.3 vrf v1 sou lo1 r5 tping 100 60 3333::3 vrf v1 sou lo1 r6 tping 100 60 3.3.3.1 vrf v1 sou lo1 r6 tping 100 60 3331::1 vrf v1 sou lo1 r6 tping 100 60 3.3.3.2 vrf v1 sou lo1 r6 tping 100 60 3332::2 vrf v1 sou lo1 r6 tping 100 60 3.3.3.3 vrf v1 sou lo1 r6 tping 100 60 3333::3 vrf v1 sou lo1 r1 tping 100 60 3.3.3.4 vrf v1 sou lo1 r1 tping 100 60 3334::4 vrf v1 sou lo1 r1 tping 100 60 3.3.3.5 vrf v1 sou lo1 r1 tping 100 60 3335::5 vrf v1 sou lo1 r1 tping 100 60 3.3.3.6 vrf v1 sou lo1 r1 tping 100 60 3336::6 vrf v1 sou lo1 r2 tping 100 60 3.3.3.4 vrf v1 sou lo1 r2 tping 100 60 3334::4 vrf v1 sou lo1 r2 tping 100 60 3.3.3.5 vrf v1 sou lo1 r2 tping 100 60 3335::5 vrf v1 sou lo1 r2 tping 100 60 3.3.3.6 vrf v1 sou lo1 r2 tping 100 60 3336::6 vrf v1 sou lo1 r3 tping 100 60 3.3.3.4 vrf v1 sou lo1 r3 tping 100 60 3334::4 vrf v1 sou lo1 r3 tping 100 60 3.3.3.5 vrf v1 sou lo1 r3 tping 100 60 3335::5 vrf v1 sou lo1 r3 tping 100 60 3.3.3.6 vrf v1 sou lo1 r3 tping 100 60 3336::6 vrf v1 sou lo1 r1 tping 100 40 4.4.4.2 vrf v1 r6 tping 100 40 4.4.4.1 vrf v1 r1 tping 100 40 4.4.5.2 vrf v1 r6 tping 100 40 4.4.5.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp693.tst 0000664 0000000 0000000 00000002551 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ebgp with hostname addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 hostname red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 hostname red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 hostname red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 hostname red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp694.tst 0000664 0000000 0000000 00000002551 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ebgp with software addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 software red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 software red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 software red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 software red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp695.tst 0000664 0000000 0000000 00000006261 14716276021 0016670 0 ustar 00root root 0000000 0000000 description ebgp with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp696.tst 0000664 0000000 0000000 00000007733 14716276021 0016676 0 ustar 00root root 0000000 0000000 description ibgp with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.11 vrf v1 sou lo0 r2 tping 0 60 2.2.2.13 vrf v1 sou lo0 r2 tping 0 60 4321::11 vrf v1 sou lo0 r2 tping 0 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp697.tst 0000664 0000000 0000000 00000007106 14716276021 0016671 0 ustar 00root root 0000000 0000000 description bgp additional path with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx car neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 additional-path-rx car red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx car neigh 1234:2::2 remote-as 3 neigh 1234:2::2 additional-path-rx car red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 additional-path-rx car neigh 1.1.1.5 additional-path-tx car red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 additional-path-tx car neigh 1234:2::1 additional-path-tx car red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp698.tst 0000664 0000000 0000000 00000007466 14716276021 0016703 0 ustar 00root root 0000000 0000000 description ebgp with php car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 label-pop neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 label-pop neigh 1234:2::2 remote-as 3 neigh 1234:2::2 label-pop red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 label-pop red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 2.2.2.1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.3 vrf v1 sou lo0 r2 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp699.tst 0000664 0000000 0000000 00000010103 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ibgp with php car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 label-pop red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.13 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::13 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 label-pop red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 label-pop red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.11 vrf v1 sou lo0 r2 tping 0 60 2.2.2.13 vrf v1 sou lo0 r2 tping 0 60 4321::11 vrf v1 sou lo0 r2 tping 0 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp700.tst 0000664 0000000 0000000 00000010313 14716276021 0016644 0 ustar 00root root 0000000 0000000 description bgp additional path with php car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 label-pop neigh 1.1.1.2 additional-path-tx lab red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 label-pop neigh 1234:1::2 additional-path-tx lab red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 label-pop neigh 1.1.1.1 additional-path-rx car neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 label-pop neigh 1.1.1.6 additional-path-rx car red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 label-pop neigh 1234:1::1 additional-path-rx car neigh 1234:2::2 remote-as 3 neigh 1234:2::2 label-pop neigh 1234:2::2 additional-path-rx car red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 label-pop neigh 1.1.1.5 additional-path-rx car neigh 1.1.1.5 additional-path-tx car red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 label-pop neigh 1234:2::1 additional-path-tx car neigh 1234:2::1 additional-path-tx car red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 0 60 2.2.2.2 vrf v1 sou lo0 r1 tping 0 60 2.2.2.3 vrf v1 sou lo0 r1 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 2.2.2.1 vrf v1 sou lo0 r2 tping 0 60 2.2.2.3 vrf v1 sou lo0 r2 tping 0 60 4321::3 vrf v1 sou lo0 r2 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.1 vrf v1 sou lo0 r3 tping 0 60 2.2.2.2 vrf v1 sou lo0 r3 tping 0 60 4321::1 vrf v1 sou lo0 r3 tping 0 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp701.tst 0000664 0000000 0000000 00000007225 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ibgp rr with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.12 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::12 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.11 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::11 1234 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 1234::1 remote-as 1 neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 route-reflect red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo0 r1 tping 100 60 4321::12 vrf v1 sou lo0 r1 tping 100 60 2.2.2.13 vrf v1 sou lo0 r1 tping 100 60 4321::13 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.11 vrf v1 sou lo0 r2 tping 100 60 2.2.2.13 vrf v1 sou lo0 r2 tping 100 60 4321::11 vrf v1 sou lo0 r2 tping 100 60 4321::13 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.11 vrf v1 sou lo0 r3 tping 100 60 4321::11 vrf v1 sou lo0 r3 tping 100 60 2.2.2.12 vrf v1 sou lo0 r3 tping 100 60 4321::12 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp702.tst 0000664 0000000 0000000 00000005726 14716276021 0016662 0 ustar 00root root 0000000 0000000 description confed bgp with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 confed neigh 1234::3 remote-as 3 neigh 1234::3 confed red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 neigh 1234::2 confed red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp703.tst 0000664 0000000 0000000 00000005634 14716276021 0016661 0 ustar 00root root 0000000 0000000 description bgp route server with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 route-server red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 route-server neigh 1234::3 remote-as 3 neigh 1234::3 route-server red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234::2 remote-as 2 red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp704.tst 0000664 0000000 0000000 00000006220 14716276021 0016652 0 ustar 00root root 0000000 0000000 description bgp soft-reconfig with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 soft-reconfig red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp705.tst 0000664 0000000 0000000 00000004350 14716276021 0016655 0 ustar 00root root 0000000 0000000 description car bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp706.tst 0000664 0000000 0000000 00000004351 14716276021 0016657 0 ustar 00root root 0000000 0000000 description car bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp707.tst 0000664 0000000 0000000 00000004452 14716276021 0016662 0 ustar 00root root 0000000 0000000 description car bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp708.tst 0000664 0000000 0000000 00000004453 14716276021 0016664 0 ustar 00root root 0000000 0000000 description car bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp709.tst 0000664 0000000 0000000 00000004563 14716276021 0016667 0 ustar 00root root 0000000 0000000 description car bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp710.tst 0000664 0000000 0000000 00000004564 14716276021 0016660 0 ustar 00root root 0000000 0000000 description car bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 prefix-list-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 prefix-list-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp711.tst 0000664 0000000 0000000 00000004665 14716276021 0016663 0 ustar 00root root 0000000 0000000 description car bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp712.tst 0000664 0000000 0000000 00000004666 14716276021 0016665 0 ustar 00root root 0000000 0000000 description car bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-map-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-map-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp713.tst 0000664 0000000 0000000 00000004321 14716276021 0016652 0 ustar 00root root 0000000 0000000 description car bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp714.tst 0000664 0000000 0000000 00000004322 14716276021 0016654 0 ustar 00root root 0000000 0000000 description car bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp715.tst 0000664 0000000 0000000 00000004534 14716276021 0016662 0 ustar 00root root 0000000 0000000 description car bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp716.tst 0000664 0000000 0000000 00000004535 14716276021 0016664 0 ustar 00root root 0000000 0000000 description car bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-policy-out p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-policy-out p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp717.tst 0000664 0000000 0000000 00000002426 14716276021 0016662 0 ustar 00root root 0000000 0000000 description car bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 default exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp718.tst 0000664 0000000 0000000 00000004477 14716276021 0016673 0 ustar 00root root 0000000 0000000 description car bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p6 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp719.tst 0000664 0000000 0000000 00000014465 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bgp change in metric with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp720.tst 0000664 0000000 0000000 00000020400 14716276021 0016644 0 ustar 00root root 0000000 0000000 description ibgp rr prefix movement with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.2/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 advertise 4321::2/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp721.tst 0000664 0000000 0000000 00000012051 14716276021 0016650 0 ustar 00root root 0000000 0000000 description ibgp rr prefix withdraw with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 red conn exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no red conn r3 send exit r3 send router bgp6 1 r3 send no red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send red conn r3 send exit r3 send router bgp6 1 r3 send red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp722.tst 0000664 0000000 0000000 00000003632 14716276021 0016656 0 ustar 00root root 0000000 0000000 description unicast+ocar over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp723.tst 0000664 0000000 0000000 00000004044 14716276021 0016655 0 ustar 00root root 0000000 0000000 description unicast+ocar over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp724.tst 0000664 0000000 0000000 00000004416 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+ocar over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 additional-path-rx uni ocar neigh 1.1.1.2 additional-path-tx uni ocar afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 additional-path-rx uni ocar neigh 1234:1::2 additional-path-Tx uni ocar afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 additional-path-rx uni ocar neigh 1.1.1.1 additional-path-tx uni ocar afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 additional-path-rx uni ocar neigh 1234:1::1 additional-path-tx uni ocar afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp725.tst 0000664 0000000 0000000 00000004237 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+ocar over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-server afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 3 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-server neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-server afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp726.tst 0000664 0000000 0000000 00000002531 14716276021 0016657 0 ustar 00root root 0000000 0000000 description unicast+ocar over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp727.tst 0000664 0000000 0000000 00000004106 14716276021 0016660 0 ustar 00root root 0000000 0000000 description unicast+ocar over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 address uni ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit router bgp4 1 vrf v1 address uni ocar local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address uni ocar local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-reflect neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp728.tst 0000664 0000000 0000000 00000002763 14716276021 0016670 0 ustar 00root root 0000000 0000000 description unicast+ocar over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 confed afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 confed afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 confed afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 confed afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp729.tst 0000664 0000000 0000000 00000003421 14716276021 0016661 0 ustar 00root root 0000000 0000000 description ocar over srv6 over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp730.tst 0000664 0000000 0000000 00000003511 14716276021 0016651 0 ustar 00root root 0000000 0000000 description ocar over srv6 over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp731.tst 0000664 0000000 0000000 00000005002 14716276021 0016647 0 ustar 00root root 0000000 0000000 description ocar over srv6 over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 1 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234::3 remote-as 1 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 route-reflect neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 route-reflect exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 route-reflect neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp732.tst 0000664 0000000 0000000 00000005075 14716276021 0016662 0 ustar 00root root 0000000 0000000 description ocar over srv6 over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 confed neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou neigh 1.1.1.2 confed exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 confed neigh 1234::2 remote-as 2 neigh 1234::2 segrou neigh 1234::2 confed exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp733.tst 0000664 0000000 0000000 00000005133 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ocar over srv6 over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234::3 remote-as 3 neigh 1234::3 segrou afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 3 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 route-server neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 segrou neigh 1.1.1.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 3 router-id 4.4.4.3 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 route-server neigh 1234::2 remote-as 2 neigh 1234::2 segrou neigh 1234::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp734.tst 0000664 0000000 0000000 00000003627 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ocar over srv6 over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 soft-reconfig afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp735.tst 0000664 0000000 0000000 00000004130 14716276021 0016654 0 ustar 00root root 0000000 0000000 description ocar over srv6 over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:1:: ffff:ffff:: tun sour eth1 tun dest 4321:1:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:2:: ffff:ffff:: 1234::2 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 segrou neigh 1.1.1.2 additional-path-rx ocar neigh 1.1.1.2 additional-path-tx ocar afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 1 neigh 1234::2 segrou neigh 1234::2 additional-path-rx ocar neigh 1234::2 additional-path-tx ocar afi-other ena afi-other red conn afi-other srv6 tun1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 vrf for v1 ipv6 addr 4321:2:: ffff:ffff:: tun sour eth1 tun dest 4321:2:: tun vrf v1 tun mod srv6 exit ipv6 route v1 4321:1:: ffff:ffff:: 1234::1 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 segrou neigh 1.1.1.1 additional-path-rx ocar neigh 1.1.1.1 additional-path-tx ocar afi-other ena afi-other red conn afi-other srv6 tun1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 segrou neigh 1234::1 additional-path-rx ocar neigh 1234::1 additional-path-tx ocar afi-other ena afi-other red conn afi-other srv6 tun1 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp736.tst 0000664 0000000 0000000 00000002567 14716276021 0016671 0 ustar 00root root 0000000 0000000 description ocar bgp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-default afi-other ena exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-default afi-other ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp737.tst 0000664 0000000 0000000 00000004535 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ocar bgp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp738.tst 0000664 0000000 0000000 00000004536 14716276021 0016671 0 ustar 00root root 0000000 0000000 description ocar bgp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-prefix-list-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp739.tst 0000664 0000000 0000000 00000004637 14716276021 0016674 0 ustar 00root root 0000000 0000000 description ocar bgp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp740.tst 0000664 0000000 0000000 00000004640 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ocar bgp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-map-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-map-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp741.tst 0000664 0000000 0000000 00000004750 14716276021 0016661 0 ustar 00root root 0000000 0000000 description ocar bgp ingress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp742.tst 0000664 0000000 0000000 00000004751 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ocar bgp egress route filtering with prefixlist with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-prefix-list-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-prefix-list-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp743.tst 0000664 0000000 0000000 00000005052 14716276021 0016657 0 ustar 00root root 0000000 0000000 description ocar bgp ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp744.tst 0000664 0000000 0000000 00000005053 14716276021 0016661 0 ustar 00root root 0000000 0000000 description ocar bgp egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-map-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-map-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp745.tst 0000664 0000000 0000000 00000004506 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ocar bgp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp746.tst 0000664 0000000 0000000 00000004507 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ocar bgp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 other-route-policy-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 other-route-policy-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp747.tst 0000664 0000000 0000000 00000004721 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ocar bgp ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.12 vrf v1 r1 tping 0 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp748.tst 0000664 0000000 0000000 00000004722 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ocar bgp egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 other-route-policy-out p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 other-route-policy-out p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.11 vrf v1 r2 tping 0 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp749.tst 0000664 0000000 0000000 00000004650 14716276021 0016670 0 ustar 00root root 0000000 0000000 description ocar bgp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 route-map-in p6 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 route-map-in p4 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 aggregate 2.2.2.0/24 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 aggregate 4321::/32 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-bgp750.tst 0000664 0000000 0000000 00000015021 14716276021 0016652 0 ustar 00root root 0000000 0000000 description ocar bgp change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn route-map rm1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 other-route-map-in rm1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 other-route-map-in rm1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp751.tst 0000664 0000000 0000000 00000020764 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ocar ibgp rr prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other advertise 4321::2/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other advertise 2.2.2.2/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other advertise 4321::3/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other advertise 2.2.2.3/32 route-map rm1 afi-other advertise 2.2.2.222/32 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.103 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.103 vrf v1 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 2.2.2.222 vrf v1 r1 tping 100 60 4321::222 vrf v1 r1 tping 0 60 2.2.2.102 vrf v1 r1 tping 0 60 4321::102 vrf v1 r1 tping 0 60 2.2.2.103 vrf v1 r1 tping 0 60 4321::103 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.222 vrf v1 r2 tping 100 60 4321::222 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.222 vrf v1 r3 tping 100 60 4321::222 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 2.2.2.222 vrf v1 r4 tping 100 60 4321::222 vrf v1 r4 tping 0 60 2.2.2.102 vrf v1 r4 tping 0 60 4321::102 vrf v1 r4 tping 0 60 2.2.2.103 vrf v1 r4 tping 0 60 4321::103 vrf v1 r4 send telnet 2.2.2.222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 r4 send telnet 4321::222 666 vrf v1 r4 tping 100 60 2.2.2.102 vrf v1 r4 send exit r4 read closed r4 tping 0 60 2.2.2.102 vrf v1 freeRtr-24.11.16/cfg/rout-bgp752.tst 0000664 0000000 0000000 00000012421 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ocar ibgp rr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp753.tst 0000664 0000000 0000000 00000012663 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ocar ibgp fullmesh prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::3 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.4 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::4 remote-as 1 afi-other ena afi-other red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.3 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::2 remote-as 1 neigh 1234:1::3 remote-as 1 afi-other ena afi-other red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send no afi-other red conn r3 send exit r3 send router bgp6 1 r3 send no afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r3 tping 0 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send router bgp4 1 r3 send afi-other red conn r3 send exit r3 send router bgp6 1 r3 send afi-other red conn r3 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp754.tst 0000664 0000000 0000000 00000003633 14716276021 0016664 0 ustar 00root root 0000000 0000000 description olab+ocar over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address olab ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address olab ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp755.tst 0000664 0000000 0000000 00000003633 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ocar+octp over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address ocar octp local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar octp local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.2 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo0 pweompls 4321::2 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena exit router bgp4 1 vrf v1 no safe-ebgp address ocar octp local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar octp local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 afi-other ena afi-other red conn exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo0 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo0 pweompls 4321::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 40 3.3.3.2 vrf v1 r2 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r2 tping 100 40 3.3.4.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp756.tst 0000664 0000000 0000000 00000020256 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp csc vpn with car addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.1 255.255.255.255 ipv6 addr 4444::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 4 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.1 neigh 4321::4 remote-as 4 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.101 255.255.255.255 ipv6 addr 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.2 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::2 router bgp4 1 vrf v2 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.1 neigh 3.3.3.102 remote-as 2 neigh 3.3.3.102 update lo0 neigh 3.3.3.102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.1 neigh 3333::102 remote-as 2 neigh 3333::102 update lo0 neigh 3333::102 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int eth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 ipv6 addr 3333::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.252 ipv6 addr 3333::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.1 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::1 ipv4 route v1 3.3.3.102 255.255.255.255 3.3.3.6 ipv6 route v1 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::6 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 3.3.3.102 255.255.255.255 ipv6 addr 3333::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.252 ipv6 addr 3333::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls ldp4 mpls ldp6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable ipv4 access-group-in test4 ipv6 access-group-in test6 exit ipv4 route v1 3.3.3.101 255.255.255.255 3.3.3.5 ipv6 route v1 3333::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 3333::5 router bgp4 1 vrf v2 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.6 remote-as 3 red conn red bgp4 2 exit router bgp6 1 vrf v2 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:2::2 remote-as 3 red conn red bgp6 2 exit router bgp4 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 3.3.3.101 remote-as 2 neigh 3.3.3.101 update lo0 neigh 3.3.3.101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp4 1 exit router bgp6 2 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 3333::101 remote-as 2 neigh 3333::101 update lo0 neigh 3333::101 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red bgp6 1 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v3 rd 1:3 rt-both 1:3 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v3 ipv4 addr 4.4.4.4 255.255.255.255 ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 red conn exit router bgp4 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 4 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit router bgp6 4 vrf v1 no safe-ebgp address vpnuni local-as 4 router-id 6.6.6.2 neigh 4321::1 remote-as 4 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v3 ena afi-vrf v3 red conn exit ! r2 tping 100 60 3.3.3.102 vrf v1 sou lo0 r2 tping 100 60 3333::102 vrf v1 sou lo0 r4 tping 100 60 3.3.3.101 vrf v1 sou lo0 r4 tping 100 60 3333::101 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v2 sou lo1 r2 tping 100 60 2.2.2.3 vrf v2 sou lo1 r2 tping 100 60 2.2.2.4 vrf v2 sou lo1 r2 tping 100 60 4321::1 vrf v2 sou lo1 r2 tping 100 60 4321::3 vrf v2 sou lo1 r2 tping 100 60 4321::4 vrf v2 sou lo1 r4 tping 100 60 2.2.2.1 vrf v2 sou lo1 r4 tping 100 60 2.2.2.2 vrf v2 sou lo1 r4 tping 100 60 2.2.2.4 vrf v2 sou lo1 r4 tping 100 60 4321::1 vrf v2 sou lo1 r4 tping 100 60 4321::2 vrf v2 sou lo1 r4 tping 100 60 4321::4 vrf v2 sou lo1 r5 tping 100 60 2.2.2.1 vrf v1 sou lo0 r5 tping 100 60 2.2.2.2 vrf v1 sou lo0 r5 tping 100 60 2.2.2.3 vrf v1 sou lo0 r5 tping 100 60 4321::1 vrf v1 sou lo0 r5 tping 100 60 4321::2 vrf v1 sou lo0 r5 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 4.4.4.4 vrf v3 sou lo1 r1 tping 100 60 4444::4 vrf v3 sou lo1 r5 tping 100 60 4.4.4.1 vrf v3 sou lo1 r5 tping 100 60 4444::1 vrf v3 sou lo1 freeRtr-24.11.16/cfg/rout-bgp757.tst 0000664 0000000 0000000 00000027743 14716276021 0016677 0 ustar 00root root 0000000 0000000 description bgp interas car with multiple labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3331::1 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 multiple-label car justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 multiple-label car justadvert lo1 exit int pweth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.0 pseudo v1 lo1 pweompls 3.3.3.6 1234 exit int pweth2 vrf for v1 ipv4 addr 4.4.5.1 255.255.255.0 pseudo v1 lo1 pweompls 3336::6 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.255 ipv6 addr 3332::2 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 multiple-label car neigh 2.2.2.1 route-reflect neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 multiple-label car neigh 2.2.2.3 route-reflect justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 multiple-label car neigh 4321::1 route-reflect neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 multiple-label car neigh 4321::3 route-reflect justadvert lo1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls enable exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 1.1.1.10 255.255.255.255 1.1.1.10 mplsimp ipv6 route v1 1234:3::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 mplsimp router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 multiple-label car neigh 2.2.2.2 next-hop-multi neigh 1.1.1.10 remote-as 2 neigh 1.1.1.10 multiple-label car neigh 1.1.1.10 next-hop-multi justadvert lo1 exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 multiple-label car neigh 4321::2 next-hop-multi neigh 1234:3::2 remote-as 2 neigh 1234:3::2 multiple-label car neigh 1234:3::2 next-hop-multi justadvert lo1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3334::4 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls enable exit int eth2 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.14 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.14 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ipv4 route v1 1.1.1.9 255.255.255.255 1.1.1.9 mplsimp ipv6 route v1 1234:3::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 mplsimp router bgp4 2 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.4 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 multiple-label car neigh 2.2.2.5 next-hop-multi neigh 1.1.1.9 remote-as 1 neigh 1.1.1.9 multiple-label car neigh 1.1.1.9 next-hop-multi justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.4 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 multiple-label car neigh 4321::5 next-hop-multi neigh 1234:3::1 remote-as 1 neigh 1234:3::1 multiple-label car neigh 1234:3::1 next-hop-multi justadvert lo1 exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.5 255.255.255.255 ipv6 addr 3335::5 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.13 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 ipv4 route v1 2.2.2.6 255.255.255.255 1.1.1.18 ipv6 route v1 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::2 router bgp4 2 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.5 neigh 2.2.2.4 remote-as 2 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 multiple-label car neigh 2.2.2.4 route-reflect neigh 2.2.2.6 remote-as 2 neigh 2.2.2.6 update lo0 neigh 2.2.2.6 multiple-label car neigh 2.2.2.6 route-reflect justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.5 neigh 4321::4 remote-as 2 neigh 4321::4 update lo0 neigh 4321::4 multiple-label car neigh 4321::4 route-reflect neigh 4321::6 remote-as 2 neigh 4321::6 update lo0 neigh 4321::6 multiple-label car neigh 4321::6 route-reflect justadvert lo1 exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 label-mode all-igp exit int lo0 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 3.3.3.6 255.255.255.255 ipv6 addr 3336::6 ffff:ffff:ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.17 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 ipv4 route v1 2.2.2.5 255.255.255.255 1.1.1.17 ipv6 route v1 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:5::1 router bgp4 2 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.6 neigh 2.2.2.5 remote-as 2 neigh 2.2.2.5 update lo0 neigh 2.2.2.5 multiple-label car justadvert lo1 exit router bgp6 2 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.6 neigh 4321::5 remote-as 2 neigh 4321::5 update lo0 neigh 4321::5 multiple-label car justadvert lo1 exit int pweth1 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.0 pseudo v1 lo1 pweompls 3.3.3.1 1234 exit int pweth2 vrf for v1 ipv4 addr 4.4.5.2 255.255.255.0 pseudo v1 lo1 pweompls 3331::1 1234 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r4 tping 100 60 2.2.2.5 vrf v1 sou lo0 r4 tping 100 60 4321::5 vrf v1 sou lo0 r4 tping 100 60 2.2.2.6 vrf v1 sou lo0 r4 tping 100 60 4321::6 vrf v1 sou lo0 r5 tping 100 60 2.2.2.4 vrf v1 sou lo0 r5 tping 100 60 4321::4 vrf v1 sou lo0 r5 tping 100 60 2.2.2.6 vrf v1 sou lo0 r5 tping 100 60 4321::6 vrf v1 sou lo0 r6 tping 100 60 2.2.2.4 vrf v1 sou lo0 r6 tping 100 60 4321::4 vrf v1 sou lo0 r6 tping 100 60 2.2.2.5 vrf v1 sou lo0 r6 tping 100 60 4321::5 vrf v1 sou lo0 r1 tping 100 60 3.3.3.2 vrf v1 sou lo1 r1 tping 100 60 3332::2 vrf v1 sou lo1 r1 tping 100 60 3.3.3.3 vrf v1 sou lo1 r1 tping 100 60 3333::3 vrf v1 sou lo1 r2 tping 100 60 3.3.3.1 vrf v1 sou lo1 r2 tping 100 60 3331::1 vrf v1 sou lo1 r2 tping 100 60 3.3.3.3 vrf v1 sou lo1 r2 tping 100 60 3333::3 vrf v1 sou lo1 r3 tping 100 60 3.3.3.1 vrf v1 sou lo1 r3 tping 100 60 3331::1 vrf v1 sou lo1 r3 tping 100 60 3.3.3.2 vrf v1 sou lo1 r3 tping 100 60 3332::2 vrf v1 sou lo1 r4 tping 100 60 3.3.3.5 vrf v1 sou lo1 r4 tping 100 60 3335::5 vrf v1 sou lo1 r4 tping 100 60 3.3.3.6 vrf v1 sou lo1 r4 tping 100 60 3336::6 vrf v1 sou lo1 r5 tping 100 60 3.3.3.4 vrf v1 sou lo1 r5 tping 100 60 3334::4 vrf v1 sou lo1 r5 tping 100 60 3.3.3.6 vrf v1 sou lo1 r5 tping 100 60 3336::6 vrf v1 sou lo1 r6 tping 100 60 3.3.3.4 vrf v1 sou lo1 r6 tping 100 60 3334::4 vrf v1 sou lo1 r6 tping 100 60 3.3.3.5 vrf v1 sou lo1 r6 tping 100 60 3335::5 vrf v1 sou lo1 r4 tping 100 60 3.3.3.1 vrf v1 sou lo1 r4 tping 100 60 3331::1 vrf v1 sou lo1 r4 tping 100 60 3.3.3.2 vrf v1 sou lo1 r4 tping 100 60 3332::2 vrf v1 sou lo1 r4 tping 100 60 3.3.3.3 vrf v1 sou lo1 r4 tping 100 60 3333::3 vrf v1 sou lo1 r5 tping 100 60 3.3.3.1 vrf v1 sou lo1 r5 tping 100 60 3331::1 vrf v1 sou lo1 r5 tping 100 60 3.3.3.2 vrf v1 sou lo1 r5 tping 100 60 3332::2 vrf v1 sou lo1 r5 tping 100 60 3.3.3.3 vrf v1 sou lo1 r5 tping 100 60 3333::3 vrf v1 sou lo1 r6 tping 100 60 3.3.3.1 vrf v1 sou lo1 r6 tping 100 60 3331::1 vrf v1 sou lo1 r6 tping 100 60 3.3.3.2 vrf v1 sou lo1 r6 tping 100 60 3332::2 vrf v1 sou lo1 r6 tping 100 60 3.3.3.3 vrf v1 sou lo1 r6 tping 100 60 3333::3 vrf v1 sou lo1 r1 tping 100 60 3.3.3.4 vrf v1 sou lo1 r1 tping 100 60 3334::4 vrf v1 sou lo1 r1 tping 100 60 3.3.3.5 vrf v1 sou lo1 r1 tping 100 60 3335::5 vrf v1 sou lo1 r1 tping 100 60 3.3.3.6 vrf v1 sou lo1 r1 tping 100 60 3336::6 vrf v1 sou lo1 r2 tping 100 60 3.3.3.4 vrf v1 sou lo1 r2 tping 100 60 3334::4 vrf v1 sou lo1 r2 tping 100 60 3.3.3.5 vrf v1 sou lo1 r2 tping 100 60 3335::5 vrf v1 sou lo1 r2 tping 100 60 3.3.3.6 vrf v1 sou lo1 r2 tping 100 60 3336::6 vrf v1 sou lo1 r3 tping 100 60 3.3.3.4 vrf v1 sou lo1 r3 tping 100 60 3334::4 vrf v1 sou lo1 r3 tping 100 60 3.3.3.5 vrf v1 sou lo1 r3 tping 100 60 3335::5 vrf v1 sou lo1 r3 tping 100 60 3.3.3.6 vrf v1 sou lo1 r3 tping 100 60 3336::6 vrf v1 sou lo1 r1 tping 100 40 4.4.4.2 vrf v1 r6 tping 100 40 4.4.4.1 vrf v1 r1 tping 100 40 4.4.5.2 vrf v1 r6 tping 100 40 4.4.5.1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp758.tst 0000664 0000000 0000000 00000006770 14716276021 0016675 0 ustar 00root root 0000000 0000000 description car colors over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp759.tst 0000664 0000000 0000000 00000007142 14716276021 0016670 0 ustar 00root root 0000000 0000000 description other car colors over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp760.tst 0000664 0000000 0000000 00000006770 14716276021 0016666 0 ustar 00root root 0000000 0000000 description car colors over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp761.tst 0000664 0000000 0000000 00000007142 14716276021 0016661 0 ustar 00root root 0000000 0000000 description other car colors over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp762.tst 0000664 0000000 0000000 00000007467 14716276021 0016674 0 ustar 00root root 0000000 0000000 description car colors over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx car neigh 2.2.2.2 additional-path-tx car afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx car neigh 4321::2 additional-path-tx car afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx car neigh 2.2.2.1 additional-path-tx car afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx car neigh 4321::1 additional-path-tx car afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp763.tst 0000664 0000000 0000000 00000007651 14716276021 0016670 0 ustar 00root root 0000000 0000000 description other car colors over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx ocar neigh 2.2.2.2 additional-path-tx ocar afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx ocar neigh 4321::2 additional-path-tx ocar afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx ocar neigh 2.2.2.1 additional-path-tx ocar afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx ocar neigh 4321::1 additional-path-tx ocar afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp764.tst 0000664 0000000 0000000 00000011001 14716276021 0016651 0 ustar 00root root 0000000 0000000 description car colors over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address car local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address car local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp765.tst 0000664 0000000 0000000 00000011155 14716276021 0016664 0 ustar 00root root 0000000 0000000 description other car colors over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address ocar local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address ocar local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp766.tst 0000664 0000000 0000000 00000007126 14716276021 0016670 0 ustar 00root root 0000000 0000000 description car colors over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp767.tst 0000664 0000000 0000000 00000007300 14716276021 0016663 0 ustar 00root root 0000000 0000000 description other car colors over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp768.tst 0000664 0000000 0000000 00000011043 14716276021 0016663 0 ustar 00root root 0000000 0000000 description car colors over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp769.tst 0000664 0000000 0000000 00000011217 14716276021 0016667 0 ustar 00root root 0000000 0000000 description other car colors over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp770.tst 0000664 0000000 0000000 00000007176 14716276021 0016670 0 ustar 00root root 0000000 0000000 description car colors over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address car local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 soft-reconfig neigh 4321::2 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address car local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 soft-reconfig neigh 2.2.2.1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address car local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 soft-reconfig neigh 4321::1 send-comm both afi-clr v2 ena afi-clr v2 red conn afi-clr v3 ena afi-clr v3 red conn afi-clr v4 ena afi-clr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp771.tst 0000664 0000000 0000000 00000007164 14716276021 0016666 0 ustar 00root root 0000000 0000000 description other car colors over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 clr-both 2 exit vrf def v3 rd 1:3 clr-both 3 exit vrf def v4 rd 1:4 clr-both 4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ocar local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-other enable afi-oclr v2 ena afi-oclr v2 red conn afi-oclr v3 ena afi-oclr v3 red conn afi-oclr v4 ena afi-oclr v4 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp772.tst 0000664 0000000 0000000 00000011513 14716276021 0016660 0 ustar 00root root 0000000 0000000 description vpn colors over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 label-mode per-prefix exit vrf def v3 label-mode per-prefix exit vrf def v4 rd 1:4 rt-both 1:4 exit vrf def v5 rd 1:5 rt-both 1:5 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v5 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth1.22 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth1.33 vrf for v3 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v2 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v2 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v3 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v3 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv4 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v3 ipv4 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv6 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v3 ipv6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 label-mode per-prefix exit vrf def v3 label-mode per-prefix exit vrf def v4 rd 1:4 rt-both 1:4 exit vrf def v5 rd 1:5 rt-both 1:5 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v5 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth1.22 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth1.33 vrf for v3 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v2 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v2 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v3 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v3 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv4 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v3 ipv4 exit router bgp6 1 vrf v1 no safe-ebgp address vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv6 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v2 ipv6 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 1.1.1.2 vrf v2 r1 tping 100 60 1234:1::2 vrf v2 r1 tping 100 60 1.1.1.2 vrf v3 r1 tping 100 60 1234:1::2 vrf v3 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.3.2 vrf v4 r2 tping 100 60 9.9.3.1 vrf v4 r1 tping 100 60 9993::2 vrf v4 r2 tping 100 60 9993::1 vrf v4 r1 tping 100 60 9.9.4.2 vrf v5 r2 tping 100 60 9.9.4.1 vrf v5 r1 tping 100 60 9994::2 vrf v5 r2 tping 100 60 9994::1 vrf v5 freeRtr-24.11.16/cfg/rout-bgp773.tst 0000664 0000000 0000000 00000011423 14716276021 0016661 0 ustar 00root root 0000000 0000000 description vpn colors over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 label-mode per-prefix exit vrf def v3 label-mode per-prefix exit vrf def v4 rd 1:4 rt-both 1:4 exit vrf def v5 rd 1:5 rt-both 1:5 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v5 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth1.22 vrf for v2 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth1.33 vrf for v3 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v2 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v2 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v3 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v3 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv4 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v3 ipv4 exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv6 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v3 ipv6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 label-mode per-prefix exit vrf def v3 label-mode per-prefix exit vrf def v4 rd 1:4 rt-both 1:4 exit vrf def v5 rd 1:5 rt-both 1:5 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v3 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v5 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth1.22 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth1.33 vrf for v3 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v2 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v2 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v3 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v3 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv4 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v3 ipv4 exit router bgp6 1 vrf v1 address vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 set-vrf v2 ipv6 afi-vrf v5 ena afi-vrf v5 red conn afi-vrf v5 set-vrf v2 ipv6 exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 1.1.1.2 vrf v2 r1 tping 100 60 1234:1::2 vrf v2 r1 tping 100 60 1.1.1.2 vrf v3 r1 tping 100 60 1234:1::2 vrf v3 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.3.2 vrf v4 r2 tping 100 60 9.9.3.1 vrf v4 r1 tping 100 60 9993::2 vrf v4 r2 tping 100 60 9993::1 vrf v4 r1 tping 100 60 9.9.4.2 vrf v5 r2 tping 100 60 9.9.4.1 vrf v5 r1 tping 100 60 9994::2 vrf v5 r2 tping 100 60 9994::1 vrf v5 freeRtr-24.11.16/cfg/rout-bgp774.tst 0000664 0000000 0000000 00000006415 14716276021 0016667 0 ustar 00root root 0000000 0000000 description ebgp with any remote addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as any red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as any red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp775.tst 0000664 0000000 0000000 00000006241 14716276021 0016665 0 ustar 00root root 0000000 0000000 description ibgp with any remote addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as any red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as any red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 1 neigh 1.1.1.10 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:2::1 remote-as 1 neigh 1234:3::2 remote-as 1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:3::1 remote-as 1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 2.2.2.3 vrf v1 r1 tping 0 60 4321::3 vrf v1 r1 tping 0 60 2.2.2.4 vrf v1 r1 tping 0 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r2 tping 0 60 4321::4 vrf v1 r3 tping 0 60 2.2.2.1 vrf v1 r3 tping 0 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp776.tst 0000664 0000000 0000000 00000012436 14716276021 0016671 0 ustar 00root root 0000000 0000000 description unicast+vpns over ebgp with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 del vpnuni r1 send clear ipv6 bgp 1 peer 4321::2 del vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 add vpnuni r1 send clear ipv6 bgp 1 peer 4321::2 add vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp777.tst 0000664 0000000 0000000 00000012436 14716276021 0016672 0 ustar 00root root 0000000 0000000 description unicast+vpns over ibgp with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 del vpnuni r1 send clear ipv6 bgp 1 peer 4321::2 del vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 add vpnuni r1 send clear ipv6 bgp 1 peer 4321::2 add vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp778.tst 0000664 0000000 0000000 00000012574 14716276021 0016676 0 ustar 00root root 0000000 0000000 description unicast+vpns over confed bgp with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic neigh 2.2.2.2 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic neigh 4321::2 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic neigh 2.2.2.1 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic neigh 4321::1 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 del vpnuni r1 send clear ipv6 bgp 1 peer 4321::2 del vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 add vpnuni r1 send clear ipv6 bgp 1 peer 4321::2 add vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp779.tst 0000664 0000000 0000000 00000016674 14716276021 0016704 0 ustar 00root root 0000000 0000000 description unicast+vpns over ibgp rr with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 dynamic neigh 2.2.2.3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 dynamic neigh 4321::3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.2 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 dynamic neigh 2.2.2.3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 6.6.6.2 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 dynamic neigh 4321::3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v4 ena afi-vrf v4 red conn red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.252 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic neigh 2.2.2.1 route-reflector neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic neigh 2.2.2.2 route-reflector red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast vpnuni local-as 1 router-id 4.4.4.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic neigh 4321::1 route-reflector neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic neigh 4321::2 route-reflector red conn exit ! r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.12 vrf v1 sou lo1 r3 tping 100 60 4321::12 vrf v1 sou lo1 r3 tping 100 60 2.2.2.11 vrf v1 sou lo1 r3 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.3 del vpnuni r1 send clear ipv6 bgp 1 peer 4321::3 del vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.3 add vpnuni r1 send clear ipv6 bgp 1 peer 4321::3 add vpnuni r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp780.tst 0000664 0000000 0000000 00000002652 14716276021 0016663 0 ustar 00root root 0000000 0000000 description ebgp with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 ipinfo pmtud 512 1024 666 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 ipinfo pmtud 512 1024 666 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 ipinfo pmtud 512 1024 666 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 ipinfo pmtud 512 1024 666 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp781.tst 0000664 0000000 0000000 00000002652 14716276021 0016664 0 ustar 00root root 0000000 0000000 description ibgp with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 ipinfo pmtud 512 1024 666 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 ipinfo pmtud 512 1024 666 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 ipinfo pmtud 512 1024 666 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 ipinfo pmtud 512 1024 666 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-bgp782.tst 0000664 0000000 0000000 00000005654 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with validity addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set validity 1 exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-out rew neigh 1.1.1.1 route-map-out rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-out rew neigh 1234:1::1 route-map-out rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match validity 1 sequence 20 act permit exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp783.tst 0000664 0000000 0000000 00000006257 14716276021 0016673 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with validity with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set validity 1 exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-out rew neigh 1.1.1.1 route-map-out rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-out rew neigh 1234:1::1 route-map-out rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match validity 1 sequence 20 act permit exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp784.tst 0000664 0000000 0000000 00000015730 14716276021 0016670 0 ustar 00root root 0000000 0000000 description bgp change in validity addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 send-comm both neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 send-comm both neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 send-comm both neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match validity 3 sequence 20 act perm exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set validity 1 exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-out rew neigh 1.1.1.1 route-map-out rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-out rew neigh 1234:1::1 route-map-out rm1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match validity 2 sequence 20 act perm exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set validity 2 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set validity 3 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set validity 1 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp785.tst 0000664 0000000 0000000 00000016523 14716276021 0016672 0 ustar 00root root 0000000 0000000 description bgp change in validity with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 send-comm both neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 send-comm both neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 send-comm both neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 send-comm both neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 send-comm both neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 send-comm both neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match validity 3 sequence 20 act perm exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set validity 1 exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-out rew neigh 1.1.1.1 route-map-out rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-out rew neigh 1234:1::1 route-map-out rm1 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match validity 2 sequence 20 act perm exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set validity 2 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set validity 3 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set validity 1 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp786.tst 0000664 0000000 0000000 00000005657 14716276021 0016701 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with validity addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set validity 1 pass exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-out rew neigh 1.1.1.1 route-policy-out rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-out rew neigh 1234:1::1 route-policy-out rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if validity 1 drop else pass enif exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp787.tst 0000664 0000000 0000000 00000006262 14716276021 0016673 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with validity with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set validity 1 pass exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 send-comm both neigh 1.1.1.1 rpki-out rew neigh 1.1.1.1 route-policy-out rm1 red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 send-comm both neigh 1234:1::1 rpki-out rew neigh 1234:1::1 route-policy-out rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if validity 1 drop else pass enif exit router rpki4 1 vrf v1 exit router bgp4 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 rpki-in acc neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 rpki rpki4 1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 rpki-in acc neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp788.tst 0000664 0000000 0000000 00000005251 14716276021 0016671 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with leak-role addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 leak-role attr neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 leak-role attr neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 leak-role attr red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set customer 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role attr red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role attr red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match customer 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 leak-role attr red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp789.tst 0000664 0000000 0000000 00000005654 14716276021 0016701 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with leak-role with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 leak-role attr neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 leak-role attr neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 leak-role attr red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set customer 1234 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 leak-role attr red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 leak-role attr red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match customer 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 neigh 1.1.1.1 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 neigh 1234:1::1 leak-role attr red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp790.tst 0000664 0000000 0000000 00000015173 14716276021 0016666 0 ustar 00root root 0000000 0000000 description bgp change in leak-role addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 leak-role attr neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 leak-role attr neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 leak-role attr neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 leak-role attr neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 leak-role attr neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 leak-role attr neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match customer 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role attr neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role attr neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set customer 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role attr red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role attr red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match customer 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role attr neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role attr neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set customer 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set customer 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set customer 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp791.tst 0000664 0000000 0000000 00000015766 14716276021 0016677 0 ustar 00root root 0000000 0000000 description bgp change in leak-role with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 leak-role attr neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 leak-role attr neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 leak-role attr neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 leak-role attr neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 leak-role attr neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 leak-role attr neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match customer 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 leak-role attr neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 leak-role attr neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set customer 1000 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 leak-role attr red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 leak-role attr red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match customer 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 leak-role attr neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 leak-role attr neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set customer 3000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set customer 5000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set customer 1000 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp792.tst 0000664 0000000 0000000 00000005254 14716276021 0016667 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with leak-role addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 leak-role attr neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 leak-role attr neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 leak-role attr red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set customer 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 leak-role attr red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 leak-role attr red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if customer 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 leak-role attr red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp793.tst 0000664 0000000 0000000 00000005657 14716276021 0016677 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with leak-role with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.2 leak-role attr neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.3 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::2 leak-role attr neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::3 leak-role attr red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set customer 1234 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 leak-role attr red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 leak-role attr red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if customer 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 neigh 1.1.1.1 leak-role attr red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 neigh 1234:1::1 leak-role attr red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp794.tst 0000664 0000000 0000000 00000004700 14716276021 0016664 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aggregator addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aggregator 1234 1.1.1.111 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aggregator 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp795.tst 0000664 0000000 0000000 00000005303 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with aggregator with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 set aggregator 1234 1.1.1.111 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 sequence 10 act deny match aggregator 1234 sequence 20 act permit exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp796.tst 0000664 0000000 0000000 00000014474 14716276021 0016677 0 ustar 00root root 0000000 0000000 description bgp change in aggregator addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aggregator 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aggregator 1000 1.1.1.111 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aggregator 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aggregator 3000 1.1.1.111 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aggregator 5000 1.1.1.111 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aggregator 1000 1.1.1.111 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp797.tst 0000664 0000000 0000000 00000015267 14716276021 0016701 0 ustar 00root root 0000000 0000000 description bgp change in aggregator with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 soft-reconfig neigh 1.1.1.4 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect neigh 1234:1::4 remote-as 1 neigh 1234:1::4 soft-reconfig neigh 1234:1::4 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aggregator 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-map rm1 set aggregator 1000 1.1.1.111 exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: exit route-map rm1 sequence 10 act deny sequence 10 match aggregator 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-map-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-map-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aggregator 3000 1.1.1.111 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aggregator 5000 1.1.1.111 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 0 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r3 send conf t r3 send route-map rm1 r3 send set aggregator 1000 1.1.1.111 r3 send end r3 send clear ipv4 route v1 r3 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp798.tst 0000664 0000000 0000000 00000004703 14716276021 0016673 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aggregator addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aggregator 1234 1.1.1.111 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if aggregator 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp799.tst 0000664 0000000 0000000 00000005306 14716276021 0016674 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with aggregator with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 soft-reconfig neigh 1.1.1.2 route-reflect neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 soft-reconfig neigh 1.1.1.3 route-reflect red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 soft-reconfig neigh 1234:1::2 route-reflect neigh 1234:1::3 remote-as 1 neigh 1234:1::3 soft-reconfig neigh 1234:1::3 route-reflect red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: exit route-policy rm1 set aggregator 1234 1.1.1.111 pass exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig red conn route-policy rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit route-policy rm1 if aggregator 1234 drop else pass enif exit router bgp4 1 vrf v1 address uni local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 soft-reconfig neigh 1.1.1.1 route-policy-in rm1 red conn exit router bgp6 1 vrf v1 address uni local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 soft-reconfig neigh 1234:1::1 route-policy-in rm1 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 0 60 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-bgp800.tst 0000664 0000000 0000000 00000010077 14716276021 0016654 0 ustar 00root root 0000000 0000000 description l3evpns over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp801.tst 0000664 0000000 0000000 00000012441 14716276021 0016652 0 ustar 00root root 0000000 0000000 description l3evpns over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp802.tst 0000664 0000000 0000000 00000012135 14716276021 0016653 0 ustar 00root root 0000000 0000000 description l3evpns over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp803.tst 0000664 0000000 0000000 00000010235 14716276021 0016653 0 ustar 00root root 0000000 0000000 description l3evpns over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp804.tst 0000664 0000000 0000000 00000012402 14716276021 0016652 0 ustar 00root root 0000000 0000000 description l3evpns over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp805.tst 0000664 0000000 0000000 00000010305 14716276021 0016653 0 ustar 00root root 0000000 0000000 description l3evpns over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp806.tst 0000664 0000000 0000000 00000010606 14716276021 0016660 0 ustar 00root root 0000000 0000000 description l3evpns over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx evpn neigh 2.2.2.2 additional-path-tx evpn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx evpn neigh 4321::2 additional-path-tx evpn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx evpn neigh 2.2.2.1 additional-path-tx evpn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx evpn neigh 4321::1 additional-path-tx evpn afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp807.tst 0000664 0000000 0000000 00000010557 14716276021 0016666 0 ustar 00root root 0000000 0000000 description l3evpns over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp808.tst 0000664 0000000 0000000 00000010164 14716276021 0016661 0 ustar 00root root 0000000 0000000 description l3otherevpns over ebgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp809.tst 0000664 0000000 0000000 00000012526 14716276021 0016666 0 ustar 00root root 0000000 0000000 description l3eothervpns over ibgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.3 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::3 vrf v4 r3 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp810.tst 0000664 0000000 0000000 00000012222 14716276021 0016647 0 ustar 00root root 0000000 0000000 description l3otherevpns over ibgp rr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::3 remote-as 1 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-reflect neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-reflect exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-reflect neigh 4321::2 remote-as 1 neigh 4321::2 send-comm both neigh 4321::2 route-reflect exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp811.tst 0000664 0000000 0000000 00000010322 14716276021 0016647 0 ustar 00root root 0000000 0000000 description l3otherevpns over confed bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 confed neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 confed neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 confed neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 confed neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp812.tst 0000664 0000000 0000000 00000012467 14716276021 0016664 0 ustar 00root root 0000000 0000000 description l3otherevpns over bgp route server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 1.1.1.3 remote-as 3 neigh 1.1.1.3 update lo0 neigh 1.1.1.3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 1234:1::3 remote-as 3 neigh 1234:1::3 update lo0 neigh 1234:1::3 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 route-server neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 route-server exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 3 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 send-comm both neigh 4321::1 route-server neigh 4321::2 remote-as 2 neigh 4321::2 send-comm both neigh 4321::2 route-server exit ! r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp813.tst 0000664 0000000 0000000 00000010372 14716276021 0016656 0 ustar 00root root 0000000 0000000 description l3otherevpns over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp814.tst 0000664 0000000 0000000 00000010673 14716276021 0016663 0 ustar 00root root 0000000 0000000 description l3otherevpns over bgp additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 additional-path-rx evpn neigh 2.2.2.2 additional-path-tx evpn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 additional-path-rx evpn neigh 4321::2 additional-path-tx evpn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 additional-path-rx evpn neigh 2.2.2.1 additional-path-tx evpn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 additional-path-rx evpn neigh 4321::1 additional-path-tx evpn afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp815.tst 0000664 0000000 0000000 00000010644 14716276021 0016662 0 ustar 00root root 0000000 0000000 description l3otherevpns over bgp auto mesh tunnel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls rsvp4 mpls rsvp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn automesh all local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp816.tst 0000664 0000000 0000000 00000010102 14716276021 0016650 0 ustar 00root root 0000000 0000000 description l3evpns with default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 default afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 default afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 default afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 default afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 default afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 default afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp817.tst 0000664 0000000 0000000 00000010167 14716276021 0016664 0 ustar 00root root 0000000 0000000 description otherl3evpns with default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both afi-ovrf v2 ena afi-ovrf v2 default afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 default afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 default afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both afi-ovrf v2 ena afi-ovrf v2 default afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 default afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 default afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp818.tst 0000664 0000000 0000000 00000024714 14716276021 0016670 0 ustar 00root root 0000000 0000000 description bgp l3evpns change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 evpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 evpn-route-map-in rm1 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn route-map rm1 afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn route-map rm1 afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 evpn-route-map-in rm1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 evpn-route-map-in rm1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp819.tst 0000664 0000000 0000000 00000030673 14716276021 0016672 0 ustar 00root root 0000000 0000000 description ibgp rr l3evpns prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.102 255.255.255.255 ipv6 addr 9994::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 import evpn afi-vrf v4 export evpn afi-vrf v4 advertise 9.9.4.2/32 route-map rm1 afi-vrf v4 advertise 9.9.4.222/32 route-map rm1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 import evpn afi-vrf v4 export evpn afi-vrf v4 advertise 9994::2/128 route-map rm1 afi-vrf v4 advertise 9994::222/128 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.103 255.255.255.255 ipv6 addr 9994::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 import evpn afi-vrf v4 export evpn afi-vrf v4 advertise 9.9.4.3/32 route-map rm1 afi-vrf v4 advertise 9.9.4.222/32 route-map rm1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 import evpn afi-vrf v4 export evpn afi-vrf v4 advertise 9994::3/128 route-map rm1 afi-vrf v4 advertise 9994::222/128 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 freeRtr-24.11.16/cfg/rout-bgp820.tst 0000664 0000000 0000000 00000025061 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp otherl3evpns change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 4000-6000 sequence 20 act perm exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 evpn-route-map-in rm1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 evpn-route-map-in rm1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set metric 1000 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn route-map rm1 afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn route-map rm1 afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 evpn-route-map-in rm1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 evpn-route-map-in rm1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 3000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 5000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send route-map rm1 r3 send set metric 1000 r3 send end r3 send clear ipv4 route v4 r3 send clear ipv6 route v4 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp821.tst 0000664 0000000 0000000 00000031045 14716276021 0016655 0 ustar 00root root 0000000 0000000 description ibgp rr otherl3evpns prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.102 255.255.255.255 ipv6 addr 9994::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 import evpn afi-ovrf v4 export evpn afi-ovrf v4 advertise 9994::2/128 route-map rm1 afi-ovrf v4 advertise 9994::222/128 route-map rm1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 import evpn afi-ovrf v4 export evpn afi-ovrf v4 advertise 9.9.4.2/32 route-map rm1 afi-ovrf v4 advertise 9.9.4.222/32 route-map rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.103 255.255.255.255 ipv6 addr 9994::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v4 port 666 exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit route-map rm1 set aspath 1000 1000 1000 exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 import evpn afi-ovrf v4 export evpn afi-ovrf v4 advertise 9994::3/128 route-map rm1 afi-ovrf v4 advertise 9994::222/128 route-map rm1 exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 import evpn afi-ovrf v4 export evpn afi-ovrf v4 advertise 9.9.4.3/32 route-map rm1 afi-ovrf v4 advertise 9.9.4.222/32 route-map rm1 exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 1000 1000 1000 1000 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.103 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.103 vrf v4 r2 send conf t r2 send route-map rm1 r2 send set aspath 1000 r2 send end r2 send clear ipv4 route v1 r2 send clear ipv6 route v1 r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r1 tping 100 60 9.9.4.222 vrf v4 r1 tping 100 60 9994::222 vrf v4 r1 tping 0 60 9.9.4.102 vrf v4 r1 tping 0 60 9994::102 vrf v4 r1 tping 0 60 9.9.4.103 vrf v4 r1 tping 0 60 9994::103 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9994::222 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.222 vrf v4 r3 tping 100 60 9994::222 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r4 tping 100 60 9.9.4.222 vrf v4 r4 tping 100 60 9994::222 vrf v4 r4 tping 0 60 9.9.4.102 vrf v4 r4 tping 0 60 9994::102 vrf v4 r4 tping 0 60 9.9.4.103 vrf v4 r4 tping 0 60 9994::103 vrf v4 r4 send telnet 9.9.4.222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 r4 send telnet 9994::222 666 vrf v4 r4 tping 100 60 9.9.4.102 vrf v4 r4 send exit r4 read closed r4 tping 0 60 9.9.4.102 vrf v4 freeRtr-24.11.16/cfg/rout-bgp822.tst 0000664 0000000 0000000 00000022324 14716276021 0016656 0 ustar 00root root 0000000 0000000 description ibgp rr l3evpns prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send no afi-vrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send no afi-vrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 0 60 9.9.4.3 vrf v4 r1 tping 0 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 0 60 9.9.4.1 vrf v4 r3 tping 0 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send afi-vrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send afi-vrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp823.tst 0000664 0000000 0000000 00000022475 14716276021 0016666 0 ustar 00root root 0000000 0000000 description ibgp rr otherl3evpns prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 1 neigh 1.1.1.2 route-reflect neigh 1.1.1.2 send-comm both neigh 1.1.1.3 remote-as 1 neigh 1.1.1.3 route-reflect neigh 1.1.1.3 send-comm both neigh 1.1.1.4 remote-as 1 neigh 1.1.1.4 route-reflect neigh 1.1.1.4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 1 neigh 1234:1::2 route-reflect neigh 1234:1::2 send-comm both neigh 1234:1::3 remote-as 1 neigh 1234:1::3 route-reflect neigh 1234:1::3 send-comm both neigh 1234:1::4 remote-as 1 neigh 1234:1::4 route-reflect neigh 1234:1::4 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit bridge 1 mac-learn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.3 255.255.255.255 ipv6 addr 9994::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234:1::3 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.3 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.3 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.4 255.255.255.255 ipv6 addr 9992::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.4 255.255.255.255 ipv6 addr 9993::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.4 255.255.255.255 ipv6 addr 9994::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234:1::4 ffff:ffff:: mpls enable exit router bgp4 1 vrf v1 address evpn local-as 1 router-id 4.4.4.4 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn local-as 1 router-id 6.6.6.4 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send no afi-ovrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send no afi-ovrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 0 60 9.9.4.3 vrf v4 r1 tping 0 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 0 60 9.9.4.3 vrf v4 r2 tping 0 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 0 60 9.9.4.1 vrf v4 r3 tping 0 60 9994::1 vrf v4 r3 tping 0 60 9.9.4.2 vrf v4 r3 tping 0 60 9994::2 vrf v4 r3 tping 0 60 9.9.4.4 vrf v4 r3 tping 0 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 0 60 9.9.4.3 vrf v4 r4 tping 0 60 9994::3 vrf v4 r3 send conf t r3 send router bgp4 1 r3 send afi-ovrf v4 red conn r3 send exit r3 send router bgp6 1 r3 send afi-ovrf v4 red conn r3 send end r1 tping 100 60 9.9.4.2 vrf v4 r1 tping 100 60 9994::2 vrf v4 r1 tping 100 60 9.9.4.3 vrf v4 r1 tping 100 60 9994::3 vrf v4 r1 tping 100 60 9.9.4.4 vrf v4 r1 tping 100 60 9994::4 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r2 tping 100 60 9994::1 vrf v4 r2 tping 100 60 9.9.4.3 vrf v4 r2 tping 100 60 9994::3 vrf v4 r2 tping 100 60 9.9.4.4 vrf v4 r2 tping 100 60 9994::4 vrf v4 r3 tping 100 60 9.9.4.1 vrf v4 r3 tping 100 60 9994::1 vrf v4 r3 tping 100 60 9.9.4.2 vrf v4 r3 tping 100 60 9994::2 vrf v4 r3 tping 100 60 9.9.4.4 vrf v4 r3 tping 100 60 9994::4 vrf v4 r4 tping 100 60 9.9.4.1 vrf v4 r4 tping 100 60 9994::1 vrf v4 r4 tping 100 60 9.9.4.2 vrf v4 r4 tping 100 60 9994::2 vrf v4 r4 tping 100 60 9.9.4.3 vrf v4 r4 tping 100 60 9994::3 vrf v4 freeRtr-24.11.16/cfg/rout-bgp824.tst 0000664 0000000 0000000 00000014744 14716276021 0016667 0 ustar 00root root 0000000 0000000 description l3evpns with ingress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-in afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp825.tst 0000664 0000000 0000000 00000014747 14716276021 0016673 0 ustar 00root root 0000000 0000000 description l3evpns with egress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-out afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp826.tst 0000664 0000000 0000000 00000015031 14716276021 0016657 0 ustar 00root root 0000000 0000000 description otherl3evpns with ingress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-in afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp827.tst 0000664 0000000 0000000 00000015034 14716276021 0016663 0 ustar 00root root 0000000 0000000 description otherl3evpns with egress rtfilter addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:41 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.12 255.255.255.255 ipv6 addr 9994::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.13 255.255.255.255 ipv6 addr 9994::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.14 255.255.255.255 ipv6 addr 9994::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.15 255.255.255.255 ipv6 addr 9994::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 maximum-prefix-in 5 50 neigh 2.2.2.3 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 maximum-prefix-in 5 50 neigh 4321::3 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:43 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.3 255.255.255.255 ipv6 addr 9992::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.3 255.255.255.255 ipv6 addr 9993::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.31 255.255.255.255 ipv6 addr 9994::31 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.32 255.255.255.255 ipv6 addr 9994::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.33 255.255.255.255 ipv6 addr 9994::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo44 vrf for v4 ipv4 addr 9.9.4.34 255.255.255.255 ipv6 addr 9994::34 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo45 vrf for v4 ipv4 addr 9.9.4.35 255.255.255.255 ipv6 addr 9994::35 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.5 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address evpn rtfilter local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 maximum-prefix-in 5 50 neigh 2.2.2.1 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 address evpn rtfilter local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 maximum-prefix-in 5 50 neigh 4321::1 route-target-filter-out afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r1 tping 100 60 9.9.2.3 vrf v2 r3 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::3 vrf v2 r3 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.3 vrf v3 r3 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::3 vrf v3 r3 tping 100 60 9993::1 vrf v3 freeRtr-24.11.16/cfg/rout-bgp828.tst 0000664 0000000 0000000 00000013521 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+l3evpns over ebgp with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 del evpn r1 send clear ipv6 bgp 1 peer 4321::2 del evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 add evpn r1 send clear ipv6 bgp 1 peer 4321::2 add evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp829.tst 0000664 0000000 0000000 00000013521 14716276021 0016664 0 ustar 00root root 0000000 0000000 description unicast+l3evpns over ibgp with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 del evpn r1 send clear ipv6 bgp 1 peer 4321::2 del evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 add evpn r1 send clear ipv6 bgp 1 peer 4321::2 add evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp830.tst 0000664 0000000 0000000 00000013657 14716276021 0016666 0 ustar 00root root 0000000 0000000 description unicast+l3evpns over confed bgp with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic neigh 2.2.2.2 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic neigh 4321::2 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic neigh 2.2.2.1 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic neigh 4321::1 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 del evpn r1 send clear ipv6 bgp 1 peer 4321::2 del evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.2 add evpn r1 send clear ipv6 bgp 1 peer 4321::2 add evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp831.tst 0000664 0000000 0000000 00000017753 14716276021 0016670 0 ustar 00root root 0000000 0000000 description unicast+l3evpns over ibgp rr with dynamic capability addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 dynamic neigh 2.2.2.3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 dynamic neigh 4321::3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.3 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.2 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.3 dynamic neigh 2.2.2.3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 6.6.6.2 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::3 dynamic neigh 4321::3 confed afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $1b$ $1a$ int eth2 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.252 ipv6 addr 1234:1::3 ffff:ffff:: exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 router bgp4 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 dynamic neigh 2.2.2.1 route-reflector neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 dynamic neigh 2.2.2.2 route-reflector red conn exit router bgp6 1 vrf v1 no safe-ebgp address unicast evpn local-as 1 router-id 4.4.4.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 dynamic neigh 4321::1 route-reflector neigh 4321::2 remote-as 1 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 dynamic neigh 4321::2 route-reflector red conn exit ! r3 tping 100 60 2.2.2.2 vrf v1 sou lo0 r3 tping 100 60 4321::2 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r3 tping 100 60 2.2.2.12 vrf v1 sou lo1 r3 tping 100 60 4321::12 vrf v1 sou lo1 r3 tping 100 60 2.2.2.11 vrf v1 sou lo1 r3 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.12 vrf v1 sou lo1 r1 tping 100 60 4321::12 vrf v1 sou lo1 r2 tping 100 60 2.2.2.11 vrf v1 sou lo1 r2 tping 100 60 4321::11 vrf v1 sou lo1 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.3 del evpn r1 send clear ipv6 bgp 1 peer 4321::3 del evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 0 3 9.9.2.2 vrf v2 r2 tping 0 3 9.9.2.1 vrf v2 r1 tping 0 3 9992::2 vrf v2 r2 tping 0 3 9992::1 vrf v2 r1 tping 0 3 9.9.3.2 vrf v3 r2 tping 0 3 9.9.3.1 vrf v3 r1 tping 0 3 9993::2 vrf v3 r2 tping 0 3 9993::1 vrf v3 r1 tping 0 3 9.9.4.2 vrf v4 r2 tping 0 3 9.9.4.1 vrf v4 r1 tping 0 3 9994::2 vrf v4 r2 tping 0 3 9994::1 vrf v4 r1 send clear ipv4 bgp 1 peer 2.2.2.3 add evpn r1 send clear ipv6 bgp 1 peer 4321::3 add evpn r1 tping 100 3 2.2.2.12 vrf v1 sou lo1 r1 tping 100 3 4321::12 vrf v1 sou lo1 r2 tping 100 3 2.2.2.11 vrf v1 sou lo1 r2 tping 100 3 4321::11 vrf v1 sou lo1 r1 tping 100 3 9.9.2.2 vrf v2 r2 tping 100 3 9.9.2.1 vrf v2 r1 tping 100 3 9992::2 vrf v2 r2 tping 100 3 9992::1 vrf v2 r1 tping 100 3 9.9.3.2 vrf v3 r2 tping 100 3 9.9.3.1 vrf v3 r1 tping 100 3 9993::2 vrf v3 r2 tping 100 3 9993::1 vrf v3 r1 tping 100 3 9.9.4.2 vrf v4 r2 tping 100 3 9.9.4.1 vrf v4 r1 tping 100 3 9994::2 vrf v4 r2 tping 100 3 9994::1 vrf v4 freeRtr-24.11.16/cfg/rout-bgp832.tst 0000664 0000000 0000000 00000015474 14716276021 0016667 0 ustar 00root root 0000000 0000000 description l3evpns ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-map-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-map-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp833.tst 0000664 0000000 0000000 00000015475 14716276021 0016671 0 ustar 00root root 0000000 0000000 description l3evpns egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-map-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-map-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp834.tst 0000664 0000000 0000000 00000015703 14716276021 0016664 0 ustar 00root root 0000000 0000000 description l3evpns ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-map-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-map-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp835.tst 0000664 0000000 0000000 00000015704 14716276021 0016666 0 ustar 00root root 0000000 0000000 description l3evpns egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-map-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-map-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp836.tst 0000664 0000000 0000000 00000015343 14716276021 0016666 0 ustar 00root root 0000000 0000000 description l3evpns ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-policy-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-policy-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp837.tst 0000664 0000000 0000000 00000015344 14716276021 0016670 0 ustar 00root root 0000000 0000000 description l3evpns egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-policy-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-policy-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp838.tst 0000664 0000000 0000000 00000015552 14716276021 0016672 0 ustar 00root root 0000000 0000000 description l3evpns ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-policy-in p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-policy-in p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp839.tst 0000664 0000000 0000000 00000015553 14716276021 0016674 0 ustar 00root root 0000000 0000000 description l3evpns egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-policy-out p4 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-policy-out p6 afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 import evpn afi-vrf v2 export evpn afi-vrf v3 ena afi-vrf v3 red conn afi-vrf v3 import evpn afi-vrf v3 export evpn afi-vrf v4 ena afi-vrf v4 red conn afi-vrf v4 import evpn afi-vrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp840.tst 0000664 0000000 0000000 00000015561 14716276021 0016663 0 ustar 00root root 0000000 0000000 description otherl3evpns ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-map-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-map-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp841.tst 0000664 0000000 0000000 00000015562 14716276021 0016665 0 ustar 00root root 0000000 0000000 description otherl3evpns egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-map-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-map-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp842.tst 0000664 0000000 0000000 00000015770 14716276021 0016667 0 ustar 00root root 0000000 0000000 description otherl3evpns ingress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.22/32 sequence 20 act deny match network 9.9.3.22/32 sequence 30 act deny match network 9.9.4.22/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::22/128 sequence 20 act deny match network 9993::22/128 sequence 30 act deny match network 9994::22/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-map-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-map-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp843.tst 0000664 0000000 0000000 00000015771 14716276021 0016671 0 ustar 00root root 0000000 0000000 description otherl3evpns egress route filtering with routemap with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-map p4 sequence 10 act deny match network 9.9.2.11/32 sequence 20 act deny match network 9.9.3.11/32 sequence 30 act deny match network 9.9.4.11/32 sequence 40 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 9992::11/128 sequence 20 act deny match network 9993::11/128 sequence 30 act deny match network 9994::11/128 sequence 40 act perm match network ::/0 le 128 exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-map-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-map-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp844.tst 0000664 0000000 0000000 00000015430 14716276021 0016662 0 ustar 00root root 0000000 0000000 description otherl3evpns ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-policy-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-policy-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp845.tst 0000664 0000000 0000000 00000015431 14716276021 0016664 0 ustar 00root root 0000000 0000000 description otherl3evpns egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 evpn-route-policy-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 evpn-route-policy-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp846.tst 0000664 0000000 0000000 00000015637 14716276021 0016675 0 ustar 00root root 0000000 0000000 description otherl3evpns ingress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.22/32 drop enif if network 9.9.3.22/32 drop enif if network 9.9.4.22/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::22/128 drop enif if network 9993::22/128 drop enif if network 9994::22/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-policy-in p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-policy-in p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 0 60 9.9.2.22 vrf v2 r2 tping 100 60 9.9.2.11 vrf v2 r1 tping 0 60 9992::22 vrf v2 r2 tping 100 60 9992::11 vrf v2 r1 tping 0 60 9.9.3.22 vrf v3 r2 tping 100 60 9.9.3.11 vrf v3 r1 tping 0 60 9993::22 vrf v3 r2 tping 100 60 9993::11 vrf v3 r1 tping 0 60 9.9.4.22 vrf v4 r2 tping 100 60 9.9.4.11 vrf v4 r1 tping 0 60 9994::22 vrf v4 r2 tping 100 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp847.tst 0000664 0000000 0000000 00000015640 14716276021 0016670 0 ustar 00root root 0000000 0000000 description otherl3evpns egress route filtering with routepolicy with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.1 255.255.255.255 ipv6 addr 9992::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.11 255.255.255.255 ipv6 addr 9992::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.111 255.255.255.255 ipv6 addr 9992::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.1 255.255.255.255 ipv6 addr 9993::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.11 255.255.255.255 ipv6 addr 9993::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.111 255.255.255.255 ipv6 addr 9993::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.1 255.255.255.255 ipv6 addr 9994::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.11 255.255.255.255 ipv6 addr 9994::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.111 255.255.255.255 ipv6 addr 9994::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.2 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 route-policy p4 if network 9.9.2.11/32 drop enif if network 9.9.3.11/32 drop enif if network 9.9.4.11/32 drop enif if network 0.0.0.0/0 le 32 pass enif exit route-policy p6 if network 9992::11/128 drop enif if network 9993::11/128 drop enif if network 9994::11/128 drop enif if network ::/0 le 128 pass enif exit router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 4.4.4.1 neigh 2.2.2.2 remote-as 2 neigh 2.2.2.2 update lo0 neigh 2.2.2.2 send-comm both neigh 2.2.2.2 soft-reconfig neigh 2.2.2.2 evpn-route-policy-out p6 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 1 router-id 6.6.6.1 neigh 4321::2 remote-as 2 neigh 4321::2 update lo0 neigh 4321::2 send-comm both neigh 4321::2 soft-reconfig neigh 4321::2 evpn-route-policy-out p4 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit vrf def v3 rd 1:3 rt-both 1:3 exit vrf def v4 rd 1:4 rt-both 1:4 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo21 vrf for v2 ipv4 addr 9.9.2.2 255.255.255.255 ipv6 addr 9992::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo22 vrf for v2 ipv4 addr 9.9.2.22 255.255.255.255 ipv6 addr 9992::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo23 vrf for v2 ipv4 addr 9.9.2.222 255.255.255.255 ipv6 addr 9992::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo31 vrf for v3 ipv4 addr 9.9.3.2 255.255.255.255 ipv6 addr 9993::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo32 vrf for v3 ipv4 addr 9.9.3.22 255.255.255.255 ipv6 addr 9993::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo33 vrf for v3 ipv4 addr 9.9.3.222 255.255.255.255 ipv6 addr 9993::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo41 vrf for v4 ipv4 addr 9.9.4.2 255.255.255.255 ipv6 addr 9994::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo42 vrf for v4 ipv4 addr 9.9.4.22 255.255.255.255 ipv6 addr 9994::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo43 vrf for v4 ipv4 addr 9.9.4.222 255.255.255.255 ipv6 addr 9994::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.1 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 router bgp4 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 4.4.4.2 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both neigh 2.2.2.1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit router bgp6 1 vrf v1 no safe-ebgp address evpn local-as 2 router-id 6.6.6.2 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both neigh 4321::1 soft-reconfig afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 import evpn afi-ovrf v2 export evpn afi-ovrf v3 ena afi-ovrf v3 red conn afi-ovrf v3 import evpn afi-ovrf v3 export evpn afi-ovrf v4 ena afi-ovrf v4 red conn afi-ovrf v4 import evpn afi-ovrf v4 export evpn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 9.9.2.2 vrf v2 r2 tping 100 60 9.9.2.1 vrf v2 r1 tping 100 60 9992::2 vrf v2 r2 tping 100 60 9992::1 vrf v2 r1 tping 100 60 9.9.3.2 vrf v3 r2 tping 100 60 9.9.3.1 vrf v3 r1 tping 100 60 9993::2 vrf v3 r2 tping 100 60 9993::1 vrf v3 r1 tping 100 60 9.9.4.2 vrf v4 r2 tping 100 60 9.9.4.1 vrf v4 r1 tping 100 60 9994::2 vrf v4 r2 tping 100 60 9994::1 vrf v4 r1 tping 100 60 9.9.2.22 vrf v2 r2 tping 0 60 9.9.2.11 vrf v2 r1 tping 100 60 9992::22 vrf v2 r2 tping 0 60 9992::11 vrf v2 r1 tping 100 60 9.9.3.22 vrf v3 r2 tping 0 60 9.9.3.11 vrf v3 r1 tping 100 60 9993::22 vrf v3 r2 tping 0 60 9993::11 vrf v3 r1 tping 100 60 9.9.4.22 vrf v4 r2 tping 0 60 9.9.4.11 vrf v4 r1 tping 100 60 9994::22 vrf v4 r2 tping 0 60 9994::11 vrf v4 r1 tping 100 60 9.9.2.222 vrf v2 r2 tping 100 60 9.9.2.111 vrf v2 r1 tping 100 60 9992::222 vrf v2 r2 tping 100 60 9992::111 vrf v2 r1 tping 100 60 9.9.3.222 vrf v3 r2 tping 100 60 9.9.3.111 vrf v3 r1 tping 100 60 9993::222 vrf v3 r2 tping 100 60 9993::111 vrf v3 r1 tping 100 60 9.9.4.222 vrf v4 r2 tping 100 60 9.9.4.111 vrf v4 r1 tping 100 60 9994::222 vrf v4 r2 tping 100 60 9994::111 vrf v4 freeRtr-24.11.16/cfg/rout-bgp848.tst 0000664 0000000 0000000 00000002631 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+mtree over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mtree local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mtree local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mtree local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mtree local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp849.tst 0000664 0000000 0000000 00000003044 14716276021 0016665 0 ustar 00root root 0000000 0000000 description unicast+mtree over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mtree local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mtree local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mtree local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mtree local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp850.tst 0000664 0000000 0000000 00000003426 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+mtree over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mtree local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni mtree neigh 1.1.1.2 additional-path-tx uni mtree red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mtree local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni mtree neigh 1234:1::2 additional-path-tx uni mtree red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni mtree local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni mtree neigh 1.1.1.1 additional-path-tx uni mtree red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni mtree local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni mtree neigh 1234:1::1 additional-path-tx uni mtree red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp851.tst 0000664 0000000 0000000 00000002642 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+othermtree over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omtree local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omtree local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omtree local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omtree local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp852.tst 0000664 0000000 0000000 00000003055 14716276021 0016661 0 ustar 00root root 0000000 0000000 description unicast+othermtree over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omtree local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omtree local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omtree local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omtree local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp853.tst 0000664 0000000 0000000 00000003447 14716276021 0016667 0 ustar 00root root 0000000 0000000 description unicast+othermtree over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omtree local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni omtree neigh 1.1.1.2 additional-path-tx uni omtree red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omtree local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni omtree neigh 1234:1::2 additional-path-tx uni omtree red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni omtree local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni omtree neigh 1.1.1.1 additional-path-tx uni omtree red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni omtree local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni omtree neigh 1234:1::1 additional-path-tx uni omtree red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp854.tst 0000664 0000000 0000000 00000007264 14716276021 0016671 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with pathlimit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aslimit 2 4 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 aspath-limit red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 aspath-limit red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aspath-limit neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aspath-limit neigh 1234:2::2 remote-as 3 neigh 1234:2::2 aspath-limit red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 aspath-limit neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 aspath-limit neigh 1234:3::2 remote-as 4 neigh 1234:3::2 aspath-limit red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 aspath-limit red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp855.tst 0000664 0000000 0000000 00000007306 14716276021 0016667 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with pathlimit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 set aslimit 2 4 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 aspath-limit red conn route-policy rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 aspath-limit red conn route-policy rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aspath-limit neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aspath-limit neigh 1234:2::2 remote-as 3 neigh 1234:2::2 aspath-limit red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 aspath-limit neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 aspath-limit neigh 1234:3::2 remote-as 4 neigh 1234:3::2 aspath-limit red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 aspath-limit red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp856.tst 0000664 0000000 0000000 00000010060 14716276021 0016657 0 ustar 00root root 0000000 0000000 description bgp routemap filtering with pathlimit with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aslimit 2 4 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 aspath-limit neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 aspath-limit neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aspath-limit neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 aspath-limit neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aspath-limit neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 aspath-limit neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 aspath-limit neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 aspath-limit neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 aspath-limit neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 4 neigh 1234:3::2 aspath-limit neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 aspath-limit neigh 1.1.1.9 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 aspath-limit neigh 1234:3::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp857.tst 0000664 0000000 0000000 00000010102 14716276021 0016655 0 ustar 00root root 0000000 0000000 description bgp routepolicy filtering with pathlimit with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-policy rm1 set aslimit 2 4 pass exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 aspath-limit neigh 1.1.1.2 soft-reconfig red conn route-policy rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 aspath-limit neigh 1234:1::2 soft-reconfig red conn route-policy rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aspath-limit neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 aspath-limit neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aspath-limit neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 aspath-limit neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 aspath-limit neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 aspath-limit neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 aspath-limit neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 4 neigh 1234:3::2 aspath-limit neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 aspath-limit neigh 1.1.1.9 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 aspath-limit neigh 1234:3::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp858.tst 0000664 0000000 0000000 00000011024 14716276021 0016662 0 ustar 00root root 0000000 0000000 description bgp change in pathlimit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aslimit 2 4 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 aspath-limit red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 aspath-limit red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aspath-limit neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aspath-limit neigh 1234:2::2 remote-as 3 neigh 1234:2::2 aspath-limit red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 aspath-limit neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 aspath-limit neigh 1234:3::2 remote-as 4 neigh 1234:3::2 aspath-limit red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 aspath-limit red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 aspath-limit red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set aslimit 4 4 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp859.tst 0000664 0000000 0000000 00000011620 14716276021 0016665 0 ustar 00root root 0000000 0000000 description bgp change in pathlimit with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit route-map rm1 set aslimit 2 4 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 aspath-limit neigh 1.1.1.2 soft-reconfig red conn route-map rm1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 aspath-limit neigh 1234:1::2 soft-reconfig red conn route-map rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 aspath-limit neigh 1.1.1.1 soft-reconfig neigh 1.1.1.6 remote-as 3 neigh 1.1.1.6 aspath-limit neigh 1.1.1.6 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 aspath-limit neigh 1234:1::1 soft-reconfig neigh 1234:2::2 remote-as 3 neigh 1234:2::2 aspath-limit neigh 1234:2::2 soft-reconfig red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.5 aspath-limit neigh 1.1.1.5 soft-reconfig neigh 1.1.1.10 remote-as 4 neigh 1.1.1.10 aspath-limit neigh 1.1.1.10 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:2::1 aspath-limit neigh 1234:2::1 soft-reconfig neigh 1234:3::2 remote-as 4 neigh 1234:3::2 aspath-limit neigh 1234:3::2 soft-reconfig red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 neigh 1.1.1.9 aspath-limit neigh 1.1.1.9 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 neigh 1234:3::1 aspath-limit neigh 1234:3::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 0 60 2.2.2.1 vrf v1 r4 tping 0 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set aslimit 4 4 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/rout-bgp860.tst 0000664 0000000 0000000 00000002617 14716276021 0016663 0 ustar 00root root 0000000 0000000 description unicast+spf over bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni spf local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni spf local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni spf local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni spf local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp861.tst 0000664 0000000 0000000 00000003032 14716276021 0016654 0 ustar 00root root 0000000 0000000 description unicast+spf over bgp with soft-reconfig addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni spf local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni spf local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 soft-reconfig red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni spf local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 soft-reconfig red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni spf local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 soft-reconfig red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-bgp862.tst 0000664 0000000 0000000 00000003374 14716276021 0016666 0 ustar 00root root 0000000 0000000 description unicast+spf over bgp with additional path addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni spf local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 send-comm both neigh 1.1.1.2 additional-path-rx uni spf neigh 1.1.1.2 additional-path-tx uni spf red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni spf local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 send-comm both neigh 1234:1::2 additional-path-rx uni spf neigh 1234:1::2 additional-path-tx uni spf red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni spf local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 send-comm both neigh 1.1.1.1 additional-path-rx uni spf neigh 1.1.1.1 additional-path-tx uni spf red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni spf local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:1::1 send-comm both neigh 1234:1::1 additional-path-rx uni spf neigh 1234:1::1 additional-path-tx uni spf red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 sou lo0 r1 tping 100 60 4321::2 vrf v1 sou lo0 r2 tping 100 60 2.2.2.1 vrf v1 sou lo0 r2 tping 100 60 4321::1 vrf v1 sou lo0 freeRtr-24.11.16/cfg/rout-eigrp01.tst 0000664 0000000 0000000 00000002354 14716276021 0017122 0 ustar 00root root 0000000 0000000 description eigrp point2point connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp02.tst 0000664 0000000 0000000 00000006060 14716276021 0017121 0 ustar 00root root 0000000 0000000 description eigrp point2multipoint connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router eigrp4 1 vrf v1 router 4.4.4.4 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.4 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp03.tst 0000664 0000000 0000000 00000007040 14716276021 0017121 0 ustar 00root root 0000000 0000000 description eigrp point2point chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.4 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.4 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-eigrp.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-eigrp04.tst 0000664 0000000 0000000 00000006412 14716276021 0017124 0 ustar 00root root 0000000 0000000 description eigrp ingress delay addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp4 1 delay-in 100 router eigrp6 1 ena router eigrp6 1 delay-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp05.tst 0000664 0000000 0000000 00000006413 14716276021 0017126 0 ustar 00root root 0000000 0000000 description eigrp egress delay addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp4 1 delay-out 100 router eigrp6 1 ena router eigrp6 1 delay-out 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp06.tst 0000664 0000000 0000000 00000003311 14716276021 0017121 0 ustar 00root root 0000000 0000000 description eigrp address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp4 1 suppress router eigrp6 1 ena router eigrp6 1 passiv router eigrp6 1 suppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp07.tst 0000664 0000000 0000000 00000004344 14716276021 0017131 0 ustar 00root root 0000000 0000000 description eigrp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 prefix-list-in p4 router eigrp6 1 prefix-list-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp08.tst 0000664 0000000 0000000 00000004345 14716276021 0017133 0 ustar 00root root 0000000 0000000 description eigrp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 prefix-list-out p4 router eigrp6 1 prefix-list-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp09.tst 0000664 0000000 0000000 00000004446 14716276021 0017136 0 ustar 00root root 0000000 0000000 description eigrp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 route-map-in p4 router eigrp6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp10.tst 0000664 0000000 0000000 00000004447 14716276021 0017127 0 ustar 00root root 0000000 0000000 description eigrp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 route-map-out p4 router eigrp6 1 route-map-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp11.tst 0000664 0000000 0000000 00000004315 14716276021 0017122 0 ustar 00root root 0000000 0000000 description eigrp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 route-policy-in p4 router eigrp6 1 route-policy-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp12.tst 0000664 0000000 0000000 00000004317 14716276021 0017125 0 ustar 00root root 0000000 0000000 description eigrp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 route-policy-out p4 router eigrp6 1 route-policy-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp13.tst 0000664 0000000 0000000 00000002425 14716276021 0017124 0 ustar 00root root 0000000 0000000 description eigrp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp4 1 default router eigrp6 1 ena router eigrp6 1 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp14.tst 0000664 0000000 0000000 00000004610 14716276021 0017123 0 ustar 00root root 0000000 0000000 description eigrp with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router eigrp4 1 ena router eigrp4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router eigrp6 1 ena router eigrp6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router eigrp4 1 ena router eigrp4 1 bfd router eigrp4 1 delay-in 100 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router eigrp6 1 ena router eigrp6 1 bfd router eigrp6 1 delay-in 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router eigrp4 1 ena router eigrp4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router eigrp6 1 ena router eigrp6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router eigrp4 1 ena router eigrp4 1 bfd router eigrp4 1 delay-in 100 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router eigrp6 1 ena router eigrp6 1 bfd router eigrp6 1 delay-in 100 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp15.tst 0000664 0000000 0000000 00000002671 14716276021 0017131 0 ustar 00root root 0000000 0000000 description eigrp peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: temp temp1 exit int temp1 router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp16.tst 0000664 0000000 0000000 00000003354 14716276021 0017131 0 ustar 00root root 0000000 0000000 description eigrp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router eigrp4 1 ena r1 send no router eigrp6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router eigrp4 1 ena r1 send router eigrp6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp17.tst 0000664 0000000 0000000 00000004473 14716276021 0017135 0 ustar 00root root 0000000 0000000 description eigrp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 route-map-in p4 router eigrp6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 aggregate 2.2.2.0/24 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 aggregate 4321::/32 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp18.tst 0000664 0000000 0000000 00000004143 14716276021 0017130 0 ustar 00root root 0000000 0000000 description eigrp auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn automesh all exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn automesh all exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router eigrp4 1 ena router eigrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 40 9.9.9.2 vrf v1 r1 tping 100 40 9999::2 vrf v1 r2 tping 100 40 9.9.9.1 vrf v1 r2 tping 100 40 9999::1 vrf v1 r1 tping 0 40 2.2.2.2 vrf v1 r1 tping 0 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp19.tst 0000664 0000000 0000000 00000002406 14716276021 0017131 0 ustar 00root root 0000000 0000000 description eigrp stub addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn stub conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn stub conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn stub conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn stub conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp20.tst 0000664 0000000 0000000 00000005620 14716276021 0017122 0 ustar 00root root 0000000 0000000 description eigrp triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router eigrp4 1 ena router eigrp4 1 delay-in 100 router eigrp6 1 ena router eigrp6 1 delay-in 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router eigrp4 1 ena router eigrp4 1 delay-in 100 router eigrp6 1 ena router eigrp6 1 delay-in 100 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp21.tst 0000664 0000000 0000000 00000005040 14716276021 0017117 0 ustar 00root root 0000000 0000000 description eigrp autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router eigrp4 1 vrf v1 router 4.4.4.1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute eigrp4 1 2.2.2.2 9.9.8.2 ipv6 autoroute eigrp6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router eigrp4 1 vrf v1 router 4.4.4.2 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router eigrp4 1 ena router eigrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute eigrp4 1 2.2.2.1 9.9.8.1 ipv6 autoroute eigrp6 1 4321::1 9998::1 exit ! r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 tping 0 40 9.9.9.2 vrf v1 r1 tping 0 40 9999::2 vrf v1 r2 tping 0 40 9.9.9.1 vrf v1 r2 tping 0 40 9999::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp22.tst 0000664 0000000 0000000 00000002465 14716276021 0017130 0 ustar 00root root 0000000 0000000 description eigrp over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp23.tst 0000664 0000000 0000000 00000006663 14716276021 0017135 0 ustar 00root root 0000000 0000000 description eigrp ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn ecmp exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn ecmp exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 red conn ecmp exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp24.tst 0000664 0000000 0000000 00000003701 14716276021 0017124 0 ustar 00root root 0000000 0000000 description eigrp default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 suppress exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 suppress exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.111 vrf v1 r1 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp25.tst 0000664 0000000 0000000 00000003767 14716276021 0017141 0 ustar 00root root 0000000 0000000 description eigrp address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 suppress exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 suppress exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp4 1 unsuppress router eigrp6 1 ena router eigrp6 1 passiv router eigrp6 1 unsuppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router eigrp4 1 ena router eigrp4 1 passiv router eigrp6 1 ena router eigrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.111 vrf v1 r1 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp26.tst 0000664 0000000 0000000 00000005646 14716276021 0017140 0 ustar 00root root 0000000 0000000 description eigrp auto summarization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 route-map-in p4 router eigrp6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 autosumm red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 autosumm red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp4 1 ena router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-eigrp27.tst 0000664 0000000 0000000 00000002614 14716276021 0017131 0 ustar 00root root 0000000 0000000 description eigrp with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 ipinfo pmtud 512 1024 666 router eigrp6 1 ipinfo pmtud 512 1024 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router eigrp4 1 ena router eigrp6 1 ena router eigrp4 1 ipinfo pmtud 512 1024 666 router eigrp6 1 ipinfo pmtud 512 1024 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 eigrp 1 sum r2 output show ipv6 eigrp 1 sum r2 output show ipv4 eigrp 1 rou r2 output show ipv6 eigrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis001.tst 0000664 0000000 0000000 00000002656 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis002.tst 0000664 0000000 0000000 00000002563 14716276021 0017046 0 ustar 00root root 0000000 0000000 description isis over ethernet vlan addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis003.tst 0000664 0000000 0000000 00000003155 14716276021 0017045 0 ustar 00root root 0000000 0000000 description isis over ethernet bridge addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth2.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int bvi2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth2.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int bvi2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis004.tst 0000664 0000000 0000000 00000003132 14716276021 0017041 0 ustar 00root root 0000000 0000000 description isis over hdlc addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc hdlc vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc hdlc vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis005.tst 0000664 0000000 0000000 00000003335 14716276021 0017047 0 ustar 00root root 0000000 0000000 description isis over ppp addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc ppp ppp ip4cp close ppp ip6cp close vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis006.tst 0000664 0000000 0000000 00000003440 14716276021 0017045 0 ustar 00root root 0000000 0000000 description isis over framerelay addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc framerelay framerelay mode dce framerelay dlci 123 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc framerelay framerelay mode dte framerelay dlci 123 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis007.tst 0000664 0000000 0000000 00000003324 14716276021 0017047 0 ustar 00root root 0000000 0000000 description isis over atmdxi addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 raw-encapsulation exit int ser2 enc atmdxi atmdxi vpi 1 atmdxi vci 2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 raw-encapsulation exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis008.tst 0000664 0000000 0000000 00000003541 14716276021 0017051 0 ustar 00root root 0000000 0000000 description isis over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int tun2 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9.9.9.2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int tun2 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9.9.9.1 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis009.tst 0000664 0000000 0000000 00000006376 14716276021 0017063 0 ustar 00root root 0000000 0000000 description isis narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 no metric-wide is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 no metric-wide is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 no metric-wide is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 no metric-wide is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.3 vrf v1 r3 send conf t r3 send router isis4 1 r3 send no metric-wide r3 send end r3 send conf t r3 send router isis6 1 r3 send no metric-wide r3 send end r3 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-isis.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here is the ipv4 tree:
show:4here is the ipv6 tree:
show:5here are the ipv4 routes:
show:6here are the ipv6 routes:
show:7! freeRtr-24.11.16/cfg/rout-isis010.tst 0000664 0000000 0000000 00000006221 14716276021 0017040 0 ustar 00root root 0000000 0000000 description isis overload addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level1 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level1 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.2 vrf v1 r2 send conf t r2 send router isis4 1 r2 send both set-over r2 send end r2 send conf t r2 send router isis6 1 r2 send both set-over r2 send end r2 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis011.tst 0000664 0000000 0000000 00000005577 14716276021 0017056 0 ustar 00root root 0000000 0000000 description isis attached addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level1 exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level1 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send router isis4 1 r1 send both set-atta r1 send end r1 send conf t r1 send router isis6 1 r1 send both set-atta r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis012.tst 0000664 0000000 0000000 00000005027 14716276021 0017045 0 ustar 00root root 0000000 0000000 description isis chain of broadcast nets addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis013.tst 0000664 0000000 0000000 00000005365 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis broadcast subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit bridge 2 mac-learn exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int eth2.11 bridge-gr 1 exit int eth2.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::3 ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis014.tst 0000664 0000000 0000000 00000013771 14716276021 0017054 0 ustar 00root root 0000000 0000000 description isis updown bit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level1 red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.2222.00 is-type both red conn exit router isis6 1 vrf v1 net 11.6666.0000.2222.00 is-type both red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type both red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type both red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:3::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.4444.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.4444.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:3::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:4::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.5555.00 is-type both red conn exit router isis6 1 vrf v1 net 22.6666.0000.5555.00 is-type both red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:4::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:5::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 33.4444.0000.6666.00 is-type level2 red conn exit router isis6 1 vrf v1 net 33.6666.0000.6666.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:5::2 ffff:ffff:: router isis6 1 ena exit ! r5 tping 100 20 2.2.2.1 vrf v1 r5 tping 100 20 2.2.2.2 vrf v1 r5 tping 100 20 2.2.2.3 vrf v1 r5 tping 100 20 2.2.2.4 vrf v1 r5 tping 100 20 2.2.2.6 vrf v1 r5 tping 100 20 4321::1 vrf v1 r5 tping 100 20 4321::2 vrf v1 r5 tping 100 20 4321::3 vrf v1 r5 tping 100 20 4321::4 vrf v1 r5 tping 100 20 4321::6 vrf v1 r6 tping 0 20 2.2.2.1 vrf v1 r6 tping 0 20 2.2.2.2 vrf v1 r6 tping 100 20 2.2.2.3 vrf v1 r6 tping 100 20 2.2.2.4 vrf v1 r6 tping 100 20 2.2.2.5 vrf v1 r6 tping 0 20 4321::1 vrf v1 r6 tping 0 20 4321::2 vrf v1 r6 tping 100 20 4321::3 vrf v1 r6 tping 100 20 4321::4 vrf v1 r6 tping 100 20 4321::5 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.4 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 tping 0 20 2.2.2.6 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::4 vrf v1 r2 tping 100 20 4321::5 vrf v1 r2 tping 0 20 4321::6 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.4 vrf v1 r1 tping 100 20 2.2.2.5 vrf v1 r1 tping 0 20 2.2.2.6 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 100 20 4321::4 vrf v1 r1 tping 100 20 4321::5 vrf v1 r1 tping 0 20 4321::6 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r4 tping 100 20 2.2.2.2 vrf v1 r4 tping 100 20 2.2.2.3 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 tping 100 20 2.2.2.6 vrf v1 r4 tping 100 20 4321::1 vrf v1 r4 tping 100 20 4321::2 vrf v1 r4 tping 100 20 4321::3 vrf v1 r4 tping 100 20 4321::5 vrf v1 r4 tping 100 20 4321::6 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 2.2.2.4 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 tping 100 20 2.2.2.6 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 4321::4 vrf v1 r3 tping 100 20 4321::5 vrf v1 r3 tping 100 20 4321::6 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis015.tst 0000664 0000000 0000000 00000014314 14716276021 0017047 0 ustar 00root root 0000000 0000000 description isis updown bit with narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level1 no metric-wide red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 is-type level1 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.2222.00 is-type both no metric-wide red conn exit router isis6 1 vrf v1 net 11.6666.0000.2222.00 is-type both no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type both no metric-wide red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type both no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:3::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.4444.00 is-type level1 no metric-wide red conn exit router isis6 1 vrf v1 net 22.6666.0000.4444.00 is-type level1 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:3::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:4::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.5555.00 is-type both no metric-wide red conn exit router isis6 1 vrf v1 net 22.6666.0000.5555.00 is-type both no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:4::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:5::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 33.4444.0000.6666.00 is-type level2 no metric-wide red conn exit router isis6 1 vrf v1 net 33.6666.0000.6666.00 is-type level2 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:5::2 ffff:ffff:: router isis6 1 ena exit ! r5 tping 100 20 2.2.2.1 vrf v1 r5 tping 100 20 2.2.2.2 vrf v1 r5 tping 100 20 2.2.2.3 vrf v1 r5 tping 100 20 2.2.2.4 vrf v1 r5 tping 100 20 2.2.2.6 vrf v1 r5 tping 100 20 4321::1 vrf v1 r5 tping 100 20 4321::2 vrf v1 r5 tping 100 20 4321::3 vrf v1 r5 tping 100 20 4321::4 vrf v1 r5 tping 100 20 4321::6 vrf v1 r6 tping 0 20 2.2.2.1 vrf v1 r6 tping 0 20 2.2.2.2 vrf v1 r6 tping 100 20 2.2.2.3 vrf v1 r6 tping 100 20 2.2.2.4 vrf v1 r6 tping 100 20 2.2.2.5 vrf v1 r6 tping 0 20 4321::1 vrf v1 r6 tping 0 20 4321::2 vrf v1 r6 tping 100 20 4321::3 vrf v1 r6 tping 100 20 4321::4 vrf v1 r6 tping 100 20 4321::5 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.4 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 tping 0 20 2.2.2.6 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::4 vrf v1 r2 tping 100 20 4321::5 vrf v1 r2 tping 0 20 4321::6 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.4 vrf v1 r1 tping 100 20 2.2.2.5 vrf v1 r1 tping 0 20 2.2.2.6 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 100 20 4321::4 vrf v1 r1 tping 100 20 4321::5 vrf v1 r1 tping 0 20 4321::6 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r4 tping 100 20 2.2.2.2 vrf v1 r4 tping 100 20 2.2.2.3 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 tping 100 20 2.2.2.6 vrf v1 r4 tping 100 20 4321::1 vrf v1 r4 tping 100 20 4321::2 vrf v1 r4 tping 100 20 4321::3 vrf v1 r4 tping 100 20 4321::5 vrf v1 r4 tping 100 20 4321::6 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 2.2.2.4 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 tping 100 20 2.2.2.6 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 4321::4 vrf v1 r3 tping 100 20 4321::5 vrf v1 r3 tping 100 20 4321::6 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis016.tst 0000664 0000000 0000000 00000003652 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 exit int lo11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 passive router isis4 1 suppress-pref exit int lo22 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive router isis6 1 suppress-pref exit int lo31 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo32 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 0 20 2.2.2.2 vrf v1 r2 tping 0 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis017.tst 0000664 0000000 0000000 00000004632 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis inter-level routes addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis018.tst 0000664 0000000 0000000 00000002764 14716276021 0017060 0 ustar 00root root 0000000 0000000 description isis text authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 password tester exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 password tester exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 password tester exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 password tester exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis019.tst 0000664 0000000 0000000 00000006551 14716276021 0017057 0 ustar 00root root 0000000 0000000 description isis intra level metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena router isis4 1 metric 100 exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 metric 100 exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 exit int lo11 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo22 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis020.tst 0000664 0000000 0000000 00000006560 14716276021 0017047 0 ustar 00root root 0000000 0000000 description isis external metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 100 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 exit int lo11 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo22 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis021.tst 0000664 0000000 0000000 00000006726 14716276021 0017054 0 ustar 00root root 0000000 0000000 description isis external narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 30 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 no metric-wide red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 no metric-wide red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 no metric-wide red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 no metric-wide exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 no metric-wide exit int lo11 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo22 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis022.tst 0000664 0000000 0000000 00000006672 14716276021 0017055 0 ustar 00root root 0000000 0000000 description isis external metric vs intra level metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 100 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena router isis4 1 metric 50 exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 metric 50 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 exit int lo11 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo22 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis023.tst 0000664 0000000 0000000 00000006577 14716276021 0017062 0 ustar 00root root 0000000 0000000 description isis inter level ingress filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn both prefix-list-from p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn both prefix-list-from p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 0 20 2.2.2.13 vrf v1 r2 tping 0 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis024.tst 0000664 0000000 0000000 00000006576 14716276021 0017062 0 ustar 00root root 0000000 0000000 description isis inter level egress filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn both prefix-list-into p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn both prefix-list-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis025.tst 0000664 0000000 0000000 00000006701 14716276021 0017051 0 ustar 00root root 0000000 0000000 description isis inter level ingress filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn both route-map-from p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn both route-map-from p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 0 20 2.2.2.13 vrf v1 r2 tping 0 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis026.tst 0000664 0000000 0000000 00000006700 14716276021 0017051 0 ustar 00root root 0000000 0000000 description isis inter level egress filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn both route-map-into p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn both route-map-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis027.tst 0000664 0000000 0000000 00000006550 14716276021 0017055 0 ustar 00root root 0000000 0000000 description isis inter level ingress filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn both route-policy-from p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn both route-policy-from p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 0 20 2.2.2.13 vrf v1 r2 tping 0 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis028.tst 0000664 0000000 0000000 00000006547 14716276021 0017064 0 ustar 00root root 0000000 0000000 description isis inter level egress filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both red conn both route-policy-into p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn both route-policy-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis029.tst 0000664 0000000 0000000 00000002566 14716276021 0017062 0 ustar 00root root 0000000 0000000 description isis default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both default exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both default exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis030.tst 0000664 0000000 0000000 00000005073 14716276021 0017046 0 ustar 00root root 0000000 0000000 description isis with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router isis4 1 ena router isis4 1 bfd exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router isis6 1 ena router isis6 1 bfd exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router isis4 1 ena router isis4 1 bfd router isis4 1 metric 100 exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router isis6 1 ena router isis6 1 bfd router isis6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router isis4 1 ena router isis4 1 bfd exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router isis6 1 ena router isis6 1 bfd exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router isis4 1 ena router isis4 1 bfd router isis4 1 metric 100 exit int eth2.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router isis6 1 ena router isis6 1 bfd router isis6 1 metric 100 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis031.tst 0000664 0000000 0000000 00000002762 14716276021 0017051 0 ustar 00root root 0000000 0000000 description isis with te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 4.4.4.1 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 both traff red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 traffeng 4.4.4.2 both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 traffeng 6.6.6.1 both traff red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis032.tst 0000664 0000000 0000000 00000003344 14716276021 0017047 0 ustar 00root root 0000000 0000000 description isis peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 router isis4 1 ena exit int temp2 vrf for v1 ipv6 addr 9999::9 ffff:: router isis6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 temp temp1 exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: temp temp2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 exit int temp2 vrf for v1 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 temp temp1 exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: temp temp2 exit int temp1 router isis4 1 ena exit int temp2 router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis033.tst 0000664 0000000 0000000 00000005212 14716276021 0017044 0 ustar 00root root 0000000 0000000 description isis chain of broadcast nets with narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis034.tst 0000664 0000000 0000000 00000005550 14716276021 0017052 0 ustar 00root root 0000000 0000000 description isis broadcast subnet with narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit bridge 2 mac-learn exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int eth2.11 bridge-gr 1 exit int eth2.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 no metric-wide red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 no metric-wide red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::3 ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis035.tst 0000664 0000000 0000000 00000005205 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.3 vrf v1 r3 send conf t r3 send router isis4 1 r3 send multi-topology r3 send end r3 send conf t r3 send router isis6 1 r3 send multi-topology r3 send end r3 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis036.tst 0000664 0000000 0000000 00000014315 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis updown bit with multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level1 multi-topology red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 is-type level1 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.2222.00 is-type both multi-topology red conn exit router isis6 1 vrf v1 net 11.6666.0000.2222.00 is-type both multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type both multi-topology red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type both multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:3::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.4444.00 is-type level1 multi-topology red conn exit router isis6 1 vrf v1 net 22.6666.0000.4444.00 is-type level1 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:3::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:4::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ int eth2 eth 0000.0000.5555 $5a$ $5b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.5555.00 is-type both multi-topology red conn exit router isis6 1 vrf v1 net 22.6666.0000.5555.00 is-type both multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:4::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.17 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:5::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 33.4444.0000.6666.00 is-type level2 multi-topology red conn exit router isis6 1 vrf v1 net 33.6666.0000.6666.00 is-type level2 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.18 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:5::2 ffff:ffff:: router isis6 1 ena exit ! r5 tping 100 20 2.2.2.1 vrf v1 r5 tping 100 20 2.2.2.2 vrf v1 r5 tping 100 20 2.2.2.3 vrf v1 r5 tping 100 20 2.2.2.4 vrf v1 r5 tping 100 20 2.2.2.6 vrf v1 r5 tping 100 20 4321::1 vrf v1 r5 tping 100 20 4321::2 vrf v1 r5 tping 100 20 4321::3 vrf v1 r5 tping 100 20 4321::4 vrf v1 r5 tping 100 20 4321::6 vrf v1 r6 tping 0 20 2.2.2.1 vrf v1 r6 tping 0 20 2.2.2.2 vrf v1 r6 tping 100 20 2.2.2.3 vrf v1 r6 tping 100 20 2.2.2.4 vrf v1 r6 tping 100 20 2.2.2.5 vrf v1 r6 tping 0 20 4321::1 vrf v1 r6 tping 0 20 4321::2 vrf v1 r6 tping 100 20 4321::3 vrf v1 r6 tping 100 20 4321::4 vrf v1 r6 tping 100 20 4321::5 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.4 vrf v1 r2 tping 100 20 2.2.2.5 vrf v1 r2 tping 0 20 2.2.2.6 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::4 vrf v1 r2 tping 100 20 4321::5 vrf v1 r2 tping 0 20 4321::6 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.4 vrf v1 r1 tping 100 20 2.2.2.5 vrf v1 r1 tping 0 20 2.2.2.6 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 100 20 4321::4 vrf v1 r1 tping 100 20 4321::5 vrf v1 r1 tping 0 20 4321::6 vrf v1 r4 tping 100 20 2.2.2.1 vrf v1 r4 tping 100 20 2.2.2.2 vrf v1 r4 tping 100 20 2.2.2.3 vrf v1 r4 tping 100 20 2.2.2.5 vrf v1 r4 tping 100 20 2.2.2.6 vrf v1 r4 tping 100 20 4321::1 vrf v1 r4 tping 100 20 4321::2 vrf v1 r4 tping 100 20 4321::3 vrf v1 r4 tping 100 20 4321::5 vrf v1 r4 tping 100 20 4321::6 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 2.2.2.4 vrf v1 r3 tping 100 20 2.2.2.5 vrf v1 r3 tping 100 20 2.2.2.6 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 4321::4 vrf v1 r3 tping 100 20 4321::5 vrf v1 r3 tping 100 20 4321::6 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis037.tst 0000664 0000000 0000000 00000006727 14716276021 0017064 0 ustar 00root root 0000000 0000000 description isis external multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 30 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 multi-topology red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 multi-topology red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 multi-topology red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 multi-topology exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 multi-topology exit int lo11 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo22 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis038.tst 0000664 0000000 0000000 00000003101 14716276021 0017044 0 ustar 00root root 0000000 0000000 description isis multi-topology with te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 traffeng 4.4.4.1 multi-topology both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 traffeng 6.6.6.1 multi-topology both traff red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 traffeng 4.4.4.2 multi-topology both traff red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 traffeng 6.6.6.1 multi-topology both traff red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis039.tst 0000664 0000000 0000000 00000005213 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis chain of broadcast nets with multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis040.tst 0000664 0000000 0000000 00000005551 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis broadcast subnet with multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit bridge 2 mac-learn exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int eth2.11 bridge-gr 1 exit int eth2.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit bridge 2 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 multi-topology red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 bridge-gr 1 exit int eth1.12 bridge-gr 2 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 router isis4 1 ena router isis4 1 net broad exit int bvi2 vrf for v1 ipv6 addr 1234::3 ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis041.tst 0000664 0000000 0000000 00000010275 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 traffeng 4.4.4.2 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo2 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo2 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo2 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo2 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo2 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis042.tst 0000664 0000000 0000000 00000010305 14716276021 0017043 0 ustar 00root root 0000000 0000000 description isis inter-level with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 is-type level2 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both traffeng 4.4.4.2 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both traffeng 6.6.6.2 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 traffeng 4.4.4.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo2 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo2 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo2 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo2 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo2 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis043.tst 0000664 0000000 0000000 00000010454 14716276021 0017051 0 ustar 00root root 0000000 0000000 description isis multi-topology with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology is-type level2 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 multi-topology is-type level2 traffeng 4.4.4.2 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 multi-topology is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 multi-topology is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 multi-topology is-type level2 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo2 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo2 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo2 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo2 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo2 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis044.tst 0000664 0000000 0000000 00000003731 14716276021 0017052 0 ustar 00root root 0000000 0000000 description isis prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router isis4 1 ena r1 send exit r1 send int lo2 r1 send no router isis6 1 ena r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router isis4 1 ena r1 send exit r1 send int lo2 r1 send router isis6 1 ena r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis045.tst 0000664 0000000 0000000 00000006771 14716276021 0017062 0 ustar 00root root 0000000 0000000 description isis change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 1000 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 red conn route-map rm1 exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn both route-map-from rm1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn both route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis046.tst 0000664 0000000 0000000 00000006732 14716276021 0017060 0 ustar 00root root 0000000 0000000 description isis aggregate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both aggregate 2.2.2.0/24 red conn both route-map-into p4 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both aggregate 4321::/32 red conn both route-map-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 100 20 2.2.2.13 vrf v1 r1 tping 100 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 100 20 2.2.2.11 vrf v1 r3 tping 100 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis047.tst 0000664 0000000 0000000 00000004510 14716276021 0017051 0 ustar 00root root 0000000 0000000 description isis auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn automesh all exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 router isis4 1 ena ipv4 access-group-in test4 mpls enable mpls rsvp4 exit int ser2 vrf for v1 ipv6 addr 9999::1 ffff:: router isis6 1 ena ipv6 access-group-in test6 mpls enable mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn automesh all exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 router isis4 1 ena ipv4 access-group-in test4 mpls enable mpls rsvp4 exit int ser2 vrf for v1 ipv6 addr 9999::2 ffff:: router isis6 1 ena ipv6 access-group-in test6 mpls enable mpls rsvp6 exit ! r1 tping 100 20 9.9.9.2 vrf v1 r1 tping 100 20 9999::2 vrf v1 r2 tping 100 20 9.9.9.1 vrf v1 r2 tping 100 20 9999::1 vrf v1 r1 tping 0 20 2.2.2.2 vrf v1 r1 tping 0 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis048.tst 0000664 0000000 0000000 00000006221 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 router isis4 1 ena router isis4 1 metric 100 exit int eth2.12 vrf for v1 ipv6 addr 1234:3::2 ffff:ffff:: router isis6 1 ena router isis6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 router isis4 1 ena router isis4 1 metric 100 ipv4 access-group-in test4 exit int eth2.12 vrf for v1 ipv6 addr 1234:3::1 ffff:ffff:: router isis6 1 ena router isis6 1 metric 100 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis049.tst 0000664 0000000 0000000 00000013745 14716276021 0017065 0 ustar 00root root 0000000 0000000 description isis prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 advertise 4321::1/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 advertise 2.2.2.2/32 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 advertise 4321::2/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router isis4 1 vrf v1 net 33.4444.0000.3333.00 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router isis6 1 vrf v1 net 33.6666.0000.3333.00 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis050.tst 0000664 0000000 0000000 00000010514 14716276021 0017044 0 ustar 00root root 0000000 0000000 description isis with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 bier index 1 exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo2 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 bier index 2 exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 2 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 bier index 3 exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo2 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo2 r3 tping 0 20 4321::1 vrf v1 sou lo2 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-isis051.tst 0000664 0000000 0000000 00000010524 14716276021 0017046 0 ustar 00root root 0000000 0000000 description isis inter-level with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level2 bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 is-type level2 bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 bier index 1 exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo2 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 is-type both bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 bier index 2 exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 2 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 is-type level1 bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 bier index 3 exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo2 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo2 r3 tping 0 20 4321::1 vrf v1 sou lo2 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-isis052.tst 0000664 0000000 0000000 00000010533 14716276021 0017047 0 ustar 00root root 0000000 0000000 description isis multi-topology with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 bier index 1 exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo2 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 multi-topology bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 multi-topology bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 bier index 2 exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 2 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 multi-topology bier 256 10 both bier red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 multi-topology bier 256 10 both bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 bier index 3 exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 bier index 3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo2 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo2 r3 tping 0 20 4321::1 vrf v1 sou lo2 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-isis053.tst 0000664 0000000 0000000 00000005601 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ int ser3 ser 0000.0000.1111 $3a$ $3b$ int ser4 ser 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 router isis4 1 ena ipv4 access-group-in test4 exit int ser2 vrf for v1 ipv6 addr 9999::1 ffff:: router isis6 1 ena ipv6 access-group-in test6 exit int ser3 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv4 autoroute isis4 1 2.2.2.2 9.9.8.2 exit int ser4 vrf for v1 ipv6 addr 9998::1 ffff:: ipv6 autoroute isis6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ int ser3 ser 0000.0000.2222 $3b$ $3a$ int ser4 ser 0000.0000.2222 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 router isis4 1 ena ipv4 access-group-in test4 exit int ser2 vrf for v1 ipv6 addr 9999::2 ffff:: router isis6 1 ena ipv6 access-group-in test6 exit int ser3 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv4 autoroute isis4 1 2.2.2.1 9.9.8.1 exit int ser4 vrf for v1 ipv6 addr 9998::2 ffff:: ipv6 autoroute isis6 1 4321::1 9998::1 exit ! r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 9.9.9.2 vrf v1 r1 tping 0 20 9999::2 vrf v1 r2 tping 0 20 9.9.9.1 vrf v1 r2 tping 0 20 9999::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis054.tst 0000664 0000000 0000000 00000003020 14716276021 0017042 0 ustar 00root root 0000000 0000000 description isis lsp text authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both lsp-pass tester red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both lsp-pass tester red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 both lsp-pass tester red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 both lsp-pass tester red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis055.tst 0000664 0000000 0000000 00000006752 14716276021 0017062 0 ustar 00root root 0000000 0000000 description isis change in tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1000 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn both route-map-from rm1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn both route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis056.tst 0000664 0000000 0000000 00000007131 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis multi-topology change in tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1000 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 multi-topology red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 multi-topology red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 multi-topology red conn both route-map-from rm1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 multi-topology red conn both route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 multi-topology red conn exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 multi-topology red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis057.tst 0000664 0000000 0000000 00000011527 14716276021 0017060 0 ustar 00root root 0000000 0000000 description isis with php sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node router isis4 1 segrout pop exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node router isis6 1 segrout pop exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo2 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 traffeng 4.4.4.2 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node router isis4 1 segrout pop exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node router isis6 1 segrout pop exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node router isis4 1 segrout pop exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node router isis6 1 segrout pop exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo2 pweompls 4321::1 1234 exit ! r1 tping 0 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 4321::2 vrf v1 sou lo2 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo2 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 tping 0 20 4321::1 vrf v1 sou lo2 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo2 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo2 r3 tping 0 20 2.2.2.2 vrf v1 sou lo1 r3 tping 0 20 4321::2 vrf v1 sou lo2 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis058.tst 0000664 0000000 0000000 00000010370 14716276021 0017054 0 ustar 00root root 0000000 0000000 description isis with srgb sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 base 100 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 traffeng 6.6.6.1 segrout 10 base 200 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 traffeng 4.4.4.2 segrout 10 base 100 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 base 200 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 base 100 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 traffeng 6.6.6.3 segrout 10 base 200 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 mpls enable router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo2 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo2 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo2 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo2 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo2 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis059.tst 0000664 0000000 0000000 00000003000 14716276021 0017045 0 ustar 00root root 0000000 0000000 description isis over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis060.tst 0000664 0000000 0000000 00000002761 14716276021 0017052 0 ustar 00root root 0000000 0000000 description isis with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis061.tst 0000664 0000000 0000000 00000005525 14716276021 0017054 0 ustar 00root root 0000000 0000000 description isis narrow metric with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 no metric-wide is-type level2 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 no metric-wide is-type level2 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 no metric-wide is-type level2 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 no metric-wide is-type level2 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.3 vrf v1 r3 send conf t r3 send router isis4 1 r3 send no metric-wide r3 send end r3 send conf t r3 send router isis6 1 r3 send no metric-wide r3 send end r3 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis062.tst 0000664 0000000 0000000 00000005210 14716276021 0017044 0 ustar 00root root 0000000 0000000 description isis chain of broadcast nets with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena router isis4 1 net broad exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena router isis6 1 net broad exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis063.tst 0000664 0000000 0000000 00000005366 14716276021 0017061 0 ustar 00root root 0000000 0000000 description isis multi-topology with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 multi-topology red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 multi-topology red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 multi-topology red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn both spf-bidir exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 red conn both spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.3 vrf v1 r3 send conf t r3 send router isis4 1 r3 send multi-topology r3 send end r3 send conf t r3 send router isis6 1 r3 send multi-topology r3 send end r3 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis064.tst 0000664 0000000 0000000 00000007660 14716276021 0017061 0 ustar 00root root 0000000 0000000 description isis ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn both spf-ecmp ecmp exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn both spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit int eth1.21 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 router isis4 1 ena exit int eth1.22 vrf for v1 ipv6 addr 1234:21::1 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:3::2 ffff:ffff:: router isis6 1 ena exit int eth2.21 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 router isis4 1 ena exit int eth2.22 vrf for v1 ipv6 addr 1234:23::2 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn both spf-ecmp ecmp exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn both spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth1.21 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 router isis4 1 ena exit int eth1.22 vrf for v1 ipv6 addr 1234:21::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena exit int eth2.21 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 router isis4 1 ena exit int eth2.22 vrf for v1 ipv6 addr 1234:22::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn both spf-ecmp ecmp exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 red conn both spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit int eth1.21 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 router isis4 1 ena exit int eth1.22 vrf for v1 ipv6 addr 1234:22::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:3::1 ffff:ffff:: router isis6 1 ena exit int eth2.21 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 router isis4 1 ena exit int eth2.22 vrf for v1 ipv6 addr 1234:23::1 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis065.tst 0000664 0000000 0000000 00000005265 14716276021 0017061 0 ustar 00root root 0000000 0000000 description isis with bgp linkstate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 justadvert lo1 exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate afi-link isis4 1 2 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 linkstate afi-link isis6 1 2 justadvert lo2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 justadvert lo1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate afi-link isis4 1 2 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 linkstate afi-link isis6 1 2 justadvert lo2 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.102 vrf v1 r2 tping 100 20 2.2.2.101 vrf v1 r1 tping 100 20 4321::102 vrf v1 r2 tping 100 20 4321::101 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r1 output show ipv4 bgp 1 uni dat r1 output show ipv6 bgp 1 uni dat r1 output show ipv4 bgp 1 links dat r1 output show ipv6 bgp 1 links dat freeRtr-24.11.16/cfg/rout-isis066.tst 0000664 0000000 0000000 00000002415 14716276021 0017054 0 ustar 00root root 0000000 0000000 description integrated isis over ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis067.tst 0000664 0000000 0000000 00000002541 14716276021 0017055 0 ustar 00root root 0000000 0000000 description integrated isis over hdlc addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena router isis4 1 raw-encapsulation exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.4444.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 enc hdlc vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena router isis6 1 raw-encapsulation exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis068.tst 0000664 0000000 0000000 00000003246 14716276021 0017061 0 ustar 00root root 0000000 0000000 description integrated isis over gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.252 ipv6 addr 9999::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena router isis4 1 raw-encapsulation exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.4444.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.252 ipv6 addr 9999::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 9999::1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena router isis6 1 raw-encapsulation exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis069.tst 0000664 0000000 0000000 00000004633 14716276021 0017063 0 ustar 00root root 0000000 0000000 description integrated isis narrow metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 no metric-wide is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 no metric-wide is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.3 vrf v1 r3 send conf t r3 send router isis4 1 r3 send no metric-wide r3 send end r3 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis070.tst 0000664 0000000 0000000 00000005113 14716276021 0017045 0 ustar 00root root 0000000 0000000 description integrated isis attached addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level1 afi-other enable exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send router isis4 1 r1 send both set-atta r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis071.tst 0000664 0000000 0000000 00000004375 14716276021 0017057 0 ustar 00root root 0000000 0000000 description integrated isis chain of broadcast nets addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena router isis4 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena router isis6 1 net broad exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena router isis4 1 net broad exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis072.tst 0000664 0000000 0000000 00000004542 14716276021 0017054 0 ustar 00root root 0000000 0000000 description integrated isis broadcast subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena router isis4 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena router isis6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router isis4 1 ena router isis4 1 other-ena router isis4 1 net broad exit ! r1 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis073.tst 0000664 0000000 0000000 00000003276 14716276021 0017060 0 ustar 00root root 0000000 0000000 description integrated isis address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 afi-other enable exit int lo11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 passive router isis4 1 other-ena router isis4 1 suppress-pref router isis4 1 other-suppress-pref exit int lo31 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 passive exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 0 20 2.2.2.2 vrf v1 r2 tping 0 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis074.tst 0000664 0000000 0000000 00000004272 14716276021 0017056 0 ustar 00root root 0000000 0000000 description integrated isis inter-level routes addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis075.tst 0000664 0000000 0000000 00000006245 14716276021 0017061 0 ustar 00root root 0000000 0000000 description integrated isis inter level ingress filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn both prefix-list-from p6 both other-prefix-list-from p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 0 20 2.2.2.13 vrf v1 r2 tping 0 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis076.tst 0000664 0000000 0000000 00000006244 14716276021 0017061 0 ustar 00root root 0000000 0000000 description integrated isis inter level egress filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn both prefix-list-into p6 both other-prefix-list-into p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis077.tst 0000664 0000000 0000000 00000006347 14716276021 0017066 0 ustar 00root root 0000000 0000000 description integrated isis inter level ingress filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn both route-map-from p6 both other-route-map-from p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 0 20 2.2.2.13 vrf v1 r2 tping 0 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis078.tst 0000664 0000000 0000000 00000006346 14716276021 0017066 0 ustar 00root root 0000000 0000000 description integrated isis inter level egress filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn both route-map-into p6 both other-route-map-into p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis079.tst 0000664 0000000 0000000 00000006216 14716276021 0017063 0 ustar 00root root 0000000 0000000 description integrated isis inter level ingress filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn both route-policy-from p6 both other-route-policy-from p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 0 20 2.2.2.13 vrf v1 r2 tping 0 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis080.tst 0000664 0000000 0000000 00000006215 14716276021 0017052 0 ustar 00root root 0000000 0000000 description integrated isis inter level egress filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both red conn afi-other enable afi-other red conn both route-policy-into p6 both other-route-policy-into p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis081.tst 0000664 0000000 0000000 00000002421 14716276021 0017046 0 ustar 00root root 0000000 0000000 description integrated isis default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 afi-other enable both default both other-default exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis082.tst 0000664 0000000 0000000 00000004552 14716276021 0017056 0 ustar 00root root 0000000 0000000 description integrated isis multi-topology addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.6666.0000.2222.00 multi-topology red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.3 vrf v1 r3 send conf t r3 send router isis4 1 r3 send multi-topology r3 send end r3 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis083.tst 0000664 0000000 0000000 00000007242 14716276021 0017056 0 ustar 00root root 0000000 0000000 description integrated isis with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 1 router isis4 1 segrout other-index 2 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 segrout index 3 router isis6 1 segrout other-index 4 router isis6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 5 router isis4 1 segrout other-index 6 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis084.tst 0000664 0000000 0000000 00000007254 14716276021 0017062 0 ustar 00root root 0000000 0000000 description integrated isis inter-level with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 1 router isis4 1 segrout other-index 2 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both traffeng 6.6.6.2 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 segrout index 3 router isis6 1 segrout other-index 4 router isis6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 traffeng 4.4.4.3 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 5 router isis4 1 segrout other-index 6 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis085.tst 0000664 0000000 0000000 00000007341 14716276021 0017060 0 ustar 00root root 0000000 0000000 description integrated isis multi-topology with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 1 router isis4 1 segrout other-index 2 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.6666.0000.2222.00 multi-topology is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 3 router isis4 1 segrout other-index 4 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 multi-topology is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 5 router isis4 1 segrout other-index 6 router isis4 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis086.tst 0000664 0000000 0000000 00000003452 14716276021 0017060 0 ustar 00root root 0000000 0000000 description integrated isis prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 afi-other enable exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 afi-other enable exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router isis4 1 ena r1 send no router isis4 1 other-ena r1 send exit r1 send exit r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router isis4 1 ena r1 send router isis4 1 other-ena r1 send exit r1 send exit r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis087.tst 0000664 0000000 0000000 00000006515 14716276021 0017064 0 ustar 00root root 0000000 0000000 description integrated isis change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 1000 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 red conn route-map rm1 afi-other enable afi-other red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn afi-other enable afi-other red conn both route-map-from rm1 both other-route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis088.tst 0000664 0000000 0000000 00000006412 14716276021 0017061 0 ustar 00root root 0000000 0000000 description integrated isis aggregate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 is-type level2 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both aggregate 4321::/32 afi-other aggregate 2.2.2.0/24 red conn afi-other enable afi-other red conn both route-map-into p6 both other-route-map-into p4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 100 20 2.2.2.13 vrf v1 r1 tping 100 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 100 20 2.2.2.11 vrf v1 r3 tping 100 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis089.tst 0000664 0000000 0000000 00000013463 14716276021 0017066 0 ustar 00root root 0000000 0000000 description integrated isis prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 afi-other enable advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 afi-other advertise 4321::1/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 afi-other enable advertise 4321::2/128 afi-other advertise 2.2.2.2/32 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router isis4 1 vrf v1 net 33.4444.0000.3333.00 afi-other enable advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 afi-other advertise 4321::3/128 route-map rm1 afi-other advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis090.tst 0000664 0000000 0000000 00000007704 14716276021 0017057 0 ustar 00root root 0000000 0000000 description integrated isis with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 1 router isis4 1 bier other-index 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 bier index 3 router isis6 1 bier other-index 4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 5 router isis4 1 bier other-index 6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-isis091.tst 0000664 0000000 0000000 00000007716 14716276021 0017063 0 ustar 00root root 0000000 0000000 description integrated isis inter-level with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 is-type level2 bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 1 router isis4 1 bier other-index 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 is-type both bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 bier index 3 router isis6 1 bier other-index 4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 is-type level1 bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 5 router isis4 1 bier other-index 6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-isis092.tst 0000664 0000000 0000000 00000007723 14716276021 0017062 0 ustar 00root root 0000000 0000000 description integrated isis multi-topology with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 multi-topology bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 1 router isis4 1 bier other-index 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.6666.0000.2222.00 multi-topology bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 3 router isis4 1 bier other-index 4 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 multi-topology bier 256 10 both bier red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 bier index 5 router isis4 1 bier other-index 6 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-isis093.tst 0000664 0000000 0000000 00000006476 14716276021 0017067 0 ustar 00root root 0000000 0000000 description integrated isis change in tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1000 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn route-map rm1 afi-other enable afi-other red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn afi-other enable afi-other red conn both route-map-from rm1 both other-route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis094.tst 0000664 0000000 0000000 00000010350 14716276021 0017052 0 ustar 00root root 0000000 0000000 description integrated isis with php sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 1 router isis4 1 segrout other-index 2 router isis4 1 segrout node router isis4 1 segrout pop exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 segrout index 3 router isis6 1 segrout other-index 4 router isis6 1 segrout node router isis6 1 segrout pop exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:1::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 segrout index 5 router isis4 1 segrout other-index 6 router isis4 1 segrout node router isis4 1 segrout pop exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 access-group-in test4 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 access-group-in test6 mpls enable router isis4 1 ena router isis4 1 other-ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::1 1234 exit ! r1 tping 0 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 4321::2 vrf v1 sou lo1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 tping 0 20 4321::1 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r3 tping 0 20 2.2.2.2 vrf v1 sou lo1 r3 tping 0 20 4321::2 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis095.tst 0000664 0000000 0000000 00000002537 14716276021 0017063 0 ustar 00root root 0000000 0000000 description integrated isis over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis096.tst 0000664 0000000 0000000 00000007073 14716276021 0017064 0 ustar 00root root 0000000 0000000 description integrated isis ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn afi-other enable afi-other red conn afi-other ecmp both spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn afi-other enable afi-other red conn afi-other ecmp both spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router isis6 1 ena router isis6 1 other-ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn afi-other enable afi-other red conn afi-other ecmp both spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis097.tst 0000664 0000000 0000000 00000003522 14716276021 0017060 0 ustar 00root root 0000000 0000000 description asymmetric integrated isis addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router isis4 1 ena router isis4 1 other-ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router isis4 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis098.tst 0000664 0000000 0000000 00000011062 14716276021 0017057 0 ustar 00root root 0000000 0000000 description isis with polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 mpls enable polka enable 1 65536 10 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router isis6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback2 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 traffeng 4.4.4.2 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 mpls enable polka enable 2 65536 10 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 mpls enable polka enable 2 65536 10 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable polka enable 2 65536 10 router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 mpls enable polka enable 3 65536 10 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router isis6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback2 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo2 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo2 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo2 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo2 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis099.tst 0000664 0000000 0000000 00000004310 14716276021 0017056 0 ustar 00root root 0000000 0000000 description isis default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both suppress-pref exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both suppress-pref exit int lo11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo22 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo31 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo32 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo11 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.111 vrf v1 r1 tping 100 20 4321::111 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 0 20 2.2.2.2 vrf v1 r2 tping 0 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.3 vrf v1 r2 tping 0 20 4321::3 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis100.tst 0000664 0000000 0000000 00000003657 14716276021 0017052 0 ustar 00root root 0000000 0000000 description integrated isis default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both suppress-pref both other-suppress-pref afi-other enable exit int lo11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 passive router isis4 1 other-ena exit int lo31 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 passive exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo11 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 passive exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.111 vrf v1 r1 tping 100 20 4321::111 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 0 20 2.2.2.2 vrf v1 r2 tping 0 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.3 vrf v1 r2 tping 0 20 4321::3 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis101.tst 0000664 0000000 0000000 00000004374 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both suppress-pref exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both suppress-pref exit int lo11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 passive router isis4 1 unsuppress exit int lo22 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive router isis6 1 unsuppress exit int lo31 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo32 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo11 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 router isis4 1 ena router isis4 1 passive exit int lo12 vrf for v1 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 passive exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.111 vrf v1 r1 tping 100 20 4321::111 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.3 vrf v1 r2 tping 0 20 4321::3 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis102.tst 0000664 0000000 0000000 00000003751 14716276021 0017047 0 ustar 00root root 0000000 0000000 description integrated isis address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both suppress-pref both other-suppress-pref afi-other enable exit int lo11 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 passive exit int lo21 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 passive router isis4 1 other-ena router isis4 1 unsuppress router isis4 1 other-unsuppress exit int lo31 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis4 1 ena router isis4 1 other-ena router isis4 1 passive exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn afi-other enable afi-other red conn exit int lo11 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 other-ena router isis6 1 passive exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.111 vrf v1 r1 tping 100 20 4321::111 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.3 vrf v1 r2 tping 0 20 4321::3 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis103.tst 0000664 0000000 0000000 00000003163 14716276021 0017045 0 ustar 00root root 0000000 0000000 description isis md5 authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 password tester router isis4 1 authen-type md5 exit int eth1.12 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 password tester router isis6 1 authen-type md5 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 password tester router isis4 1 authen-type md5 exit int eth1.12 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 password tester router isis6 1 authen-type md5 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis104.tst 0000664 0000000 0000000 00000003147 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis lsp md5 authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 both lsp-pass tester both authen-type md5 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 both lsp-pass tester both authen-type md5 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 both lsp-pass tester both authen-type md5 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 both lsp-pass tester both authen-type md5 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis105.tst 0000664 0000000 0000000 00000004463 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis dynamic icmp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 metric 100 exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 metric 100 exit int eth3 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena router isis4 1 metric 1 exit int eth4 vrf for v1 ipv6 addr 1235::1 ffff:: router isis6 1 ena router isis6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ int eth3 eth 0000.0000.2222 $3b$ $3a$ int eth4 eth 0000.0000.2222 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis4 1 ena router isis4 1 metric 2 router isis4 1 dynamic-met mod icm exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 metric 2 router isis6 1 dynamic-met mod icm exit int eth3 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router isis4 1 ena router isis4 1 metric 200 router isis4 1 dynamic-met mod icm exit int eth4 vrf for v1 ipv6 addr 1235::2 ffff:: router isis6 1 ena router isis6 1 metric 200 router isis6 1 dynamic-met mod icm exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis106.tst 0000664 0000000 0000000 00000004516 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis dynamic udp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit server echo e vrf v1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 metric 100 exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 metric 100 exit int eth3 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena router isis4 1 metric 1 exit int eth4 vrf for v1 ipv6 addr 1235::1 ffff:: router isis6 1 ena router isis6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ int eth3 eth 0000.0000.2222 $3b$ $3a$ int eth4 eth 0000.0000.2222 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis4 1 ena router isis4 1 metric 2 router isis4 1 dynamic-met mod udp exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 metric 2 router isis6 1 dynamic-met mod udp exit int eth3 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router isis4 1 ena router isis4 1 metric 200 router isis4 1 dynamic-met mod udp exit int eth4 vrf for v1 ipv6 addr 1235::2 ffff:: router isis6 1 ena router isis6 1 metric 200 router isis6 1 dynamic-met mod udp exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis107.tst 0000664 0000000 0000000 00000004521 14716276021 0017050 0 ustar 00root root 0000000 0000000 description isis dynamic twamp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit server twamp t vrf v1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 metric 100 exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 metric 100 exit int eth3 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 router isis4 1 ena router isis4 1 metric 1 exit int eth4 vrf for v1 ipv6 addr 1235::1 ffff:: router isis6 1 ena router isis6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ int eth3 eth 0000.0000.2222 $3b$ $3a$ int eth4 eth 0000.0000.2222 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis4 1 ena router isis4 1 metric 2 router isis4 1 dynamic-met mod twa exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 metric 2 router isis6 1 dynamic-met mod twa exit int eth3 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router isis4 1 ena router isis4 1 metric 200 router isis4 1 dynamic-met mod twa exit int eth4 vrf for v1 ipv6 addr 1235::2 ffff:: router isis6 1 ena router isis6 1 metric 200 router isis6 1 dynamic-met mod twa exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-isis108.tst 0000664 0000000 0000000 00000011237 14716276021 0017053 0 ustar 00root root 0000000 0000000 description isis with mpolka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 traffeng 4.4.4.1 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 traffeng 6.6.6.1 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 1 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 1 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 mpls enable polka enable 1 65536 10 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router isis6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 , 2.2.2.3 2.2.2.3 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback2 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 , 4321::3 4321::3 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 traffeng 4.4.4.2 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 traffeng 6.6.6.2 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 2 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 2 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 mpls enable polka enable 2 65536 10 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 mpls enable polka enable 2 65536 10 router isis4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable polka enable 2 65536 10 router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 traffeng 4.4.4.3 segrout 10 both segrout red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 traffeng 6.6.6.3 segrout 10 both segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena router isis4 1 segrout index 3 router isis4 1 segrout node exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena router isis6 1 segrout index 3 router isis6 1 segrout node exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 mpls enable polka enable 3 65536 10 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router isis6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback2 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo2 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo2 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo2 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo2 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo2 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-isis109.tst 0000664 0000000 0000000 00000003301 14716276021 0017045 0 ustar 00root root 0000000 0000000 description isis flexalgo addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 segrout 10 both segrout flexalgo 128 v2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 segrout 10 both segrout flexalgo 128 v2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 segrout 10 both segrout flexalgo 128 v2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 segrout 10 both segrout flexalgo 128 v2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 route v2 r2 output show ipv6 route v2 freeRtr-24.11.16/cfg/rout-isis110.tst 0000664 0000000 0000000 00000002712 14716276021 0017042 0 ustar 00root root 0000000 0000000 description integrated isis flexalgo addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn segrout 10 both segrout afi-other enable afi-other red conn flexalgo 128 v2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router isis4 1 ena router isis4 1 other-ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn segrout 10 both segrout afi-other enable afi-other red conn flexalgo 128 v2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 other-ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 route v2 r2 output show ipv6 route v2 freeRtr-24.11.16/cfg/rout-isis111.tst 0000664 0000000 0000000 00000003123 14716276021 0017040 0 ustar 00root root 0000000 0000000 description isis with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 router isis4 1 ena router isis4 1 ipinfo pmtud 512 1024 666 exit int eth2 vrf for v1 ipv6 addr 1234::1 ffff:: router isis6 1 ena router isis6 1 ipinfo pmtud 512 1024 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 router isis4 1 ena router isis4 1 ipinfo pmtud 512 1024 666 exit int eth2 vrf for v1 ipv6 addr 1234::2 ffff:: router isis6 1 ena router isis6 1 ipinfo pmtud 512 1024 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 isis 1 nei r2 output show ipv6 isis 1 nei r2 output show ipv4 isis 1 dat 2 r2 output show ipv6 isis 1 dat 2 r2 output show ipv4 isis 1 tre 2 r2 output show ipv6 isis 1 tre 2 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp01.tst 0000664 0000000 0000000 00000002405 14716276021 0016771 0 ustar 00root root 0000000 0000000 description lsrp point2point connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp02.tst 0000664 0000000 0000000 00000006051 14716276021 0016773 0 ustar 00root root 0000000 0000000 description lsrp point2multipoint connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router lsrp4 1 vrf v1 router 4.4.4.4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp03.tst 0000664 0000000 0000000 00000007160 14716276021 0016776 0 ustar 00root root 0000000 0000000 description lsrp point2point chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-lsrp.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here is the ipv4 tree:
show:4here is the ipv6 tree:
show:5here are the ipv4 routes:
show:6here are the ipv6 routes:
show:7! freeRtr-24.11.16/cfg/rout-lsrp04.tst 0000664 0000000 0000000 00000006364 14716276021 0017004 0 ustar 00root root 0000000 0000000 description lsrp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 exit router lsrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 exit router lsrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp05.tst 0000664 0000000 0000000 00000003324 14716276021 0016776 0 ustar 00root root 0000000 0000000 description lsrp address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 exit router lsrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp4 1 suppress router lsrp6 1 ena router lsrp6 1 passiv router lsrp6 1 suppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 exit router lsrp6 1 vrf v1 router 6.6.6.2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp06.tst 0000664 0000000 0000000 00000004317 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn prefix-list p4 exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn prefix-list p6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp07.tst 0000664 0000000 0000000 00000004421 14716276021 0016777 0 ustar 00root root 0000000 0000000 description lsrp route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router lsrp4 1 vrf v1 router 4.4.4.1 route-map p4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 route-map p6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp08.tst 0000664 0000000 0000000 00000004270 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router lsrp4 1 vrf v1 router 4.4.4.1 route-policy p4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 route-policy p6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp09.tst 0000664 0000000 0000000 00000004503 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny match tag 1234 sequence 20 act perm exit router lsrp4 1 vrf v1 router 4.4.4.2 route-map rm1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 route-map rm1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp10.tst 0000664 0000000 0000000 00000002416 14716276021 0016773 0 ustar 00root root 0000000 0000000 description lsrp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 default exit router lsrp6 1 vrf v1 router 6.6.6.1 default exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp11.tst 0000664 0000000 0000000 00000004611 14716276021 0016773 0 ustar 00root root 0000000 0000000 description lsrp with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd router lsrp4 1 metric 100 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd router lsrp6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd router lsrp4 1 metric 100 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd router lsrp6 1 metric 100 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp12.tst 0000664 0000000 0000000 00000002611 14716276021 0016772 0 ustar 00root root 0000000 0000000 description lsrp authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router lsrp4 1 ena router lsrp4 1 password test ipv6 addr 1234:1::1 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 password test exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router lsrp4 1 ena router lsrp4 1 password test ipv6 addr 1234:1::2 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 password test exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp13.tst 0000664 0000000 0000000 00000003677 14716276021 0017010 0 ustar 00root root 0000000 0000000 description lsrp ssh encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router lsrp4 1 ena router lsrp4 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::1 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router lsrp4 1 ena router lsrp4 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::2 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp14.tst 0000664 0000000 0000000 00000003677 14716276021 0017011 0 ustar 00root root 0000000 0000000 description lsrp tls encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router lsrp4 1 ena router lsrp4 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::1 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router lsrp4 1 ena router lsrp4 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::2 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp15.tst 0000664 0000000 0000000 00000002722 14716276021 0017000 0 ustar 00root root 0000000 0000000 description lsrp peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: temp temp1 exit int temp1 router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp16.tst 0000664 0000000 0000000 00000006125 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp17.tst 0000664 0000000 0000000 00000003375 14716276021 0017007 0 ustar 00root root 0000000 0000000 description lsrp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 exit router lsrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 exit router lsrp6 1 vrf v1 router 6.6.6.2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router lsrp4 1 ena r1 send no router lsrp6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router lsrp4 1 ena r1 send router lsrp6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp18.tst 0000664 0000000 0000000 00000006444 14716276021 0017010 0 ustar 00root root 0000000 0000000 description lsrp change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 1000 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp19.tst 0000664 0000000 0000000 00000006425 14716276021 0017010 0 ustar 00root root 0000000 0000000 description lsrp change in tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1000 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp20.tst 0000664 0000000 0000000 00000004174 14716276021 0016777 0 ustar 00root root 0000000 0000000 description lsrp auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn automesh all exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn automesh all exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 40 9.9.9.2 vrf v1 r1 tping 100 40 9999::2 vrf v1 r2 tping 100 40 9.9.9.1 vrf v1 r2 tping 100 40 9999::1 vrf v1 r1 tping 0 40 2.2.2.2 vrf v1 r1 tping 0 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp21.tst 0000664 0000000 0000000 00000005607 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp22.tst 0000664 0000000 0000000 00000013403 14716276021 0016774 0 ustar 00root root 0000000 0000000 description lsrp prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router lsrp4 1 vrf v1 router 4.4.4.1 advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.1 advertise 4321::1/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 advertise 2.2.2.2/32 exit router lsrp6 1 vrf v1 router 6.6.6.2 advertise 4321::2/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router lsrp4 1 vrf v1 router 4.4.4.3 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router lsrp6 1 vrf v1 router 6.6.6.3 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp23.tst 0000664 0000000 0000000 00000007056 14716276021 0017004 0 ustar 00root root 0000000 0000000 description lsrp with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-lsrp24.tst 0000664 0000000 0000000 00000005115 14716276021 0016777 0 ustar 00root root 0000000 0000000 description lsrp autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute lsrp4 1 2.2.2.2 9.9.8.2 ipv6 autoroute lsrp6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute lsrp4 1 2.2.2.1 9.9.8.1 ipv6 autoroute lsrp6 1 4321::1 9998::1 exit ! r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 tping 0 40 9.9.9.2 vrf v1 r1 tping 0 40 9999::2 vrf v1 r2 tping 0 40 9.9.9.1 vrf v1 r2 tping 0 40 9999::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp25.tst 0000664 0000000 0000000 00000006114 14716276021 0017000 0 ustar 00root root 0000000 0000000 description lsrp stub node addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 stub red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 stub red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 0 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r1 tping 0 40 4321::4 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 0 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 0 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp26.tst 0000664 0000000 0000000 00000006231 14716276021 0017001 0 ustar 00root root 0000000 0000000 description lsrp stub interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 stub router lsrp6 1 ena router lsrp6 1 stub exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 stub router lsrp6 1 ena router lsrp6 1 stub exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 0 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r1 tping 0 40 4321::4 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 0 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 0 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp27.tst 0000664 0000000 0000000 00000006277 14716276021 0017014 0 ustar 00root root 0000000 0000000 description lsrp unstub interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 stub red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 stub red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 unstub router lsrp6 1 ena router lsrp6 1 unstub exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp4 1 unstub router lsrp6 1 ena router lsrp6 1 unstub exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.4 red conn exit router lsrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp28.tst 0000664 0000000 0000000 00000003176 14716276021 0017010 0 ustar 00root root 0000000 0000000 description lsrp default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 suppress justadv lo1 exit router lsrp6 1 vrf v1 router 6.6.6.1 suppress justadv lo1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 exit router lsrp6 1 vrf v1 router 6.6.6.2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp29.tst 0000664 0000000 0000000 00000003262 14716276021 0017005 0 ustar 00root root 0000000 0000000 description lsrp address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 suppress justadv lo1 exit router lsrp6 1 vrf v1 router 6.6.6.1 suppress justadv lo1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp6 1 ena router lsrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp4 1 passiv router lsrp4 1 unsuppress router lsrp6 1 ena router lsrp6 1 passiv router lsrp6 1 unsuppress exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 exit router lsrp6 1 vrf v1 router 6.6.6.2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp30.tst 0000664 0000000 0000000 00000007137 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp with php sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 pop red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 pop red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 pop red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 pop red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 pop red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 pop red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::1 1234 exit ! r1 tping 0 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 0 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 4321::2 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 4321::1 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r3 tping 0 20 4321::2 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp31.tst 0000664 0000000 0000000 00000006220 14716276021 0016773 0 ustar 00root root 0000000 0000000 description lsrp with srgb sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 base 100 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 base 200 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 base 100 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 base 200 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 base 100 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 base 200 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp32.tst 0000664 0000000 0000000 00000002516 14716276021 0017000 0 ustar 00root root 0000000 0000000 description lsrp over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp33.tst 0000664 0000000 0000000 00000006555 14716276021 0017010 0 ustar 00root root 0000000 0000000 description lsrp with selective sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 0 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 0 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 segrou 1 router lsrp6 1 segrou 1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 0 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 0 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 segrou 2 router lsrp6 1 segrou 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 0 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 0 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 segrou 3 router lsrp6 1 segrou 3 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp34.tst 0000664 0000000 0000000 00000007506 14716276021 0017006 0 ustar 00root root 0000000 0000000 description lsrp with selective bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 0 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 0 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 bier 1 3 router lsrp6 1 bier 1 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 0 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 0 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 bier 2 3 router lsrp6 1 bier 2 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 0 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 0 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 bier 3 3 router lsrp6 1 bier 3 3 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router lsrp4 1 ena router lsrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-lsrp35.tst 0000664 0000000 0000000 00000004072 14716276021 0017002 0 ustar 00root root 0000000 0000000 description lsrp peer metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: mpls enable router lsrp4 1 ena router lsrp4 1 metric 1 router lsrp6 1 ena router lsrp6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router lsrp4 1 ena router lsrp4 1 metric 2 router lsrp4 1 accept-met router lsrp6 1 ena router lsrp6 1 metric 2 router lsrp6 1 accept-met exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router lsrp4 1 ena router lsrp4 1 metric 200 router lsrp4 1 accept-met router lsrp6 1 ena router lsrp6 1 metric 200 router lsrp6 1 accept-met exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp36.tst 0000664 0000000 0000000 00000002502 14716276021 0016777 0 ustar 00root root 0000000 0000000 description lsrp point2point connection with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn spf-bidir exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn spf-bidir exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp37.tst 0000664 0000000 0000000 00000006222 14716276021 0017003 0 ustar 00root root 0000000 0000000 description lsrp point2multipoint connection with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn spf-bidir exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn spf-bidir exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn spf-bidir exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router lsrp4 1 vrf v1 router 4.4.4.4 red conn spf-bidir exit router lsrp6 1 vrf v1 router 6.6.6.4 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp38.tst 0000664 0000000 0000000 00000006746 14716276021 0017017 0 ustar 00root root 0000000 0000000 description lsrp ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn spf-ecmp ecmp exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn spf-ecmp ecmp exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn spf-ecmp ecmp exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp39.tst 0000664 0000000 0000000 00000005003 14716276021 0017001 0 ustar 00root root 0000000 0000000 description lsrp with bgp linkstate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.1 justadvert lo1 exit router lsrp6 1 vrf v1 router 6.6.6.1 justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate afi-link lsrp4 1 0 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 linkstate afi-link lsrp6 1 0 justadvert lo2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router lsrp4 1 vrf v1 router 4.4.4.2 justadvert lo1 exit router lsrp6 1 vrf v1 router 6.6.6.2 justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate afi-link lsrp4 1 0 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 linkstate afi-link lsrp6 1 0 justadvert lo2 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.102 vrf v1 r2 tping 100 20 2.2.2.101 vrf v1 r1 tping 100 20 4321::102 vrf v1 r2 tping 100 20 4321::101 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r1 output show ipv4 bgp 1 uni dat r1 output show ipv6 bgp 1 uni dat r1 output show ipv4 bgp 1 links dat r1 output show ipv6 bgp 1 links dat freeRtr-24.11.16/cfg/rout-lsrp40.tst 0000664 0000000 0000000 00000002612 14716276021 0016774 0 ustar 00root root 0000000 0000000 description lsrp no authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router lsrp4 1 ena router lsrp4 1 password test router lsrp4 1 disable-pass ipv6 addr 1234:1::1 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 password test router lsrp6 1 disable-pass exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router lsrp4 1 ena ipv6 addr 1234:1::2 ffff:ffff:: router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp41.tst 0000664 0000000 0000000 00000002552 14716276021 0017000 0 ustar 00root root 0000000 0000000 description lsrp database authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 database-pass test red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 database-pass test red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router lsrp4 1 ena ipv6 addr 1234:1::1 ffff:ffff:: router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 database-pass test red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 database-pass test red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router lsrp4 1 ena ipv6 addr 1234:1::2 ffff:ffff:: router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp42.tst 0000664 0000000 0000000 00000004672 14716276021 0017006 0 ustar 00root root 0000000 0000000 description lsrp with strict bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd strict ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd strict exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd strict router lsrp4 1 metric 100 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd strict router lsrp6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd strict ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd strict exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router lsrp4 1 ena router lsrp4 1 bfd router lsrp4 1 metric 100 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router lsrp6 1 ena router lsrp6 1 bfd router lsrp6 1 metric 100 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp43.tst 0000664 0000000 0000000 00000006546 14716276021 0017011 0 ustar 00root root 0000000 0000000 description lsrp with polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp44.tst 0000664 0000000 0000000 00000003715 14716276021 0017005 0 ustar 00root root 0000000 0000000 description lsrp dynamic inband metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 1 router lsrp6 1 ena router lsrp6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 2 router lsrp4 1 dynamic-met mod inb router lsrp6 1 ena router lsrp6 1 metric 2 router lsrp6 1 dynamic-met mod inb exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 200 router lsrp4 1 dynamic-met mod inb router lsrp6 1 ena router lsrp6 1 metric 200 router lsrp6 1 dynamic-met mod inb exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp45.tst 0000664 0000000 0000000 00000003713 14716276021 0017004 0 ustar 00root root 0000000 0000000 description lsrp dynamic icmp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 1 router lsrp6 1 ena router lsrp6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 2 router lsrp4 1 dynamic-met mod icm router lsrp6 1 ena router lsrp6 1 metric 2 router lsrp6 1 dynamic-met mod icm exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 200 router lsrp4 1 dynamic-met mod icm router lsrp6 1 ena router lsrp6 1 metric 200 router lsrp6 1 dynamic-met mod icm exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp46.tst 0000664 0000000 0000000 00000003746 14716276021 0017013 0 ustar 00root root 0000000 0000000 description lsrp dynamic udp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server echo e vrf v1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 1 router lsrp6 1 ena router lsrp6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 2 router lsrp4 1 dynamic-met mod udp router lsrp6 1 ena router lsrp6 1 metric 2 router lsrp6 1 dynamic-met mod udp exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 200 router lsrp4 1 dynamic-met mod udp router lsrp6 1 ena router lsrp6 1 metric 200 router lsrp6 1 dynamic-met mod udp exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp47.tst 0000664 0000000 0000000 00000003751 14716276021 0017010 0 ustar 00root root 0000000 0000000 description lsrp dynamic twamp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server twamp t vrf v1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 100 router lsrp6 1 ena router lsrp6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router lsrp4 1 ena router lsrp4 1 metric 1 router lsrp6 1 ena router lsrp6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 2 router lsrp4 1 dynamic-met mod twa router lsrp6 1 ena router lsrp6 1 metric 2 router lsrp6 1 dynamic-met mod twa exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router lsrp4 1 ena router lsrp4 1 metric 200 router lsrp4 1 dynamic-met mod twa router lsrp6 1 ena router lsrp6 1 metric 200 router lsrp6 1 dynamic-met mod twa exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-lsrp48.tst 0000664 0000000 0000000 00000006723 14716276021 0017013 0 ustar 00root root 0000000 0000000 description lsrp with mpolka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable polka enable 1 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 , 2.2.2.3 2.2.2.3 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 , 4321::3 4321::3 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable polka enable 2 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable polka enable 3 65536 10 router lsrp4 1 ena router lsrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-lsrp49.tst 0000664 0000000 0000000 00000002647 14716276021 0017015 0 ustar 00root root 0000000 0000000 description lsrp flexalgo addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 flexalgo 128 v2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 flexalgo 128 v2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 flexalgo 128 v2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 flexalgo 128 v2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 route v2 r2 output show ipv6 route v2 freeRtr-24.11.16/cfg/rout-lsrp50.tst 0000664 0000000 0000000 00000002641 14716276021 0016777 0 ustar 00root root 0000000 0000000 description lsrp with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 ipinfo pmtud 512 1024 666 router lsrp6 1 ipinfo pmtud 512 1024 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router lsrp4 1 ena router lsrp6 1 ena router lsrp4 1 ipinfo pmtud 512 1024 666 router lsrp6 1 ipinfo pmtud 512 1024 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 lsrp 1 nei r2 output show ipv6 lsrp 1 nei r2 output show ipv4 lsrp 1 dat r2 output show ipv6 lsrp 1 dat r2 output show ipv4 lsrp 1 tre r2 output show ipv6 lsrp 1 tre r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-mcast01.tst 0000664 0000000 0000000 00000005007 14716276021 0017121 0 ustar 00root root 0000000 0000000 description multicast routing with static flooding addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.1.1 ipv6 multi static ff06::1 1234:1::1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.1.1 ipv6 multi static ff06::1 1234:1::1 exit int eth3 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.1.1 ipv6 multi static ff06::1 1234:1::1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 route v1 :: :: 1234:3::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 mroute v1 :: :: 1234:3::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.9 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:3::1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.9 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:3::1 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r1 tping 200 5 232.2.2.2 vrf v1 sou eth1 multi r1 tping 200 5 ff06::1 vrf v1 sou eth1 multi r2 output show ipv4 mroute v1 r2 output show ipv6 mroute v1 output ../binTmp/rout-mcast.html here is the ipv4 route:
show:0here is the ipv6 route:
show:1! freeRtr-24.11.16/cfg/rout-mcast02.tst 0000664 0000000 0000000 00000004236 14716276021 0017125 0 ustar 00root root 0000000 0000000 description multicast routing with pim ssm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth3 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 route v1 :: :: 1234:3::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 mroute v1 :: :: 1234:3::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.9 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:3::1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.9 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:3::1 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r1 tping 200 5 232.2.2.2 vrf v1 sou eth1 multi r1 tping 200 5 ff06::1 vrf v1 sou eth1 multi freeRtr-24.11.16/cfg/rout-mcast03.tst 0000664 0000000 0000000 00000004757 14716276021 0017136 0 ustar 00root root 0000000 0000000 description multicast routing with igmp/mld addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit int eth3 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 route v1 :: :: 1234:3::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 mroute v1 :: :: 1234:3::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.9 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:3::1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.9 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:3::1 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r1 tping 200 5 232.2.2.2 vrf v1 sou eth1 multi r1 tping 200 5 ff06::1 vrf v1 sou eth1 multi freeRtr-24.11.16/cfg/rout-mcast04.tst 0000664 0000000 0000000 00000004577 14716276021 0017137 0 ustar 00root root 0000000 0000000 description multicast routing with mldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int eth3 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 route v1 :: :: 1234:3::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 mroute v1 :: :: 1234:3::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.9 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:3::1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.9 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:3::1 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r1 tping 200 5 232.2.2.2 vrf v1 sou eth1 multi r1 tping 200 5 ff06::1 vrf v1 sou eth1 multi freeRtr-24.11.16/cfg/rout-mcast05.tst 0000664 0000000 0000000 00000007750 14716276021 0017134 0 ustar 00root root 0000000 0000000 description multicast between pim and mldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.10 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 ipv4 multi mldp mpls ldp6 ipv6 multi mldp exit int eth2 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.9 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.14 ipv6 route v1 :: :: 1234:4::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.14 ipv6 mroute v1 :: :: 1234:4::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 2.2.2.1 vrf v1 r1 tping 100 60 4321::1 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r5 tping 100 60 2.2.2.3 vrf v1 r5 tping 100 60 4321::3 vrf v1 r5 tping 100 60 2.2.2.1 vrf v1 r5 tping 100 60 4321::1 vrf v1 r1 tping 100 60 1.1.1.13 vrf v1 r1 tping 100 60 1234:4::1 vrf v1 r5 tping 100 60 1.1.1.1 vrf v1 r5 tping 100 60 1234:1::1 vrf v1 r1 tping 100 10 232.2.2.2 vrf v1 sou eth1 r1 tping 100 10 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast06.tst 0000664 0000000 0000000 00000012264 14716276021 0017131 0 ustar 00root root 0000000 0000000 description multicast vpn routing with mldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.5 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.4 remote-as 1 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::4 remote-as 1 neigh 4321::4 update lo0 neigh 4321::4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth3 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.10 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.14 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.9 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 router bgp4 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ipv4 multi v2 join 232.2.2.2 3.3.3.1 ipv6 multi v2 join ff06::1 3333::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.13 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 router bgp4 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ipv4 multi v2 join 232.2.2.2 3.3.3.1 ipv6 multi v2 join ff06::1 3333::1 ! r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.3 vrf v2 r1 tping 100 60 3333::3 vrf v2 r1 tping 100 60 3.3.3.4 vrf v2 r1 tping 100 60 3333::4 vrf v2 r3 tping 100 60 3.3.3.1 vrf v2 r3 tping 100 60 3333::1 vrf v2 r4 tping 100 60 3.3.3.1 vrf v2 r4 tping 100 60 3333::1 vrf v2 r1 tping 200 10 232.2.2.2 vrf v2 sou lo1 multi r1 tping 200 10 ff06::1 vrf v2 sou lo1 multi freeRtr-24.11.16/cfg/rout-mcast07.tst 0000664 0000000 0000000 00000010654 14716276021 0017133 0 ustar 00root root 0000000 0000000 description multicast vpn between pim and mldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.10 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.9 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 router bgp4 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.14 ipv6 route v1 :: :: 1234:4::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.14 ipv6 mroute v1 :: :: 1234:4::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3333::1 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r5 tping 100 60 3.3.3.3 vrf v1 r5 tping 100 60 3333::3 vrf v1 r5 tping 100 60 3.3.3.1 vrf v1 r5 tping 100 60 3333::1 vrf v1 r1 tping 100 60 1.1.1.13 vrf v1 r1 tping 100 60 1234:4::1 vrf v1 r5 tping 100 60 1.1.1.1 vrf v1 r5 tping 100 60 1234:1::1 vrf v1 r1 tping 100 10 232.2.2.2 vrf v1 sou eth1 r1 tping 100 10 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast08.tst 0000664 0000000 0000000 00000012437 14716276021 0017135 0 ustar 00root root 0000000 0000000 description multicast othervpn routing with mldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.5 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both neigh 2.2.2.4 remote-as 1 neigh 2.2.2.4 update lo0 neigh 2.2.2.4 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both neigh 4321::4 remote-as 1 neigh 4321::4 update lo0 neigh 4321::4 send-comm both exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth3 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.10 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ipv4 route v1 2.2.2.4 255.255.255.255 1.1.1.14 ipv6 route v1 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.9 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 router bgp4 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both exit ipv4 multi v2 join 232.2.2.2 3.3.3.1 ipv6 multi v2 join ff06::1 3333::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.4 255.255.255.255 ipv6 addr 3333::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.13 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:4::1 router bgp4 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both exit ipv4 multi v2 join 232.2.2.2 3.3.3.1 ipv6 multi v2 join ff06::1 3333::1 ! r1 tping 100 60 2.2.2.3 vrf v1 sou lo0 r1 tping 100 60 4321::3 vrf v1 sou lo0 r1 tping 100 60 2.2.2.4 vrf v1 sou lo0 r1 tping 100 60 4321::4 vrf v1 sou lo0 r3 tping 100 60 2.2.2.1 vrf v1 sou lo0 r3 tping 100 60 4321::1 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.3 vrf v2 r1 tping 100 60 3333::3 vrf v2 r1 tping 100 60 3.3.3.4 vrf v2 r1 tping 100 60 3333::4 vrf v2 r3 tping 100 60 3.3.3.1 vrf v2 r3 tping 100 60 3333::1 vrf v2 r4 tping 100 60 3.3.3.1 vrf v2 r4 tping 100 60 3333::1 vrf v2 r1 tping 200 10 232.2.2.2 vrf v2 sou lo1 multi r1 tping 200 10 ff06::1 vrf v2 sou lo1 multi freeRtr-24.11.16/cfg/rout-mcast09.tst 0000664 0000000 0000000 00000010765 14716276021 0017140 0 ustar 00root root 0000000 0000000 description multicast othervpn between pim and mldp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.1 255.255.255.255 ipv6 addr 3333::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.5 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 router bgp4 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 4.4.4.1 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo0 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 6.6.6.1 neigh 4321::3 remote-as 1 neigh 4321::3 update lo0 neigh 4321::3 send-comm both exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.6 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.10 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::2 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 mdt4 mdt6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v2 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: mpls ena mpls ldp4 mpls ldp6 exit int eth2 vrf for v2 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 2.2.2.1 255.255.255.255 1.1.1.9 ipv6 route v1 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::1 router bgp4 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 4.4.4.3 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo0 neigh 2.2.2.1 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni vpnmlt ovpnuni ovpnmlt local-as 1 router-id 6.6.6.3 neigh 4321::1 remote-as 1 neigh 4321::1 update lo0 neigh 4321::1 send-comm both exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.14 ipv6 route v1 :: :: 1234:4::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.14 ipv6 mroute v1 :: :: 1234:4::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 60 2.2.2.3 vrf v1 sou lo0 r2 tping 100 60 4321::3 vrf v1 sou lo0 r4 tping 100 60 2.2.2.1 vrf v1 sou lo0 r4 tping 100 60 4321::1 vrf v1 sou lo0 r1 tping 100 60 3.3.3.1 vrf v1 r1 tping 100 60 3333::1 vrf v1 r1 tping 100 60 3.3.3.3 vrf v1 r1 tping 100 60 3333::3 vrf v1 r5 tping 100 60 3.3.3.3 vrf v1 r5 tping 100 60 3333::3 vrf v1 r5 tping 100 60 3.3.3.1 vrf v1 r5 tping 100 60 3333::1 vrf v1 r1 tping 100 60 1.1.1.13 vrf v1 r1 tping 100 60 1234:4::1 vrf v1 r5 tping 100 60 1.1.1.1 vrf v1 r5 tping 100 60 1234:1::1 vrf v1 r1 tping 100 10 232.2.2.2 vrf v1 sou eth1 r1 tping 100 10 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast10.tst 0000664 0000000 0000000 00000003253 14716276021 0017122 0 ustar 00root root 0000000 0000000 description multicast routing ttl treshold addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.1.1 ipv6 multi static ff06::1 1234:1::1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 multi static 232.2.2.2 1.1.1.1 ipv6 multi static ff06::1 1234:1::1 ipv4 multi ttl 123 ipv6 multi ttl 123 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 232.2.2.2 vrf v1 sou eth1 ttl 150 r1 tping 100 5 ff06::1 vrf v1 sou eth1 ttl 150 r1 tping 0 5 232.2.2.2 vrf v1 sou eth1 ttl 50 r1 tping 0 5 ff06::1 vrf v1 sou eth1 ttl 50 r1 tping 100 5 232.2.2.2 vrf v1 sou eth1 ttl 150 r1 tping 100 5 ff06::1 vrf v1 sou eth1 ttl 150 freeRtr-24.11.16/cfg/rout-mcast11.tst 0000664 0000000 0000000 00000003446 14716276021 0017127 0 ustar 00root root 0000000 0000000 description multicast routing decoupled from unicast addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ int eth3 eth 0000.0000.2222 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.10 ipv6 mroute v1 :: :: 1234:3::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.9 vrf v1 r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:3::1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r1 tping 100 5 1.1.1.9 vrf v1 r1 tping 100 5 1234:3::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 232.2.2.2 vrf v1 sou eth1 r1 tping 100 5 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast12.tst 0000664 0000000 0000000 00000003633 14716276021 0017126 0 ustar 00root root 0000000 0000000 description multicast routing with pim join source addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r2 tping 100 5 1.1.1.5 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234:2::1 vrf v1 r2 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 232.2.2.2 vrf v1 sou eth1 r1 tping 100 5 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast13.tst 0000664 0000000 0000000 00000016316 14716276021 0017131 0 ustar 00root root 0000000 0000000 description multicast routing with pim over bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 1 ipv6 pim bier 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 1 ipv6 pim bier 1 exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 1 neigh 2.2.2.4 update lo1 neigh 2.2.2.5 remote-as 1 neigh 2.2.2.5 update lo1 red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 neigh 4321::4 remote-as 1 neigh 4321::4 update lo1 neigh 4321::5 remote-as 1 neigh 4321::5 update lo1 red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ int eth3 eth 0000.0000.3333 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit int eth3 vrf for v1 ipv4 addr 1.1.4.3 255.255.255.0 ipv6 addr 1237::3 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 4 ipv6 pim bier 4 exit int lo2 vrf for v1 ipv4 addr 2.2.2.14 255.255.255.255 ipv6 addr 4321::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 4 ipv6 pim bier 4 exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn exit ipv4 multi v1 join 232.2.2.2 2.2.2.1 ipv6 multi v1 join ff06::1 4321::1 ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.5 bier 256 10 5 exit router lsrp6 1 vrf v1 router 6.6.6.5 bier 256 10 5 exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 5 ipv6 pim bier 5 exit int lo2 vrf for v1 ipv4 addr 2.2.2.15 255.255.255.255 ipv6 addr 4321::15 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.4.5 255.255.255.0 ipv6 addr 1237::5 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 5 ipv6 pim bier 5 exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.5 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.5 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn exit ipv4 multi v1 join 232.2.2.2 2.2.2.1 ipv6 multi v1 join ff06::1 4321::1 ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r1 tping 100 20 2.2.2.5 vrf v1 sou lo1 r1 tping 100 20 4321::5 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.5 vrf v1 sou lo1 r2 tping 100 20 4321::5 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.5 vrf v1 sou lo1 r3 tping 100 20 4321::5 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r4 tping 100 20 2.2.2.5 vrf v1 sou lo1 r4 tping 100 20 4321::5 vrf v1 sou lo1 r5 tping 100 20 2.2.2.1 vrf v1 sou lo1 r5 tping 100 20 4321::1 vrf v1 sou lo1 r5 tping 100 20 2.2.2.2 vrf v1 sou lo1 r5 tping 100 20 4321::2 vrf v1 sou lo1 r5 tping 100 20 2.2.2.3 vrf v1 sou lo1 r5 tping 100 20 4321::3 vrf v1 sou lo1 r5 tping 100 20 2.2.2.4 vrf v1 sou lo1 r5 tping 100 20 4321::4 vrf v1 sou lo1 r1 tping 100 20 2.2.2.14 vrf v1 sou lo2 r1 tping 100 20 4321::14 vrf v1 sou lo2 r1 tping 100 20 2.2.2.15 vrf v1 sou lo2 r1 tping 100 20 4321::15 vrf v1 sou lo2 r4 tping 100 20 2.2.2.11 vrf v1 sou lo2 r4 tping 100 20 4321::11 vrf v1 sou lo2 r5 tping 100 20 2.2.2.11 vrf v1 sou lo2 r5 tping 100 20 4321::11 vrf v1 sou lo2 r1 tping 200 10 232.2.2.2 vrf v1 sou lo1 multi r1 tping 200 10 ff06::1 vrf v1 sou lo1 multi freeRtr-24.11.16/cfg/rout-mcast14.tst 0000664 0000000 0000000 00000014317 14716276021 0017131 0 ustar 00root root 0000000 0000000 description multicast between pim and pim over bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 1 ipv6 pim bier 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 1 ipv6 pim bier 1 exit int eth2 vrf for v1 ipv4 addr 4.4.4.2 255.255.255.252 ipv6 addr 4444::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.1 neigh 2.2.2.4 remote-as 1 neigh 2.2.2.4 update lo1 red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.1 neigh 4321::4 remote-as 1 neigh 4321::4 update lo1 red conn red stat exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.3.3 255.255.255.0 ipv6 addr 1236::3 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ int eth2 eth 0000.0000.4444 $5a$ $5b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router lsrp4 1 vrf v1 router 4.4.4.4 bier 256 10 4 exit router lsrp6 1 vrf v1 router 6.6.6.4 bier 256 10 4 exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 4 ipv6 pim bier 4 exit int lo2 vrf for v1 ipv4 addr 2.2.2.14 255.255.255.255 ipv6 addr 4321::14 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.3.4 255.255.255.0 ipv6 addr 1236::4 ffff:: mpls enable mpls ldp4 mpls ldp6 router lsrp4 1 ena router lsrp6 1 ena ipv4 pim ena ipv6 pim ena ipv4 pim join lo1 ipv6 pim join lo1 ipv4 pim bier 4 ipv6 pim bier 4 exit int eth2 vrf for v1 ipv4 addr 5.5.5.2 255.255.255.252 ipv6 addr 5555::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit router bgp4 1 vrf v1 address uni multi local-as 1 router-id 4.4.4.4 neigh 2.2.2.1 remote-as 1 neigh 2.2.2.1 update lo1 red conn red stat exit router bgp6 1 vrf v1 address uni multi local-as 1 router-id 6.6.6.4 neigh 4321::1 remote-as 1 neigh 4321::1 update lo1 red conn red stat exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 4.4.4.1 255.255.255.252 ipv6 addr 4444::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 4.4.4.2 ipv6 route v1 :: :: 4444::2 ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 5.5.5.1 255.255.255.252 ipv6 addr 5555::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 5.5.5.2 ipv6 route v1 :: :: 5555::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 5.5.5.2 ipv6 mroute v1 :: :: 5555::2 ipv4 multi v1 join 232.2.2.2 4.4.4.1 ipv6 multi v1 join ff06::1 4444::1 ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.4 vrf v1 sou lo1 r1 tping 100 20 4321::4 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.4 vrf v1 sou lo1 r2 tping 100 20 4321::4 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r3 tping 100 20 2.2.2.4 vrf v1 sou lo1 r3 tping 100 20 4321::4 vrf v1 sou lo1 r4 tping 100 20 2.2.2.1 vrf v1 sou lo1 r4 tping 100 20 4321::1 vrf v1 sou lo1 r4 tping 100 20 2.2.2.2 vrf v1 sou lo1 r4 tping 100 20 4321::2 vrf v1 sou lo1 r4 tping 100 20 2.2.2.3 vrf v1 sou lo1 r4 tping 100 20 4321::3 vrf v1 sou lo1 r1 tping 100 20 2.2.2.14 vrf v1 sou lo2 r1 tping 100 20 4321::14 vrf v1 sou lo2 r4 tping 100 20 2.2.2.11 vrf v1 sou lo2 r4 tping 100 20 4321::11 vrf v1 sou lo2 r5 tping 100 20 2.2.2.11 vrf v1 sou eth1 r5 tping 100 20 4321::11 vrf v1 sou eth1 r5 tping 100 20 2.2.2.14 vrf v1 sou eth1 r5 tping 100 20 4321::14 vrf v1 sou eth1 r6 tping 100 20 2.2.2.11 vrf v1 sou eth1 r6 tping 100 20 4321::11 vrf v1 sou eth1 r6 tping 100 20 2.2.2.14 vrf v1 sou eth1 r6 tping 100 20 4321::14 vrf v1 sou eth1 r5 tping 100 10 232.2.2.2 vrf v1 sou eth1 r5 tping 100 10 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast15.tst 0000664 0000000 0000000 00000003150 14716276021 0017123 0 ustar 00root root 0000000 0000000 description multicast routing with pim snooping addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! bridge 1 mac-learn block-unicast block-multicast exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 pim ena ipv6 pim ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 232.2.2.2 vrf v1 sou eth1 r1 tping 100 5 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-mcast16.tst 0000664 0000000 0000000 00000003443 14716276021 0017131 0 ustar 00root root 0000000 0000000 description multicast routing with igmp/mld snooping addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 multi host-ena ipv6 multi host-ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! bridge 1 mac-learn block-unicast block-multicast exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 multi host-ena ipv4 multi host-pro ipv6 multi host-ena ipv6 multi host-pro exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ipv4 mroute v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 mroute v1 :: :: 1234:2::2 ipv4 multi v1 join 232.2.2.2 1.1.1.1 ipv6 multi v1 join ff06::1 1234:1::1 ! r3 tping 100 5 1.1.1.5 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234:2::1 vrf v1 r3 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 1.1.1.5 vrf v1 r1 tping 100 5 1234:2::1 vrf v1 r4 tping 100 5 1.1.1.1 vrf v1 r4 tping 100 5 1234:1::1 vrf v1 r1 tping 100 5 232.2.2.2 vrf v1 sou eth1 r1 tping 100 5 ff06::1 vrf v1 sou eth1 freeRtr-24.11.16/cfg/rout-olsr01.tst 0000664 0000000 0000000 00000005436 14716276021 0016777 0 ustar 00root root 0000000 0000000 description olsr on one subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 2.2.2.4 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 4321::4 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 2.2.2.4 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r2 tping 100 130 4321::4 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 2.2.2.4 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r3 tping 100 130 4321::4 vrf v1 r4 tping 100 130 2.2.2.1 vrf v1 r4 tping 100 130 2.2.2.2 vrf v1 r4 tping 100 130 2.2.2.3 vrf v1 r4 tping 100 130 4321::1 vrf v1 r4 tping 100 130 4321::2 vrf v1 r4 tping 100 130 4321::3 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr02.tst 0000664 0000000 0000000 00000006544 14716276021 0017001 0 ustar 00root root 0000000 0000000 description olsr in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 2.2.2.4 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 4321::4 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 2.2.2.4 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r2 tping 100 130 4321::4 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 2.2.2.4 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r3 tping 100 130 4321::4 vrf v1 r4 tping 100 130 2.2.2.1 vrf v1 r4 tping 100 130 2.2.2.2 vrf v1 r4 tping 100 130 2.2.2.3 vrf v1 r4 tping 100 130 4321::1 vrf v1 r4 tping 100 130 4321::2 vrf v1 r4 tping 100 130 4321::3 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-olsr.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-olsr03.tst 0000664 0000000 0000000 00000004211 14716276021 0016767 0 ustar 00root root 0000000 0000000 description olsr ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 prefix-list-in p4 router olsr6 1 prefix-list-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr04.tst 0000664 0000000 0000000 00000004212 14716276021 0016771 0 ustar 00root root 0000000 0000000 description olsr egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 prefix-list-out p4 router olsr6 1 prefix-list-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr05.tst 0000664 0000000 0000000 00000004313 14716276021 0016774 0 ustar 00root root 0000000 0000000 description olsr ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-in p4 router olsr6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr06.tst 0000664 0000000 0000000 00000004314 14716276021 0016776 0 ustar 00root root 0000000 0000000 description olsr egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-out p4 router olsr6 1 route-map-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr07.tst 0000664 0000000 0000000 00000004162 14716276021 0017000 0 ustar 00root root 0000000 0000000 description olsr ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-policy-in p4 router olsr6 1 route-policy-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr08.tst 0000664 0000000 0000000 00000004163 14716276021 0017002 0 ustar 00root root 0000000 0000000 description olsr egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-policy-out p4 router olsr6 1 route-policy-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr09.tst 0000664 0000000 0000000 00000004406 14716276021 0017003 0 ustar 00root root 0000000 0000000 description olsr max metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 set metric +200 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-in rm1 router olsr6 1 route-map-in rm1 router olsr4 1 route-map-out rm1 router olsr6 1 route-map-out rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-in rm1 router olsr6 1 route-map-in rm1 router olsr4 1 route-map-out rm1 router olsr6 1 route-map-out rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 0 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 4321::3 vrf v1 r3 tping 0 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 0 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr10.tst 0000664 0000000 0000000 00000004052 14716276021 0016770 0 ustar 00root root 0000000 0000000 description olsr address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena router olsr4 1 suppress-prefix router olsr6 1 suppress-prefix exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr11.tst 0000664 0000000 0000000 00000003664 14716276021 0017001 0 ustar 00root root 0000000 0000000 description olsr default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 default-originate router olsr6 1 default-originate exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr12.tst 0000664 0000000 0000000 00000005712 14716276021 0016776 0 ustar 00root root 0000000 0000000 description olsr incoming interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 metric-in 200 router olsr6 1 metric-in 200 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr13.tst 0000664 0000000 0000000 00000005714 14716276021 0017001 0 ustar 00root root 0000000 0000000 description olsr outgoing interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 metric-out 200 router olsr6 1 metric-out 200 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr14.tst 0000664 0000000 0000000 00000005771 14716276021 0017005 0 ustar 00root root 0000000 0000000 description olsr incoming metric with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 set metric +200 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-in rm1 router olsr6 1 route-map-in rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr15.tst 0000664 0000000 0000000 00000005773 14716276021 0017010 0 ustar 00root root 0000000 0000000 description olsr outgoing metric with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit route-map rm1 set metric +200 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-out rm1 router olsr6 1 route-map-out rm1 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr16.tst 0000664 0000000 0000000 00000006013 14716276021 0016775 0 ustar 00root root 0000000 0000000 description olsr incoming metric with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy rm1 set metric +200 pass exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-policy-in rm1 router olsr6 1 route-policy-in rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr17.tst 0000664 0000000 0000000 00000006015 14716276021 0017000 0 ustar 00root root 0000000 0000000 description olsr outgoing metric with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit route-policy rm1 set metric +200 pass exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-policy-out rm1 router olsr6 1 route-policy-out rm1 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr18.tst 0000664 0000000 0000000 00000004413 14716276021 0017001 0 ustar 00root root 0000000 0000000 description olsr with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router olsr4 1 ena router olsr4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router olsr6 1 ena router olsr6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router olsr4 1 ena router olsr4 1 bfd router olsr4 1 dista 150 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router olsr6 1 ena router olsr6 1 bfd router olsr6 1 dista 150 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router olsr4 1 ena router olsr4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router olsr6 1 ena router olsr6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router olsr4 1 ena router olsr4 1 bfd router olsr4 1 dista 150 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router olsr6 1 ena router olsr6 1 bfd router olsr6 1 dista 150 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr19.tst 0000664 0000000 0000000 00000002553 14716276021 0017005 0 ustar 00root root 0000000 0000000 description olsr peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: temp temp1 exit int temp1 router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr20.tst 0000664 0000000 0000000 00000003212 14716276021 0016766 0 ustar 00root root 0000000 0000000 description olsr prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r1 send conf t r1 send int lo0 r1 send no router olsr4 1 ena r1 send no router olsr6 1 ena r1 send end r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r1 send conf t r1 send int lo0 r1 send router olsr4 1 ena r1 send router olsr6 1 ena r1 send end r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr21.tst 0000664 0000000 0000000 00000004340 14716276021 0016772 0 ustar 00root root 0000000 0000000 description olsr aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-in p4 router olsr6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 aggregate 2.2.2.0/24 red conn exit router olsr6 1 vrf v1 aggregate 4321::/32 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr22.tst 0000664 0000000 0000000 00000004006 14716276021 0016772 0 ustar 00root root 0000000 0000000 description olsr auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router olsr4 1 vrf v1 red conn automesh all exit router olsr6 1 vrf v1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router olsr4 1 ena router olsr6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router olsr4 1 vrf v1 red conn automesh all exit router olsr6 1 vrf v1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router olsr4 1 ena router olsr6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 130 9.9.9.2 vrf v1 r1 tping 100 130 9999::2 vrf v1 r2 tping 100 130 9.9.9.1 vrf v1 r2 tping 100 130 9999::1 vrf v1 r1 tping 0 130 2.2.2.2 vrf v1 r1 tping 0 130 4321::2 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr23.tst 0000664 0000000 0000000 00000005365 14716276021 0017004 0 ustar 00root root 0000000 0000000 description olsr triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 metric-in 200 router olsr6 1 metric-in 200 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 metric-in 200 router olsr6 1 metric-in 200 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr24.tst 0000664 0000000 0000000 00000004733 14716276021 0017003 0 ustar 00root root 0000000 0000000 description olsr autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router olsr4 1 ena router olsr6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute olsr4 1 2.2.2.2 9.9.8.2 ipv6 autoroute olsr6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router olsr4 1 ena router olsr6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute olsr4 1 2.2.2.1 9.9.8.1 ipv6 autoroute olsr6 1 4321::1 9998::1 exit ! r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r1 tping 0 130 9.9.9.2 vrf v1 r1 tping 0 130 9999::2 vrf v1 r2 tping 0 130 9.9.9.1 vrf v1 r2 tping 0 130 9999::1 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr25.tst 0000664 0000000 0000000 00000002402 14716276021 0016773 0 ustar 00root root 0000000 0000000 description olsr over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 exit router olsr6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr26.tst 0000664 0000000 0000000 00000006414 14716276021 0017003 0 ustar 00root root 0000000 0000000 description olsr ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn ecmp exit router olsr6 1 vrf v1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn ecmp exit router olsr6 1 vrf v1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn ecmp exit router olsr6 1 vrf v1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr27.tst 0000664 0000000 0000000 00000003776 14716276021 0017014 0 ustar 00root root 0000000 0000000 description olsr default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 suppress exit router olsr6 1 vrf v1 suppress exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 0 130 2.2.2.21 vrf v1 r2 tping 0 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr28.tst 0000664 0000000 0000000 00000004062 14716276021 0017002 0 ustar 00root root 0000000 0000000 description olsr address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 suppress exit router olsr6 1 vrf v1 suppress exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena router olsr4 1 unsuppress router olsr6 1 unsuppress exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router olsr4 1 ena router olsr6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 0 130 2.2.2.21 vrf v1 r2 tping 0 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-olsr29.tst 0000664 0000000 0000000 00000005431 14716276021 0017004 0 ustar 00root root 0000000 0000000 description olsr auto summarization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena router olsr4 1 route-map-in p4 router olsr6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 autosumm red conn exit router olsr6 1 vrf v1 autosumm red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router olsr4 1 ena router olsr6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 olsr 1 sum r2 output show ipv6 olsr 1 sum r2 output show ipv4 olsr 1 dat r2 output show ipv6 olsr 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf01.tst 0000664 0000000 0000000 00000002475 14716276021 0016767 0 ustar 00root root 0000000 0000000 description ospf point2point connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf02.tst 0000664 0000000 0000000 00000007061 14716276021 0016764 0 ustar 00root root 0000000 0000000 description ospf point2multipoint connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 resend-packet ipv6 resend-packet router ospf4 1 ena router ospf4 1 net point2multi router ospf6 1 ena router ospf6 1 net point2multi exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 resend-packet ipv6 resend-packet router ospf4 1 ena router ospf4 1 net point2multi router ospf6 1 ena router ospf6 1 net point2multi exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: ipv4 resend-packet ipv6 resend-packet router ospf4 1 ena router ospf4 1 net point2multi router ospf6 1 ena router ospf6 1 net point2multi exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: ipv4 resend-packet ipv6 resend-packet router ospf4 1 ena router ospf4 1 net point2multi router ospf6 1 ena router ospf6 1 net point2multi exit ! r1 tping 100 80 2.2.2.2 vrf v1 r1 tping 100 80 2.2.2.3 vrf v1 r1 tping 100 80 2.2.2.4 vrf v1 r1 tping 100 80 4321::2 vrf v1 r1 tping 100 80 4321::3 vrf v1 r1 tping 100 80 4321::4 vrf v1 r2 tping 100 80 2.2.2.1 vrf v1 r2 tping 100 80 2.2.2.3 vrf v1 r2 tping 100 80 2.2.2.4 vrf v1 r2 tping 100 80 4321::1 vrf v1 r2 tping 100 80 4321::3 vrf v1 r2 tping 100 80 4321::4 vrf v1 r3 tping 100 80 2.2.2.1 vrf v1 r3 tping 100 80 2.2.2.2 vrf v1 r3 tping 100 80 2.2.2.4 vrf v1 r3 tping 100 80 4321::1 vrf v1 r3 tping 100 80 4321::2 vrf v1 r3 tping 100 80 4321::4 vrf v1 r4 tping 100 80 2.2.2.1 vrf v1 r4 tping 100 80 2.2.2.2 vrf v1 r4 tping 100 80 2.2.2.3 vrf v1 r4 tping 100 80 4321::1 vrf v1 r4 tping 100 80 4321::2 vrf v1 r4 tping 100 80 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf03.tst 0000664 0000000 0000000 00000007152 14716276021 0016766 0 ustar 00root root 0000000 0000000 description ospf point2multipoint nonbroadcast connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf4 1 net point2non router ospf6 1 ena router ospf6 1 net point2non exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf4 1 net point2non router ospf6 1 ena router ospf6 1 net point2non exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router ospf4 1 ena router ospf4 1 net point2non router ospf6 1 ena router ospf6 1 net point2non exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router ospf4 1 ena router ospf4 1 net point2non router ospf6 1 ena router ospf6 1 net point2non ipv4 resend-packet ipv6 resend-packet router ospf4 1 neigh 1.1.1.1 router ospf4 1 neigh 1.1.1.2 router ospf4 1 neigh 1.1.1.3 router ospf6 1 neigh 1234::1 router ospf6 1 neigh 1234::2 router ospf6 1 neigh 1234::3 exit ! r1 tping 100 80 2.2.2.2 vrf v1 r1 tping 100 80 2.2.2.3 vrf v1 r1 tping 100 80 2.2.2.4 vrf v1 r1 tping 100 80 4321::2 vrf v1 r1 tping 100 80 4321::3 vrf v1 r1 tping 100 80 4321::4 vrf v1 r2 tping 100 80 2.2.2.1 vrf v1 r2 tping 100 80 2.2.2.3 vrf v1 r2 tping 100 80 2.2.2.4 vrf v1 r2 tping 100 80 4321::1 vrf v1 r2 tping 100 80 4321::3 vrf v1 r2 tping 100 80 4321::4 vrf v1 r3 tping 100 80 2.2.2.1 vrf v1 r3 tping 100 80 2.2.2.2 vrf v1 r3 tping 100 80 2.2.2.4 vrf v1 r3 tping 100 80 4321::1 vrf v1 r3 tping 100 80 4321::2 vrf v1 r3 tping 100 80 4321::4 vrf v1 r4 tping 100 80 2.2.2.1 vrf v1 r4 tping 100 80 2.2.2.2 vrf v1 r4 tping 100 80 2.2.2.3 vrf v1 r4 tping 100 80 4321::1 vrf v1 r4 tping 100 80 4321::2 vrf v1 r4 tping 100 80 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf04.tst 0000664 0000000 0000000 00000006610 14716276021 0016765 0 ustar 00root root 0000000 0000000 description ospf broadcast connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf05.tst 0000664 0000000 0000000 00000007177 14716276021 0016777 0 ustar 00root root 0000000 0000000 description ospf nonbroadcast connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf4 1 net nonbroad router ospf6 1 ena router ospf6 1 net nonbroad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf4 1 net nonbroad router ospf6 1 ena router ospf6 1 net nonbroad exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router ospf4 1 ena router ospf4 1 net nonbroad router ospf6 1 ena router ospf6 1 net nonbroad exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router ospf4 1 ena router ospf4 1 net nonbroad router ospf6 1 ena router ospf6 1 net nonbroad ipv4 resend-packet ipv6 resend-packet router ospf4 1 prio 1 router ospf6 1 prio 1 router ospf4 1 neigh 1.1.1.1 router ospf4 1 neigh 1.1.1.2 router ospf4 1 neigh 1.1.1.3 router ospf6 1 neigh 1234::1 router ospf6 1 neigh 1234::2 router ospf6 1 neigh 1234::3 exit ! r1 tping 100 80 2.2.2.2 vrf v1 r1 tping 100 80 2.2.2.3 vrf v1 r1 tping 100 80 2.2.2.4 vrf v1 r1 tping 100 80 4321::2 vrf v1 r1 tping 100 80 4321::3 vrf v1 r1 tping 100 80 4321::4 vrf v1 r2 tping 100 80 2.2.2.1 vrf v1 r2 tping 100 80 2.2.2.3 vrf v1 r2 tping 100 80 2.2.2.4 vrf v1 r2 tping 100 80 4321::1 vrf v1 r2 tping 100 80 4321::3 vrf v1 r2 tping 100 80 4321::4 vrf v1 r3 tping 100 80 2.2.2.1 vrf v1 r3 tping 100 80 2.2.2.2 vrf v1 r3 tping 100 80 2.2.2.4 vrf v1 r3 tping 100 80 4321::1 vrf v1 r3 tping 100 80 4321::2 vrf v1 r3 tping 100 80 4321::4 vrf v1 r4 tping 100 80 2.2.2.1 vrf v1 r4 tping 100 80 2.2.2.2 vrf v1 r4 tping 100 80 2.2.2.3 vrf v1 r4 tping 100 80 4321::1 vrf v1 r4 tping 100 80 4321::2 vrf v1 r4 tping 100 80 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf06.tst 0000664 0000000 0000000 00000007330 14716276021 0016767 0 ustar 00root root 0000000 0000000 description ospf point2point chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-ospf.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here is the ipv4 tree:
show:4here is the ipv6 tree:
show:5here are the ipv4 routes:
show:6here are the ipv6 routes:
show:7! freeRtr-24.11.16/cfg/rout-ospf07.tst 0000664 0000000 0000000 00000007200 14716276021 0016764 0 ustar 00root root 0000000 0000000 description ospf broadcast chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf08.tst 0000664 0000000 0000000 00000005202 14716276021 0016765 0 ustar 00root root 0000000 0000000 description ospf stub area addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena area 1 stub red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena area 1 stub red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena area 1 stub red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena area 1 stub red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.33 255.255.255.255 ipv6 addr 4321::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.33 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r1 tping 100 40 4321::33 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.33 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 tping 100 40 4321::33 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf09.tst 0000664 0000000 0000000 00000005212 14716276021 0016767 0 ustar 00root root 0000000 0000000 description ospf nssa area addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena area 1 nssa red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena area 1 nssa red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena area 1 nssa red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena area 1 nssa red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.33 255.255.255.255 ipv6 addr 4321::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.33 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::33 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.33 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::33 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf10.tst 0000664 0000000 0000000 00000005131 14716276021 0016757 0 ustar 00root root 0000000 0000000 description ospf transit area addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.33 255.255.255.255 ipv6 addr 4321::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.33 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::33 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.33 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::33 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf11.tst 0000664 0000000 0000000 00000006513 14716276021 0016765 0 ustar 00root root 0000000 0000000 description ospf intra area metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf12.tst 0000664 0000000 0000000 00000006630 14716276021 0016766 0 ustar 00root root 0000000 0000000 description ospf intra area vs inter area addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena area 1 ena exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena area 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf4 1 passiv router ospf6 1 ena router ospf6 1 area 1 router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf13.tst 0000664 0000000 0000000 00000006376 14716276021 0016776 0 ustar 00root root 0000000 0000000 description ospf inter area vs external addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena area 1 ena exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena area 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 passiv router ospf6 1 area 1 exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf14.tst 0000664 0000000 0000000 00000006441 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf external1 vs external2 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set origin 111 exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn route-map rm1 prefix p4 exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn route-map rm1 prefix p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf15.tst 0000664 0000000 0000000 00000006553 14716276021 0016775 0 ustar 00root root 0000000 0000000 description ospf external1 metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set origin 111 set metric 200 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn route-map rm1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set origin 111 exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn route-map rm1 prefix p4 exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn route-map rm1 prefix p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf16.tst 0000664 0000000 0000000 00000006432 14716276021 0016772 0 ustar 00root root 0000000 0000000 description ospf external2 metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 50 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn route-map rm1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.222/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::222/128 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn prefix p4 exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn prefix p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf17.tst 0000664 0000000 0000000 00000003414 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf4 1 suppress router ospf6 1 ena router ospf6 1 passiv router ospf6 1 suppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf18.tst 0000664 0000000 0000000 00000002616 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf text authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 password tester router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 password tester router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf19.tst 0000664 0000000 0000000 00000006454 14716276021 0017001 0 ustar 00root root 0000000 0000000 description ospf inter area ingress filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn area 0 prefix-list-from p4 area 1 prefix-list-from p4 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn area 0 prefix-list-from p6 area 1 prefix-list-from p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 0 40 2.2.2.13 vrf v1 r1 tping 0 40 4321::13 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 0 40 2.2.2.13 vrf v1 r2 tping 0 40 4321::13 vrf v1 r3 tping 0 40 2.2.2.11 vrf v1 r3 tping 0 40 4321::11 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf20.tst 0000664 0000000 0000000 00000006552 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf inter area ingress filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn area 0 route-map-from p4 area 1 route-map-from p4 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn area 0 route-map-from p6 area 1 route-map-from p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 0 40 2.2.2.13 vrf v1 r1 tping 0 40 4321::13 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 0 40 2.2.2.13 vrf v1 r2 tping 0 40 4321::13 vrf v1 r3 tping 0 40 2.2.2.11 vrf v1 r3 tping 0 40 4321::11 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf21.tst 0000664 0000000 0000000 00000006453 14716276021 0016771 0 ustar 00root root 0000000 0000000 description ospf inter area egress filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn area 0 prefix-list-into p4 area 1 prefix-list-into p4 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn area 0 prefix-list-into p6 area 1 prefix-list-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf22.tst 0000664 0000000 0000000 00000006551 14716276021 0016771 0 ustar 00root root 0000000 0000000 description ospf inter area egress filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn area 0 route-map-into p4 area 1 route-map-into p4 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn area 0 route-map-into p6 area 1 route-map-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf23.tst 0000664 0000000 0000000 00000006427 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf inter area ingress filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn area 0 route-policy-from p4 area 1 route-policy-from p4 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn area 0 route-policy-from p6 area 1 route-policy-from p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 0 40 2.2.2.13 vrf v1 r1 tping 0 40 4321::13 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 0 40 2.2.2.13 vrf v1 r2 tping 0 40 4321::13 vrf v1 r3 tping 0 40 2.2.2.11 vrf v1 r3 tping 0 40 4321::11 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf24.tst 0000664 0000000 0000000 00000006426 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf inter area egress filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 1 ena red conn area 0 route-policy-into p4 area 1 route-policy-into p4 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 1 ena red conn area 0 route-policy-into p6 area 1 route-policy-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 0 20 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf25.tst 0000664 0000000 0000000 00000002524 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena area 0 default exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena area 0 default exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf26.tst 0000664 0000000 0000000 00000004665 14716276021 0017001 0 ustar 00root root 0000000 0000000 description ospf with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router ospf4 1 ena router ospf4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router ospf6 1 ena router ospf6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router ospf4 1 ena router ospf4 1 bfd router ospf4 1 cost 10 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router ospf6 1 ena router ospf6 1 bfd router ospf6 1 cost 10 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router ospf4 1 ena router ospf4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router ospf6 1 ena router ospf6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router ospf4 1 ena router ospf4 1 bfd router ospf4 1 cost 10 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router ospf6 1 ena router ospf6 1 bfd router ospf6 1 cost 10 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf27.tst 0000664 0000000 0000000 00000002702 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf with te addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 traffeng 4.4.4.1 area 0 ena area 0 traff red conn exit router ospf6 1 vrf v1 router 6.6.6.1 traffeng 6.6.6.1 area 0 ena area 0 traff red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router ospf4 1 ena ipv6 addr 1234:1::1 ffff:ffff:: router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 traffeng 4.4.4.2 area 0 ena area 0 traff red conn exit router ospf6 1 vrf v1 router 6.6.6.2 traffeng 6.6.6.2 area 0 ena area 0 traff red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router ospf4 1 ena ipv6 addr 1234:1::2 ffff:ffff:: router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf28.tst 0000664 0000000 0000000 00000003012 14716276021 0016764 0 ustar 00root root 0000000 0000000 description ospf peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: temp temp1 exit int temp1 router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf29.tst 0000664 0000000 0000000 00000007406 14716276021 0017000 0 ustar 00root root 0000000 0000000 description ospf with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 1 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 1 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 2 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 2 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.3 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.3 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 3 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 3 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-ospf30.tst 0000664 0000000 0000000 00000007571 14716276021 0016773 0 ustar 00root root 0000000 0000000 description ospf transit area with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 1 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 1 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 segrout 10 area 0 ena area 0 segrout area 1 ena area 1 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 segrout 10 area 0 ena area 0 segrout area 1 ena area 1 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 2 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 2 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.3 segrout 10 area 1 ena area 1 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.3 segrout 10 area 1 ena area 1 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 3 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 3 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-ospf31.tst 0000664 0000000 0000000 00000003465 14716276021 0016772 0 ustar 00root root 0000000 0000000 description ospf prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router ospf4 1 ena r1 send no router ospf6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router ospf4 1 ena r1 send router ospf6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf32.tst 0000664 0000000 0000000 00000006614 14716276021 0016772 0 ustar 00root root 0000000 0000000 description ospf change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 1000 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn route-map rm1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn area 0 route-map-from rm1 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn area 0 route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf33.tst 0000664 0000000 0000000 00000006575 14716276021 0017001 0 ustar 00root root 0000000 0000000 description ospf change in tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1000 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn route-map rm1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn area 0 route-map-from rm1 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn area 0 route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf34.tst 0000664 0000000 0000000 00000006574 14716276021 0017001 0 ustar 00root root 0000000 0000000 description ospf aggregate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.2 aggregate 2.2.2.0/24 area 0 ena area 1 ena red conn area 0 route-map-into p4 area 1 route-map-into p4 exit router ospf6 1 vrf v1 router 6.6.6.2 aggregate 4321::/32 area 0 ena area 1 ena red conn area 0 route-map-into p6 area 1 route-map-into p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 0 20 4321::13 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 4321::13 vrf v1 r3 tping 100 20 2.2.2.11 vrf v1 r3 tping 100 20 4321::11 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 4321::12 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf35.tst 0000664 0000000 0000000 00000004264 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn automesh all exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router ospf4 1 ena router ospf6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn automesh all exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router ospf4 1 ena router ospf6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 20 9.9.9.2 vrf v1 r1 tping 100 20 9999::2 vrf v1 r2 tping 100 20 9.9.9.1 vrf v1 r2 tping 100 20 9999::1 vrf v1 r1 tping 0 20 2.2.2.2 vrf v1 r1 tping 0 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf36.tst 0000664 0000000 0000000 00000005717 14716276021 0017001 0 ustar 00root root 0000000 0000000 description ospf triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf37.tst 0000664 0000000 0000000 00000013523 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena advertise 4321::1/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena advertise 2.2.2.2/32 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena advertise 4321::2/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf38.tst 0000664 0000000 0000000 00000007776 14716276021 0017012 0 ustar 00root root 0000000 0000000 description ospf with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 bier 256 10 area 0 ena area 0 bier red conn exit router ospf6 1 vrf v1 router 6.6.6.1 bier 256 10 area 0 ena area 0 bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 bier index 1 router ospf6 1 ena router ospf6 1 bier index 1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 bier 256 10 area 0 ena area 0 bier red conn exit router ospf6 1 vrf v1 router 6.6.6.2 bier 256 10 area 0 ena area 0 bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 bier index 2 router ospf6 1 ena router ospf6 1 bier index 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.3 bier 256 10 area 0 ena area 0 bier red conn exit router ospf6 1 vrf v1 router 6.6.6.3 bier 256 10 area 0 ena area 0 bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 bier index 3 router ospf6 1 ena router ospf6 1 bier index 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 40 2.2.2.3 vrf v1 sou lo1 r3 tping 0 40 2.2.2.1 vrf v1 sou lo1 r1 tping 0 40 4321::3 vrf v1 sou lo1 r3 tping 0 40 4321::1 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r1 tping 100 40 4321::1112 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r3 tping 100 40 4321::1111 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-ospf39.tst 0000664 0000000 0000000 00000010153 14716276021 0016772 0 ustar 00root root 0000000 0000000 description ospf transit area with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 bier 256 10 area 0 ena area 0 bier red conn exit router ospf6 1 vrf v1 router 6.6.6.1 bier 256 10 area 0 ena area 0 bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 bier index 1 router ospf6 1 ena router ospf6 1 bier index 1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 bier 256 10 area 0 ena area 0 bier area 1 ena area 1 bier red conn exit router ospf6 1 vrf v1 router 6.6.6.2 bier 256 10 area 0 ena area 0 bier area 1 ena area 1 bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 bier index 2 router ospf6 1 ena router ospf6 1 bier index 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.3 bier 256 10 area 1 ena area 1 bier red conn exit router ospf6 1 vrf v1 router 6.6.6.3 bier 256 10 area 1 ena area 1 bier red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 bier index 3 router ospf6 1 ena router ospf6 1 bier index 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 40 2.2.2.3 vrf v1 sou lo1 r3 tping 0 40 2.2.2.1 vrf v1 sou lo1 r1 tping 0 40 4321::3 vrf v1 sou lo1 r3 tping 0 40 4321::1 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r1 tping 100 40 4321::1112 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r3 tping 100 40 4321::1111 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 bier v1 r2 output show ipv6 bier v1 freeRtr-24.11.16/cfg/rout-ospf40.tst 0000664 0000000 0000000 00000005205 14716276021 0016764 0 ustar 00root root 0000000 0000000 description ospf autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router ospf4 1 ena router ospf6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute ospf4 1 2.2.2.2 9.9.8.2 ipv6 autoroute ospf6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router ospf4 1 ena router ospf6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute ospf4 1 2.2.2.1 9.9.8.1 ipv6 autoroute ospf6 1 4321::1 9998::1 exit ! r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 tping 0 40 9.9.9.2 vrf v1 r1 tping 0 40 9999::2 vrf v1 r2 tping 0 40 9.9.9.1 vrf v1 r2 tping 0 40 9999::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf41.tst 0000664 0000000 0000000 00000010640 14716276021 0016764 0 ustar 00root root 0000000 0000000 description ospf with php sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 1 router ospf4 1 segrout node router ospf4 1 segrout pop router ospf6 1 ena router ospf6 1 segrout index 1 router ospf6 1 segrout node router ospf6 1 segrout pop exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 2 router ospf4 1 segrout node router ospf4 1 segrout pop router ospf6 1 ena router ospf6 1 segrout index 2 router ospf6 1 segrout node router ospf6 1 segrout pop exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.3 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.3 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 3 router ospf4 1 segrout node router ospf4 1 segrout pop router ospf6 1 ena router ospf6 1 segrout index 3 router ospf6 1 segrout node router ospf6 1 segrout pop exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::1 1234 exit ! r1 tping 0 40 2.2.2.2 vrf v1 sou lo1 r1 tping 0 40 2.2.2.3 vrf v1 sou lo1 r1 tping 0 40 4321::2 vrf v1 sou lo1 r1 tping 0 40 4321::3 vrf v1 sou lo1 r2 tping 0 40 2.2.2.1 vrf v1 sou lo1 r2 tping 0 40 2.2.2.3 vrf v1 sou lo1 r2 tping 0 40 4321::1 vrf v1 sou lo1 r2 tping 0 40 4321::3 vrf v1 sou lo1 r3 tping 0 40 2.2.2.1 vrf v1 sou lo1 r3 tping 0 40 2.2.2.2 vrf v1 sou lo1 r3 tping 0 40 4321::1 vrf v1 sou lo1 r3 tping 0 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-ospf42.tst 0000664 0000000 0000000 00000007501 14716276021 0016767 0 ustar 00root root 0000000 0000000 description ospf with srgb sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.1 segrout 10 base 100 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 segrout 10 base 200 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 1 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 1 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.2 segrout 10 base 100 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 segrout 10 base 200 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 2 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 2 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router ospf4 1 vrf v1 router 4.4.4.3 segrout 10 base 100 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.3 segrout 10 base 200 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 3 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 3 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-ospf43.tst 0000664 0000000 0000000 00000002606 14716276021 0016771 0 ustar 00root root 0000000 0000000 description ospf over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf44.tst 0000664 0000000 0000000 00000007207 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf multi area addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 1 ena area 2 ena exit router ospf6 1 vrf v1 router 6.6.6.1 area 1 ena area 2 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 2 router ospf6 1 ena router ospf6 1 area 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 router ospf6 1 ena router ospf6 1 area 1 2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 1 ena area 2 ena exit router ospf6 1 vrf v1 router 6.6.6.2 area 1 ena area 2 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 2 router ospf6 1 ena router ospf6 1 area 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 router ospf6 1 ena router ospf6 1 area 1 2 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 router ospf6 1 ena router ospf6 1 area 1 2 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena area 2 ena exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena area 2 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.33 255.255.255.255 ipv6 addr 4321::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 2 router ospf6 1 ena router ospf6 1 area 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 router ospf6 1 ena router ospf6 1 area 1 2 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.33 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::33 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.33 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::33 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::22 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf45.tst 0000664 0000000 0000000 00000007272 14716276021 0016777 0 ustar 00root root 0000000 0000000 description ospf asymmetric multi area addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 1 ena area 2 ena exit router ospf6 1 vrf v1 router 6.6.6.1 area 1 ena area 2 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 2 router ospf6 1 ena router ospf6 1 area 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 router ospf6 1 ena router ospf6 1 area 1 2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 1 ena area 2 ena area 3 ena exit router ospf6 1 vrf v1 router 6.6.6.2 area 1 ena area 2 ena area 3 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 2 3 router ospf6 1 ena router ospf6 1 area 1 2 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 3 router ospf6 1 ena router ospf6 1 area 1 2 3 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 2 3 router ospf6 1 ena router ospf6 1 area 1 2 3 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 1 ena area 3 ena exit router ospf6 1 vrf v1 router 6.6.6.3 area 1 ena area 3 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 1 router ospf6 1 ena router ospf6 1 area 1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.33 255.255.255.255 ipv6 addr 4321::33 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 area 3 router ospf6 1 ena router ospf6 1 area 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 area 1 3 router ospf6 1 ena router ospf6 1 area 1 3 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.33 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::33 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.33 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::33 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::22 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf46.tst 0000664 0000000 0000000 00000006541 14716276021 0016776 0 ustar 00root root 0000000 0000000 description ospf point2point chain with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf47.tst 0000664 0000000 0000000 00000007441 14716276021 0016777 0 ustar 00root root 0000000 0000000 description ospf broadcast chain with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf6 1 ena router ospf6 1 net broad exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.4 area 0 ena area 0 spf-bidir red conn exit router ospf6 1 vrf v1 router 6.6.6.4 area 0 ena area 0 spf-bidir red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 net broad router ospf4 1 prio 1 router ospf6 1 ena router ospf6 1 net broad router ospf6 1 prio 1 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf48.tst 0000664 0000000 0000000 00000007140 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn area 0 spf-ecmp ecmp exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn area 0 spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn area 0 spf-ecmp ecmp exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn area 0 spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn area 0 spf-ecmp ecmp exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn area 0 spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf49.tst 0000664 0000000 0000000 00000005100 14716276021 0016767 0 ustar 00root root 0000000 0000000 description ospf with bgp linkstate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena justadvert lo1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate afi-link ospf4 1 0 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 linkstate afi-link ospf6 1 0 justadvert lo2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena justadvert lo1 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate afi-link ospf4 1 0 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 linkstate afi-link ospf6 1 0 justadvert lo2 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 tping 100 20 2.2.2.102 vrf v1 r2 tping 100 20 2.2.2.101 vrf v1 r1 tping 100 20 4321::102 vrf v1 r2 tping 100 20 4321::101 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r1 output show ipv4 bgp 1 uni dat r1 output show ipv6 bgp 1 uni dat r1 output show ipv4 bgp 1 links dat r1 output show ipv6 bgp 1 links dat freeRtr-24.11.16/cfg/rout-ospf50.tst 0000664 0000000 0000000 00000010027 14716276021 0016763 0 ustar 00root root 0000000 0000000 description ospf with polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 1 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 1 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router ospf4 1 ena router ospf6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 2 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 2 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable polka enable 2 65536 10 router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.3 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 3 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 3 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router ospf4 1 ena router ospf6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-ospf51.tst 0000664 0000000 0000000 00000004020 14716276021 0016760 0 ustar 00root root 0000000 0000000 description ospf default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena area 0 suppress exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena area 0 suppress exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.111 vrf v1 r1 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf52.tst 0000664 0000000 0000000 00000004104 14716276021 0016764 0 ustar 00root root 0000000 0000000 description ospf address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena area 0 suppress exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena area 0 suppress exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf4 1 unsuppress router ospf6 1 ena router ospf6 1 passiv router ospf6 1 unsuppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 passiv router ospf6 1 ena router ospf6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.111 vrf v1 r1 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf53.tst 0000664 0000000 0000000 00000005406 14716276021 0016773 0 ustar 00root root 0000000 0000000 description ospf maximum metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 20 2.2.2.2 vrf v1 r2 send conf t r2 send router ospf4 1 r2 send area 0 max-met r2 send end r2 send conf t r2 send router ospf6 1 r2 send area 0 max-met r2 send end r2 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf54.tst 0000664 0000000 0000000 00000003011 14716276021 0016762 0 ustar 00root root 0000000 0000000 description ospf md5 authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router ospf4 1 ena router ospf4 1 password tester router ospf4 1 authen-id 123 router ospf4 1 authen-type md5 router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router ospf4 1 ena router ospf4 1 password tester router ospf4 1 authen-id 123 router ospf4 1 authen-type md5 router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf55.tst 0000664 0000000 0000000 00000003761 14716276021 0016777 0 ustar 00root root 0000000 0000000 description ospf dynamic icmp cost addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router ospf4 1 ena router ospf4 1 cost 1 router ospf6 1 ena router ospf6 1 cost 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf4 1 cost 2 router ospf4 1 dynamic-met mod icm router ospf6 1 ena router ospf6 1 cost 2 router ospf6 1 dynamic-met mod icm exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router ospf4 1 ena router ospf4 1 cost 200 router ospf4 1 dynamic-met mod icm router ospf6 1 ena router ospf6 1 cost 200 router ospf6 1 dynamic-met mod icm exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf56.tst 0000664 0000000 0000000 00000004014 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf dynamic udp cost addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server echo e vrf v1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router ospf4 1 ena router ospf4 1 cost 1 router ospf6 1 ena router ospf6 1 cost 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf4 1 cost 2 router ospf4 1 dynamic-met mod udp router ospf6 1 ena router ospf6 1 cost 2 router ospf6 1 dynamic-met mod udp exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router ospf4 1 ena router ospf4 1 cost 200 router ospf4 1 dynamic-met mod udp router ospf6 1 ena router ospf6 1 cost 200 router ospf6 1 dynamic-met mod udp exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf57.tst 0000664 0000000 0000000 00000004017 14716276021 0016774 0 ustar 00root root 0000000 0000000 description ospf dynamic twamp cost addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server twamp t vrf v1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf4 1 cost 100 router ospf6 1 ena router ospf6 1 cost 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router ospf4 1 ena router ospf4 1 cost 1 router ospf6 1 ena router ospf6 1 cost 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf4 1 cost 2 router ospf4 1 dynamic-met mod twa router ospf6 1 ena router ospf6 1 cost 2 router ospf6 1 dynamic-met mod twa exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router ospf4 1 ena router ospf4 1 cost 200 router ospf4 1 dynamic-met mod twa router ospf6 1 ena router ospf6 1 cost 200 router ospf6 1 dynamic-met mod twa exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-ospf58.tst 0000664 0000000 0000000 00000010204 14716276021 0016770 0 ustar 00root root 0000000 0000000 description ospf with mpolka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 1 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 1 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: mpls enable polka enable 1 65536 10 router ospf4 1 ena router ospf6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 2.2.2.3 , 2.2.2.3 2.2.2.3 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 4321::3 , 4321::3 4321::3 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 2 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 2 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: mpls enable polka enable 2 65536 10 router ospf4 1 ena router ospf6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable polka enable 2 65536 10 router ospf4 1 ena router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 segrout 10 area 0 ena area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.3 segrout 10 area 0 ena area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router ospf4 1 ena router ospf4 1 segrout index 3 router ospf4 1 segrout node router ospf6 1 ena router ospf6 1 segrout index 3 router ospf6 1 segrout node exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable polka enable 3 65536 10 router ospf4 1 ena router ospf6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 2.2.2.1 , 2.2.2.1 2.2.2.1 tunnel mode mpolka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 4321::1 , 4321::1 4321::1 tunnel mode mpolka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 segrou v1 r2 output show ipv6 segrou v1 freeRtr-24.11.16/cfg/rout-ospf59.tst 0000664 0000000 0000000 00000003117 14716276021 0016776 0 ustar 00root root 0000000 0000000 description ospf flexalgo addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 flexalgo 128 v2 area 0 ena segrout 10 area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.1 flexalgo 128 v2 area 0 ena segrout 10 area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 flexalgo 128 v2 area 0 ena segrout 10 area 0 segrout red conn exit router ospf6 1 vrf v1 router 6.6.6.2 flexalgo 128 v2 area 0 ena segrout 10 area 0 segrout red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 r2 output show ipv4 route v2 r2 output show ipv6 route v2 freeRtr-24.11.16/cfg/rout-ospf60.tst 0000664 0000000 0000000 00000002731 14716276021 0016767 0 ustar 00root root 0000000 0000000 description ospf with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router ospf4 1 ena router ospf6 1 ena router ospf4 1 ipinfo pmtud 512 1024 666 router ospf6 1 ipinfo pmtud 512 1024 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router ospf4 1 ena router ospf6 1 ena router ospf4 1 ipinfo pmtud 512 1024 666 router ospf6 1 ipinfo pmtud 512 1024 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 ospf 1 nei r2 output show ipv6 ospf 1 nei r2 output show ipv4 ospf 1 dat 0 r2 output show ipv6 ospf 1 dat 0 r2 output show ipv4 ospf 1 tre 0 r2 output show ipv6 ospf 1 tre 0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pbr01.tst 0000664 0000000 0000000 00000005306 14716276021 0016577 0 ustar 00root root 0000000 0000000 description policy routing with nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 next 1.1.1.2 ipv6 pbr v1 a2b6 v1 next 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 next 1.1.1.5 ipv6 pbr v1 a2b6 v1 next 1234:2::1 ipv4 pbr v1 b2a4 v1 next 1.1.1.1 ipv6 pbr v1 b2a6 v1 next 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 b2a4 v1 next 1.1.1.6 ipv6 pbr v1 b2a6 v1 next 1234:2::2 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 r1 tping 0 5 4321::201 vrf v1 r3 tping 0 5 2.2.2.101 vrf v1 r3 tping 0 5 4321::101 vrf v1 r2 output show ipv4 pbr v1 r2 output show ipv6 pbr v1 output ../binTmp/rout-pbr.html here are the ipv4 forwarding:
show:0here are the ipv6 forwarding:
show:1! freeRtr-24.11.16/cfg/rout-pbr02.tst 0000664 0000000 0000000 00000005024 14716276021 0016575 0 ustar 00root root 0000000 0000000 description policy routing with interface and nexthop between vrfs addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 int eth1 next 1.1.1.2 ipv6 pbr v1 a2b6 v1 int eth1 next 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v2 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v2 int eth2 next 1.1.1.5 ipv6 pbr v1 a2b6 v2 int eth2 next 1234:2::1 ipv4 pbr v2 b2a4 v1 int eth1 next 1.1.1.1 ipv6 pbr v2 b2a6 v1 int eth1 next 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 b2a4 v1 int eth1 next 1.1.1.6 ipv6 pbr v1 b2a6 v1 int eth1 next 1234:2::2 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 r1 tping 0 5 4321::201 vrf v1 r3 tping 0 5 2.2.2.101 vrf v1 r3 tping 0 5 4321::101 vrf v1 freeRtr-24.11.16/cfg/rout-pbr03.tst 0000664 0000000 0000000 00000004756 14716276021 0016611 0 ustar 00root root 0000000 0000000 description policy routing with interface and nexthop addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 int eth1 next 1.1.1.2 ipv6 pbr v1 a2b6 v1 int eth1 next 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 int eth2 next 1.1.1.5 ipv6 pbr v1 a2b6 v1 int eth2 next 1234:2::1 ipv4 pbr v1 b2a4 v1 int eth1 next 1.1.1.1 ipv6 pbr v1 b2a6 v1 int eth1 next 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 b2a4 v1 int eth1 next 1.1.1.6 ipv6 pbr v1 b2a6 v1 int eth1 next 1234:2::2 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 r1 tping 0 5 4321::201 vrf v1 r3 tping 0 5 2.2.2.101 vrf v1 r3 tping 0 5 4321::101 vrf v1 freeRtr-24.11.16/cfg/rout-pbr04.tst 0000664 0000000 0000000 00000005236 14716276021 0016604 0 ustar 00root root 0000000 0000000 description policy routing between vrfs with routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 int eth1 next 1.1.1.2 ipv6 pbr v1 a2b6 v1 int eth1 next 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v2 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v2 2.2.2.201 255.255.255.255 1.1.1.5 ipv6 route v2 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v2 ipv6 pbr v1 a2b6 v2 ipv4 pbr v2 b2a4 v1 ipv6 pbr v2 b2a6 v1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 b2a4 v1 int eth1 next 1.1.1.6 ipv6 pbr v1 b2a6 v1 int eth1 next 1234:2::2 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 r1 tping 0 5 4321::201 vrf v1 r3 tping 0 5 2.2.2.101 vrf v1 r3 tping 0 5 4321::101 vrf v1 freeRtr-24.11.16/cfg/rout-pbr05.tst 0000664 0000000 0000000 00000004635 14716276021 0016607 0 ustar 00root root 0000000 0000000 description policy routing with nexthop on interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 next 1.1.1.2 ipv6 pbr v1 a2b6 v1 next 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pbr a2b4 v1 next 1.1.1.5 ipv6 pbr a2b6 v1 next 1234:2::1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 pbr b2a4 v1 next 1.1.1.1 ipv6 pbr b2a6 v1 next 1234:1::1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 b2a4 v1 next 1.1.1.6 ipv6 pbr v1 b2a6 v1 next 1234:2::2 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 r1 tping 0 5 4321::201 vrf v1 r3 tping 0 5 2.2.2.101 vrf v1 r3 tping 0 5 4321::101 vrf v1 freeRtr-24.11.16/cfg/rout-pbr06.tst 0000664 0000000 0000000 00000004703 14716276021 0016604 0 ustar 00root root 0000000 0000000 description policy routing with nexthop on interface between vrfs addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 a2b4 v1 next 1.1.1.2 ipv6 pbr v1 a2b6 v1 next 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit access-list a2b4 permit all 2.2.2.101 255.255.255.255 all 2.2.2.201 255.255.255.255 all exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list a2b6 permit all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 pbr a2b4 v2 next 1.1.1.5 ipv6 pbr a2b6 v2 next 1234:2::1 exit int eth2 vrf for v2 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 pbr b2a4 v1 next 1.1.1.1 ipv6 pbr b2a6 v1 next 1234:1::1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit access-list b2a4 permit all 2.2.2.201 255.255.255.255 all 2.2.2.101 255.255.255.255 all exit access-list b2a6 permit all 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff all exit ipv4 pbr v1 b2a4 v1 next 1.1.1.6 ipv6 pbr v1 b2a6 v1 next 1234:2::2 ! r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 0 5 2.2.2.201 vrf v1 r1 tping 0 5 4321::201 vrf v1 r3 tping 0 5 2.2.2.101 vrf v1 r3 tping 0 5 4321::101 vrf v1 freeRtr-24.11.16/cfg/rout-pvrp01.tst 0000664 0000000 0000000 00000002307 14716276021 0017001 0 ustar 00root root 0000000 0000000 description pvrp point2point connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp02.tst 0000664 0000000 0000000 00000005753 14716276021 0017012 0 ustar 00root root 0000000 0000000 description pvrp point2multipoint connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit bridge 1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit bridge 1 exit router pvrp4 1 vrf v1 router 4.4.4.4 red conn exit router pvrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 bridge-gr 1 exit int bvi1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp03.tst 0000664 0000000 0000000 00000006726 14716276021 0017014 0 ustar 00root root 0000000 0000000 description pvrp point2point chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 red conn exit router pvrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-pvrp.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-pvrp04.tst 0000664 0000000 0000000 00000006317 14716276021 0017011 0 ustar 00root root 0000000 0000000 description pvrp incoming interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp05.tst 0000664 0000000 0000000 00000006321 14716276021 0017005 0 ustar 00root root 0000000 0000000 description pvrp outgoing interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 metric-out 100 router pvrp6 1 ena router pvrp6 1 metric-out 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp06.tst 0000664 0000000 0000000 00000006371 14716276021 0017013 0 ustar 00root root 0000000 0000000 description pvrp incoming routemap metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit route-map rm1 set metric +100 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 route-map-in rm1 router pvrp6 1 ena router pvrp6 1 route-map-in rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp07.tst 0000664 0000000 0000000 00000006373 14716276021 0017016 0 ustar 00root root 0000000 0000000 description pvrp outgoing routemap metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit route-map rm1 set metric +100 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 route-map-out rm1 router pvrp6 1 ena router pvrp6 1 route-map-out rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp08.tst 0000664 0000000 0000000 00000006413 14716276021 0017012 0 ustar 00root root 0000000 0000000 description pvrp incoming routepolicy metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit route-policy rm1 set metric +100 pass exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 route-policy-in rm1 router pvrp6 1 ena router pvrp6 1 route-policy-in rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp09.tst 0000664 0000000 0000000 00000006415 14716276021 0017015 0 ustar 00root root 0000000 0000000 description pvrp outgoing routepolicy metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit route-policy rm1 set metric +100 pass exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 route-policy-out rm1 router pvrp6 1 ena router pvrp6 1 route-policy-out rm1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 exit router pvrp6 1 vrf v1 router 6.6.6.3 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp10.tst 0000664 0000000 0000000 00000003226 14716276021 0017002 0 ustar 00root root 0000000 0000000 description pvrp address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp4 1 suppress router pvrp6 1 ena router pvrp6 1 passiv router pvrp6 1 suppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 exit router pvrp6 1 vrf v1 router 6.6.6.2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp11.tst 0000664 0000000 0000000 00000004275 14716276021 0017010 0 ustar 00root root 0000000 0000000 description pvrp ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 prefix-list-in p4 router pvrp6 1 prefix-list-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp12.tst 0000664 0000000 0000000 00000004276 14716276021 0017012 0 ustar 00root root 0000000 0000000 description pvrp egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 prefix-list-out p4 router pvrp6 1 prefix-list-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp13.tst 0000664 0000000 0000000 00000004377 14716276021 0017015 0 ustar 00root root 0000000 0000000 description pvrp ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-map-in p4 router pvrp6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp14.tst 0000664 0000000 0000000 00000004400 14716276021 0017001 0 ustar 00root root 0000000 0000000 description pvrp egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-map-out p4 router pvrp6 1 route-map-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp15.tst 0000664 0000000 0000000 00000004246 14716276021 0017012 0 ustar 00root root 0000000 0000000 description pvrp ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-policy-in p4 router pvrp6 1 route-policy-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp16.tst 0000664 0000000 0000000 00000004247 14716276021 0017014 0 ustar 00root root 0000000 0000000 description pvrp egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-policy-out p4 router pvrp6 1 route-policy-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 2.2.2.11 vrf v1 r2 tping 0 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp17.tst 0000664 0000000 0000000 00000004567 14716276021 0017022 0 ustar 00root root 0000000 0000000 description pvrp tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn route-map rm1 exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act deny match tag 1234 sequence 20 act perm exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-map-out rm1 router pvrp6 1 route-map-out rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-map-out rm1 router pvrp6 1 route-map-out rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn route-map rm1 exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp18.tst 0000664 0000000 0000000 00000002356 14716276021 0017015 0 ustar 00root root 0000000 0000000 description pvrp default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 default router pvrp6 1 ena router pvrp6 1 default exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp19.tst 0000664 0000000 0000000 00000004527 14716276021 0017020 0 ustar 00root root 0000000 0000000 description pvrp with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd router pvrp4 1 metric-in 100 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd router pvrp6 1 metric-in 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd router pvrp4 1 metric-in 100 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd router pvrp6 1 metric-in 100 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp20.tst 0000664 0000000 0000000 00000002513 14716276021 0017001 0 ustar 00root root 0000000 0000000 description pvrp authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router pvrp4 1 ena router pvrp4 1 password test ipv6 addr 1234:1::1 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 password test exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router pvrp4 1 ena router pvrp4 1 password test ipv6 addr 1234:1::2 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 password test exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp21.tst 0000664 0000000 0000000 00000003601 14716276021 0017001 0 ustar 00root root 0000000 0000000 description pvrp ssh encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router pvrp4 1 ena router pvrp4 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::1 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router pvrp4 1 ena router pvrp4 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::2 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 encryption ssh rsa dsa ecdsa rsa dsa ecdsa exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp22.tst 0000664 0000000 0000000 00000003601 14716276021 0017002 0 ustar 00root root 0000000 0000000 description pvrp tls encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router pvrp4 1 ena router pvrp4 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::1 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 crypto certificate dsa generate dsa dsa crypto certificate rsa generate rsa rsa crypto certificate ecdsa generate ecdsa ecdsa vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router pvrp4 1 ena router pvrp4 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa ipv6 addr 1234:1::2 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 encryption tls rsa dsa ecdsa rsa dsa ecdsa exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp23.tst 0000664 0000000 0000000 00000002624 14716276021 0017007 0 ustar 00root root 0000000 0000000 description pvrp peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: temp temp1 exit int temp1 router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp24.tst 0000664 0000000 0000000 00000007003 14716276021 0017004 0 ustar 00root root 0000000 0000000 description pvrp with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::1 1234 exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp25.tst 0000664 0000000 0000000 00000003276 14716276021 0017015 0 ustar 00root root 0000000 0000000 description pvrp prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 exit router pvrp6 1 vrf v1 router 6.6.6.1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 exit router pvrp6 1 vrf v1 router 6.6.6.2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router pvrp4 1 ena r1 send no router pvrp6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router pvrp4 1 ena r1 send router pvrp6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp26.tst 0000664 0000000 0000000 00000004424 14716276021 0017012 0 ustar 00root root 0000000 0000000 description pvrp aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-map-in p4 router pvrp6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 aggregate 2.2.2.0/24 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 aggregate 4321::/32 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp27.tst 0000664 0000000 0000000 00000004076 14716276021 0017016 0 ustar 00root root 0000000 0000000 description pvrp auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn automesh all exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn automesh all exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 40 9.9.9.2 vrf v1 r1 tping 100 40 9999::2 vrf v1 r2 tping 100 40 9.9.9.1 vrf v1 r2 tping 100 40 9999::1 vrf v1 r1 tping 0 40 2.2.2.2 vrf v1 r1 tping 0 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp28.tst 0000664 0000000 0000000 00000005525 14716276021 0017017 0 ustar 00root root 0000000 0000000 description pvrp triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp29.tst 0000664 0000000 0000000 00000013305 14716276021 0017013 0 ustar 00root root 0000000 0000000 description pvrp prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router pvrp4 1 vrf v1 router 4.4.4.1 advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router pvrp6 1 vrf v1 router 6.6.6.1 advertise 4321::1/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 advertise 2.2.2.2/32 exit router pvrp6 1 vrf v1 router 6.6.6.2 advertise 4321::2/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router pvrp4 1 vrf v1 router 4.4.4.3 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router pvrp6 1 vrf v1 router 6.6.6.3 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp30.tst 0000664 0000000 0000000 00000005016 14716276021 0017003 0 ustar 00root root 0000000 0000000 description pvrp autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute pvrp4 1 2.2.2.2 9.9.8.2 ipv6 autoroute pvrp6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute pvrp4 1 2.2.2.1 9.9.8.1 ipv6 autoroute pvrp6 1 4321::1 9998::1 exit ! r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 tping 0 40 9.9.9.2 vrf v1 r1 tping 0 40 9999::2 vrf v1 r2 tping 0 40 9.9.9.1 vrf v1 r2 tping 0 40 9999::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp31.tst 0000664 0000000 0000000 00000003100 14716276021 0016774 0 ustar 00root root 0000000 0000000 description pvrp default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router pvrp4 1 vrf v1 router 4.4.4.1 justadv lo1 suppress exit router pvrp6 1 vrf v1 router 6.6.6.1 justadv lo1 suppress exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 exit router pvrp6 1 vrf v1 router 6.6.6.2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp32.tst 0000664 0000000 0000000 00000003164 14716276021 0017007 0 ustar 00root root 0000000 0000000 description pvrp address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router pvrp4 1 vrf v1 router 4.4.4.1 justadv lo1 suppress exit router pvrp6 1 vrf v1 router 6.6.6.1 justadv lo1 suppress exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp6 1 ena router pvrp6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp4 1 passiv router pvrp4 1 unsuppress router pvrp6 1 ena router pvrp6 1 passiv router pvrp6 1 unsuppress exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 exit router pvrp6 1 vrf v1 router 6.6.6.2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp33.tst 0000664 0000000 0000000 00000007274 14716276021 0017016 0 ustar 00root root 0000000 0000000 description pvrp with php labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp4 1 label-pop router pvrp6 1 ena router pvrp6 1 label-pop exit int pweth1 vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.3 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.1 255.255.255.0 pseudo v1 lo1 pweompls 4321::3 1234 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp4 1 label-pop router pvrp6 1 ena router pvrp6 1 label-pop exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp4 1 label-pop router pvrp6 1 ena router pvrp6 1 label-pop exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp4 1 label-pop router pvrp6 1 ena router pvrp6 1 label-pop exit int pweth1 vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 pseudo v1 lo1 pweompls 2.2.2.1 1234 exit int pweth2 vrf for v1 ipv4 addr 3.3.4.2 255.255.255.0 pseudo v1 lo1 pweompls 4321::1 1234 exit ! r1 tping 0 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r2 tping 0 20 2.2.2.1 vrf v1 sou lo1 r2 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r3 tping 0 20 2.2.2.2 vrf v1 sou lo1 r1 tping 0 20 4321::2 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r2 tping 0 20 4321::1 vrf v1 sou lo1 r2 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r3 tping 0 20 4321::2 vrf v1 sou lo1 r1 tping 100 40 3.3.3.2 vrf v1 r3 tping 100 40 3.3.3.1 vrf v1 r1 tping 100 40 3.3.4.2 vrf v1 r3 tping 100 40 3.3.4.1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp34.tst 0000664 0000000 0000000 00000004700 14716276021 0017006 0 ustar 00root root 0000000 0000000 description ingress label filtering with pvrp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit prefix-list p4 sequence 10 deny 2.2.2.3/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::3/128 sequence 20 permit ::/0 le 128 exit router pvrp4 1 vrf v1 router 4.4.4.1 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 label red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp4 1 label-in p4 router pvrp6 1 ena router pvrp6 1 label-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 label red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp35.tst 0000664 0000000 0000000 00000004701 14716276021 0017010 0 ustar 00root root 0000000 0000000 description egress label filtering with pvrp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 label red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit prefix-list p4 sequence 10 deny 2.2.2.3/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::3/128 sequence 20 permit ::/0 le 128 exit router pvrp4 1 vrf v1 router 4.4.4.2 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 label red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp4 1 label-out p4 router pvrp6 1 ena router pvrp6 1 label-out p6 exit ! r2 tping 100 10 2.2.2.1 vrf v1 sou lo0 r2 tping 100 10 4321::1 vrf v1 sou lo0 r1 tping 0 10 1.1.1.2 vrf v1 r2 tping 0 10 1.1.1.1 vrf v1 r1 tping 100 10 2.2.2.2 vrf v1 sou lo0 r1 tping 100 10 4321::2 vrf v1 sou lo0 r1 tping 0 10 2.2.2.3 vrf v1 sou lo0 r1 tping 0 10 4321::3 vrf v1 sou lo0 r1 tping 100 10 2.2.2.4 vrf v1 sou lo0 r1 tping 100 10 4321::4 vrf v1 sou lo0 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp36.tst 0000664 0000000 0000000 00000006016 14716276021 0017012 0 ustar 00root root 0000000 0000000 description pvrp stub node addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 stub red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 stub red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 red conn exit router pvrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 0 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r1 tping 0 40 4321::4 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 0 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 0 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp37.tst 0000664 0000000 0000000 00000006133 14716276021 0017013 0 ustar 00root root 0000000 0000000 description pvrp stub interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 stub router pvrp6 1 ena router pvrp6 1 stub exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 stub router pvrp6 1 ena router pvrp6 1 stub exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 red conn exit router pvrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 0 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r1 tping 0 40 4321::4 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 0 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 0 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp38.tst 0000664 0000000 0000000 00000006201 14716276021 0017010 0 ustar 00root root 0000000 0000000 description pvrp unstub interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 stub red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 stub red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 unstub router pvrp6 1 ena router pvrp6 1 unstub exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp4 1 unstub router pvrp6 1 ena router pvrp6 1 unstub exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.4 red conn exit router pvrp6 1 vrf v1 router 6.6.6.4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp39.tst 0000664 0000000 0000000 00000002420 14716276021 0017010 0 ustar 00root root 0000000 0000000 description pvrp over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp40.tst 0000664 0000000 0000000 00000003752 14716276021 0017011 0 ustar 00root root 0000000 0000000 description pvrp peer metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router pvrp4 1 vrf v1 router 4.4.4.1 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: mpls enable router pvrp4 1 ena router pvrp4 1 metric-in 1 router pvrp6 1 ena router pvrp6 1 metric-in 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit router pvrp4 1 vrf v1 router 4.4.4.2 label red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 label red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable router pvrp4 1 ena router pvrp4 1 metric-in 2 router pvrp4 1 accept-met router pvrp6 1 ena router pvrp6 1 metric-in 2 router pvrp6 1 accept-met exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable router pvrp4 1 ena router pvrp4 1 metric-in 200 router pvrp4 1 accept-met router pvrp6 1 ena router pvrp6 1 metric-in 200 router pvrp6 1 accept-met exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp41.tst 0000664 0000000 0000000 00000006554 14716276021 0017015 0 ustar 00root root 0000000 0000000 description pvrp ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn ecmp exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn ecmp exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn ecmp exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp42.tst 0000664 0000000 0000000 00000002514 14716276021 0017006 0 ustar 00root root 0000000 0000000 description pvrp no authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router pvrp4 1 ena router pvrp4 1 password test router pvrp4 1 disable-pass ipv6 addr 1234:1::1 ffff:ffff:: router pvrp6 1 ena router pvrp6 1 password test router pvrp6 1 disable-pass exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router pvrp4 1 ena ipv6 addr 1234:1::2 ffff:ffff:: router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp43.tst 0000664 0000000 0000000 00000004610 14716276021 0017006 0 ustar 00root root 0000000 0000000 description pvrp with strict bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd strict ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd strict exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd strict router pvrp4 1 metric-in 100 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd strict router pvrp6 1 metric-in 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd strict ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd strict exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router pvrp4 1 ena router pvrp4 1 bfd router pvrp4 1 metric-in 100 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router pvrp6 1 ena router pvrp6 1 bfd router pvrp6 1 metric-in 100 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp44.tst 0000664 0000000 0000000 00000003647 14716276021 0017020 0 ustar 00root root 0000000 0000000 description pvrp dynamic inband metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 1 router pvrp6 1 ena router pvrp6 1 metric-in 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 2 router pvrp4 1 dynamic-met mod inb router pvrp6 1 ena router pvrp6 1 metric-in 2 router pvrp6 1 dynamic-met mod inb exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 200 router pvrp4 1 dynamic-met mod inb router pvrp6 1 ena router pvrp6 1 metric-in 200 router pvrp6 1 dynamic-met mod inb exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp45.tst 0000664 0000000 0000000 00000003645 14716276021 0017017 0 ustar 00root root 0000000 0000000 description pvrp dynamic icmp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 1 router pvrp6 1 ena router pvrp6 1 metric-in 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 2 router pvrp4 1 dynamic-met mod icm router pvrp6 1 ena router pvrp6 1 metric-in 2 router pvrp6 1 dynamic-met mod icm exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 200 router pvrp4 1 dynamic-met mod icm router pvrp6 1 ena router pvrp6 1 metric-in 200 router pvrp6 1 dynamic-met mod icm exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp46.tst 0000664 0000000 0000000 00000003700 14716276021 0017010 0 ustar 00root root 0000000 0000000 description pvrp dynamic udp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server echo e vrf v1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 1 router pvrp6 1 ena router pvrp6 1 metric-in 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 2 router pvrp4 1 dynamic-met mod udp router pvrp6 1 ena router pvrp6 1 metric-in 2 router pvrp6 1 dynamic-met mod udp exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 200 router pvrp4 1 dynamic-met mod udp router pvrp6 1 ena router pvrp6 1 metric-in 200 router pvrp6 1 dynamic-met mod udp exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp47.tst 0000664 0000000 0000000 00000003646 14716276021 0017022 0 ustar 00root root 0000000 0000000 description pvrp dynamic twamp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 100 router pvrp6 1 ena router pvrp6 1 metric-in 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 1 router pvrp6 1 ena router pvrp6 1 metric-in 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 2 router pvrp4 1 dynamic-met mod twa router pvrp6 1 ena router pvrp6 1 metric-in 2 router pvrp6 1 dynamic-met mod twa exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router pvrp4 1 ena router pvrp4 1 metric-in 200 router pvrp4 1 dynamic-met mod twa router pvrp6 1 ena router pvrp6 1 metric-in 200 router pvrp6 1 dynamic-met mod twa exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp48.tst 0000664 0000000 0000000 00000005733 14716276021 0017022 0 ustar 00root root 0000000 0000000 description pvrp with sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp49.tst 0000664 0000000 0000000 00000006670 14716276021 0017024 0 ustar 00root root 0000000 0000000 description pvrp with bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 bier 256 10 1 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 bier 256 10 1 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 bier 256 10 2 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 bier 256 10 2 # red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 bier 256 10 3 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 bier 256 10 3 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp50.tst 0000664 0000000 0000000 00000006026 14716276021 0017007 0 ustar 00root root 0000000 0000000 description pvrp with srgb sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 base 100 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 base 200 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 base 100 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 base 200 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 base 100 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 base 200 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp51.tst 0000664 0000000 0000000 00000006363 14716276021 0017014 0 ustar 00root root 0000000 0000000 description pvrp with selective sr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 segrout 10 0 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 segrout 10 0 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 segrou 1 router pvrp6 1 segrou 1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 segrout 10 0 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 segrout 10 0 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 segrou 2 router pvrp6 1 segrou 2 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 segrout 10 0 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 segrout 10 0 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 segrou 3 router pvrp6 1 segrou 3 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp52.tst 0000664 0000000 0000000 00000007320 14716276021 0017007 0 ustar 00root root 0000000 0000000 description pvrp with selective bier addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.1 bier 256 10 0 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 bier 256 10 0 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 bier 1 3 router pvrp6 1 bier 1 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv4 addr 3.3.3.1 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::3 tun vrf v1 tun key 1 tun mod bier vrf for v1 ipv6 addr 4321::1111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.2 bier 256 10 0 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 bier 256 10 0 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 bier 2 3 router pvrp6 1 bier 2 3 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit router pvrp4 1 vrf v1 router 4.4.4.3 bier 256 10 0 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 bier 256 10 0 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 bier 3 3 router pvrp6 1 bier 3 3 exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable router pvrp4 1 ena router pvrp6 1 ena exit int tun1 tun sou lo1 tun dest 9.9.9.9 tun doma 2.2.2.1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv4 addr 3.3.3.2 255.255.255.252 exit int tun2 tun sou lo1 tun dest 9999::9 tun doma 4321::1 tun vrf v1 tun key 3 tun mod bier vrf for v1 ipv6 addr 4321::1112 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 exit ! r1 tping 0 20 2.2.2.3 vrf v1 sou lo1 r3 tping 0 20 2.2.2.1 vrf v1 sou lo1 r1 tping 0 20 4321::3 vrf v1 sou lo1 r3 tping 0 20 4321::1 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 r1 tping 100 20 4321::1112 vrf v1 r3 tping 100 20 3.3.3.1 vrf v1 r3 tping 100 20 4321::1111 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp53.tst 0000664 0000000 0000000 00000006354 14716276021 0017016 0 ustar 00root root 0000000 0000000 description pvrp with polka addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 segrout 10 1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 segrout 10 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: mpls enable polka enable 1 65536 10 router pvrp4 1 ena router pvrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.3 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.1 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::3 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 segrout 10 2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 segrout 10 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: mpls enable polka enable 2 65536 10 router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: mpls enable polka enable 2 65536 10 router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 segrout 10 3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 segrout 10 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.2.3 255.255.255.0 ipv6 addr 1235::3 ffff:: mpls enable polka enable 3 65536 10 router pvrp4 1 ena router pvrp6 1 ena exit interface tun1 tunnel vrf v1 tunnel source loopback1 tunnel destination 2.2.2.1 tunnel domain-name 2.2.2.2 tunnel mode polka vrf forwarding v1 ipv4 address 3.3.3.2 255.255.255.252 exit interface tun2 tunnel vrf v1 tunnel source loopback1 tunnel destination 4321::1 tunnel domain-name 4321::2 tunnel mode polka vrf forwarding v1 ipv6 address 3333::2 ffff:: exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 2.2.2.3 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r2 tping 100 20 2.2.2.3 vrf v1 sou lo1 r3 tping 100 20 2.2.2.1 vrf v1 sou lo1 r3 tping 100 20 2.2.2.2 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 4321::3 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 tping 100 20 4321::3 vrf v1 sou lo1 r3 tping 100 20 4321::1 vrf v1 sou lo1 r3 tping 100 20 4321::2 vrf v1 sou lo1 r1 tping 100 20 3.3.3.2 vrf v1 sou tun1 r3 tping 100 20 3.3.3.1 vrf v1 sou tun1 r1 tping 100 20 3333::2 vrf v1 sou tun2 r3 tping 100 20 3333::1 vrf v1 sou tun2 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp54.tst 0000664 0000000 0000000 00000005555 14716276021 0017021 0 ustar 00root root 0000000 0000000 description pvrp auto summarization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 route-map-in p4 router pvrp6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 autosumm red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 autosumm red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp4 1 ena router pvrp6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 4321::12 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-pvrp55.tst 0000664 0000000 0000000 00000002543 14716276021 0017014 0 ustar 00root root 0000000 0000000 description pvrp with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 ipinfo pmtud 512 1024 666 router pvrp6 1 ipinfo pmtud 512 1024 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router pvrp4 1 ena router pvrp6 1 ena router pvrp4 1 ipinfo pmtud 512 1024 666 router pvrp6 1 ipinfo pmtud 512 1024 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 pvrp 1 sum r2 output show ipv6 pvrp 1 sum r2 output show ipv4 pvrp 1 rou r2 output show ipv6 pvrp 1 rou r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-redist01.tst 0000664 0000000 0000000 00000007530 14716276021 0017307 0 ustar 00root root 0000000 0000000 description redistribution with isis addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn red isis4 2 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn red isis6 2 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn red isis4 1 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 100 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist02.tst 0000664 0000000 0000000 00000007440 14716276021 0017310 0 ustar 00root root 0000000 0000000 description redistribution with ospf addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red ospf4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red ospf6 1 exit router ospf4 1 vrf v1 router 4.4.4.2 area 0 ena red conn red isis4 1 exit router ospf6 1 vrf v1 router 6.6.6.2 area 0 ena red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router ospf4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router ospf6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router ospf4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router ospf6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist03.tst 0000664 0000000 0000000 00000007245 14716276021 0017314 0 ustar 00root root 0000000 0000000 description redistribution with rip addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red rip4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red rip6 1 exit router rip4 1 vrf v1 red conn red isis4 1 exit router rip6 1 vrf v1 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router rip4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router rip4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router rip6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist04.tst 0000664 0000000 0000000 00000007645 14716276021 0017321 0 ustar 00root root 0000000 0000000 description redistribution with bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red bgp4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red bgp6 1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router 4.4.4.2 neigh 1.1.1.6 remote-as 2 red conn red isis4 1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router 6.6.6.2 neigh 1234:2::2 remote-as 2 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 2.2.2.23 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::13 vrf v1 r2 tping 100 60 4321::23 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.21 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 2.2.2.22 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::21 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::12 vrf v1 r3 tping 100 60 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist05.tst 0000664 0000000 0000000 00000010515 14716276021 0017310 0 ustar 00root root 0000000 0000000 description redistribution with bgp vpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v2 net 48.4444.0000.2222.00 is-type level2 red conn red bgp4 1 exit router isis6 1 vrf v2 net 48.6666.0000.2222.00 is-type level2 red conn red bgp6 1 exit router bgp4 1 vrf v1 address vpnuni local-as 1 router 4.4.4.2 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red isis4 1 exit router bgp6 1 vrf v1 address vpnuni local-as 1 router 6.6.6.2 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 neigh 4321::3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red isis6 1 exit int lo2 vrf for v2 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v2 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v2 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni local-as 1 router 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo1 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni local-as 1 router 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo1 neigh 4321::2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn exit int lo2 vrf for v2 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v2 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v2 r2 tping 100 60 2.2.2.11 vrf v2 r2 tping 100 60 2.2.2.21 vrf v2 r2 tping 100 60 2.2.2.13 vrf v2 r2 tping 100 60 2.2.2.23 vrf v2 r2 tping 100 60 4321::1 vrf v2 r2 tping 100 60 4321::11 vrf v2 r2 tping 100 60 4321::21 vrf v2 r2 tping 100 60 4321::13 vrf v2 r2 tping 100 60 4321::23 vrf v2 r3 tping 100 60 2.2.2.1 vrf v2 r3 tping 100 60 2.2.2.11 vrf v2 r3 tping 100 60 2.2.2.21 vrf v2 r3 tping 100 60 2.2.2.12 vrf v2 r3 tping 100 60 2.2.2.22 vrf v2 r3 tping 100 60 4321::1 vrf v2 r3 tping 100 60 4321::11 vrf v2 r3 tping 100 60 4321::21 vrf v2 r3 tping 100 60 4321::12 vrf v2 r3 tping 100 60 4321::22 vrf v2 freeRtr-24.11.16/cfg/rout-redist06.tst 0000664 0000000 0000000 00000010567 14716276021 0017320 0 ustar 00root root 0000000 0000000 description redistribution with bgp othervpn addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v2 net 48.4444.0000.2222.00 is-type level2 red conn red bgp4 1 exit router isis6 1 vrf v2 net 48.6666.0000.2222.00 is-type level2 red conn red bgp4 1 exit router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router 4.4.4.2 neigh 2.2.2.3 remote-as 1 neigh 2.2.2.3 update lo1 neigh 2.2.2.3 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-vrf v2 red isis4 1 afi-ovrf v2 ena afi-ovrf v2 red conn afi-ovrf v2 red isis6 1 exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router 6.6.6.2 neigh 4321::3 remote-as 1 neigh 4321::3 update lo1 neigh 4321::3 send-comm both exit int lo2 vrf for v2 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v2 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v2 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v2 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.3 255.255.255.255 1.1.1.6 ipv6 route v1 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::2 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit vrf def v2 rd 1:2 rt-both 1:2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router bgp4 1 vrf v1 address vpnuni ovpnuni local-as 1 router 4.4.4.3 neigh 2.2.2.2 remote-as 1 neigh 2.2.2.2 update lo1 neigh 2.2.2.2 send-comm both afi-vrf v2 ena afi-vrf v2 red conn afi-ovrf v2 ena afi-ovrf v2 red conn exit router bgp6 1 vrf v1 address vpnuni ovpnuni local-as 1 router 6.6.6.3 neigh 4321::2 remote-as 1 neigh 4321::2 update lo1 neigh 4321::2 send-comm both exit int lo2 vrf for v2 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v2 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable mpls ldp4 mpls ldp6 exit ipv4 route v1 2.2.2.2 255.255.255.255 1.1.1.5 ipv6 route v1 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v2 r2 tping 100 60 2.2.2.11 vrf v2 r2 tping 100 60 2.2.2.21 vrf v2 r2 tping 100 60 2.2.2.13 vrf v2 r2 tping 100 60 2.2.2.23 vrf v2 r2 tping 100 60 4321::1 vrf v2 r2 tping 100 60 4321::11 vrf v2 r2 tping 100 60 4321::21 vrf v2 r2 tping 100 60 4321::13 vrf v2 r2 tping 100 60 4321::23 vrf v2 r3 tping 100 60 2.2.2.1 vrf v2 r3 tping 100 60 2.2.2.11 vrf v2 r3 tping 100 60 2.2.2.21 vrf v2 r3 tping 100 60 2.2.2.12 vrf v2 r3 tping 100 60 2.2.2.22 vrf v2 r3 tping 100 60 4321::1 vrf v2 r3 tping 100 60 4321::11 vrf v2 r3 tping 100 60 4321::21 vrf v2 r3 tping 100 60 4321::12 vrf v2 r3 tping 100 60 4321::22 vrf v2 freeRtr-24.11.16/cfg/rout-redist07.tst 0000664 0000000 0000000 00000007360 14716276021 0017316 0 ustar 00root root 0000000 0000000 description redistribution with pvrp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red pvrp4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red pvrp6 1 exit router pvrp4 1 vrf v1 router 4.4.4.2 red conn red isis4 1 exit router pvrp6 1 vrf v1 router 6.6.6.2 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router pvrp4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router pvrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.3 red conn exit router pvrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router pvrp4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router pvrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist08.tst 0000664 0000000 0000000 00000007423 14716276021 0017317 0 ustar 00root root 0000000 0000000 description redistribution with eigrp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red eigrp4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red eigrp6 1 exit router eigrp4 1 vrf v1 router 4.4.4.2 as 1 red conn red isis4 1 exit router eigrp6 1 vrf v1 router 6.6.6.2 as 1 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router eigrp4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router eigrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.3 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.3 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router eigrp4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router eigrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist09.tst 0000664 0000000 0000000 00000007453 14716276021 0017323 0 ustar 00root root 0000000 0000000 description redistribution with babel addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red babel4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red babel6 1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn red isis4 1 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router babel4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router babel6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0002 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0002 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router babel4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router babel6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist10.tst 0000664 0000000 0000000 00000007260 14716276021 0017307 0 ustar 00root root 0000000 0000000 description redistribution with olsr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red olsr4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red olsr6 1 exit router olsr4 1 vrf v1 red conn red isis4 1 exit router olsr6 1 vrf v1 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router olsr4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router olsr6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router olsr4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router olsr6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist11.tst 0000664 0000000 0000000 00000007360 14716276021 0017311 0 ustar 00root root 0000000 0000000 description redistribution with lsrp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red lsrp4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red lsrp6 1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn red isis4 1 exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router lsrp4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router lsrp6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.3 red conn exit router lsrp6 1 vrf v1 router 6.6.6.3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router lsrp4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router lsrp6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist12.tst 0000664 0000000 0000000 00000010206 14716276021 0017303 0 ustar 00root root 0000000 0000000 description redistribution filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.8/29 le 32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::10/124 le 128 sequence 20 permit ::/0 le 128 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn prefix-list p4 red isis4 2 prefix-list p4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn prefix-list p6 red isis6 2 prefix-list p6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn prefix-list p4 red isis4 1 prefix-list p4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn prefix-list p6 red isis6 1 prefix-list p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist13.tst 0000664 0000000 0000000 00000010274 14716276021 0017311 0 ustar 00root root 0000000 0000000 description redistribution filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-map p4 red isis4 2 route-map p4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-map p6 red isis6 2 route-map p6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-map p4 red isis4 1 route-map p4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-map p6 red isis6 1 route-map p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist14.tst 0000664 0000000 0000000 00000010427 14716276021 0017312 0 ustar 00root root 0000000 0000000 description redistribution filtering with hierarchical routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit route-map h4 match route-map p4 exit route-map h6 match route-map p6 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-map h4 red isis4 2 route-map h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-map h6 red isis6 2 route-map h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-map h4 red isis4 1 route-map h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-map h6 red isis6 1 route-map h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist15.tst 0000664 0000000 0000000 00000010165 14716276021 0017312 0 ustar 00root root 0000000 0000000 description redistribution filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-policy p4 red isis4 2 route-policy p4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-policy p6 red isis6 2 route-policy p6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-policy p4 red isis4 1 route-policy p4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-policy p6 red isis6 1 route-policy p6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist16.tst 0000664 0000000 0000000 00000010360 14716276021 0017310 0 ustar 00root root 0000000 0000000 description redistribution filtering with hierarchical routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit route-policy h4 if route-policy p4 pass enif exit route-policy h6 if route-policy p6 pass enif exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-policy h4 red isis4 2 route-policy h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-policy h6 red isis6 2 route-policy h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-policy h4 red isis4 1 route-policy h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-policy h6 red isis6 1 route-policy h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist17.tst 0000664 0000000 0000000 00000004100 14716276021 0017304 0 ustar 00root root 0000000 0000000 description redistribution with prefixes addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 advertise 2.2.2.1/32 advertise 2.2.2.21/32 exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 advertise 4321::1/128 advertise 4321::21/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 advertise 2.2.2.2/32 advertise 2.2.2.22/32 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 advertise 4321::2/128 advertise 4321::22/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-redist18.tst 0000664 0000000 0000000 00000051463 14716276021 0017323 0 ustar 00root root 0000000 0000000 description redistribution with everything addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ int eth5 eth 0000.0000.1111 $5a$ $5b$ int eth6 eth 0000.0000.1111 $6a$ $6b$ int eth7 eth 0000.0000.1111 $7a$ $7b$ int eth8 eth 0000.0000.1111 $8a$ $8b$ int eth9 eth 0000.0000.1111 $9a$ $9b$ int eth10 eth 0000.0000.1111 $10a$ $10b$ int eth11 eth 0000.0000.1111 $11a$ $11b$ ! vrf def v1 rd 1:1 rt-both 1:2 exit vrf def v2 rd 1:2 label-mode per-prefix exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn red ospf4 1 red rip4 1 red babel4 1 red olsr4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn red ospf6 1 red rip6 1 red babel6 1 red olsr6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router ospf4 1 vrf v1 router 4.4.4.1 area 0 ena red conn red isis4 1 red rip4 1 red babel4 1 red olsr4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router ospf6 1 vrf v1 router 6.6.6.1 area 0 ena red conn red isis6 1 red rip6 1 red babel6 1 red olsr6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router pvrp4 1 vrf v1 router 4.4.4.1 red conn red isis4 1 red ospf4 1 red rip4 1 red babel4 1 red olsr4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router pvrp6 1 vrf v1 router 6.6.6.1 red conn red isis6 1 red ospf6 1 red rip6 1 red babel6 1 red olsr6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn red isis4 1 red ospf4 1 red rip4 1 red babel4 1 red olsr4 1 red pvrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn red isis6 1 red ospf6 1 red rip6 1 red babel6 1 red olsr6 1 red pvrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router eigrp4 1 vrf v1 router 4.4.4.1 as 1 red conn red isis4 1 red ospf4 1 red rip4 1 red babel4 1 red olsr4 1 red pvrp4 1 red lsrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router eigrp6 1 vrf v1 router 6.6.6.1 as 1 red conn red isis6 1 red ospf6 1 red rip6 1 red babel6 1 red olsr6 1 red pvrp6 1 red lsrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router rip4 1 vrf v1 red conn red isis4 1 red ospf4 1 red babel4 1 red olsr4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router rip6 1 vrf v1 red conn red isis6 1 red ospf6 1 red babel6 1 red olsr6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router babel4 1 vrf v1 router 1111-2222-3333-0001 red conn red isis4 1 red ospf4 1 red rip4 1 red olsr4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router babel6 1 vrf v1 router 1111-2222-3333-0001 red conn red isis6 1 red ospf6 1 red rip6 1 red olsr6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router olsr4 1 vrf v1 red conn red isis4 1 red ospf4 1 red rip4 1 red babel4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red rift4 1 exit router olsr6 1 vrf v1 red conn red isis6 1 red ospf6 1 red rip6 1 red babel6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red rift6 1 exit router rift4 1 vrf v1 router 41 red conn red isis4 1 red ospf4 1 red rip4 1 red babel4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 1 red bgp4 2 red olsr4 1 exit router rift6 1 vrf v1 router 61 red conn red isis6 1 red ospf6 1 red rip6 1 red babel6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 1 red bgp6 2 red olsr6 1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router 4.4.4.1 neigh 1.1.1.14 remote-as 2 red conn red isis4 1 red ospf4 1 red rip4 1 red babel4 1 red olsr4 1 red pvrp4 1 red lsrp4 1 red eigrp4 1 red bgp4 2 red rift4 1 exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router 6.6.6.1 neigh 1234:4::2 remote-as 2 red conn red isis6 1 red ospf6 1 red rip6 1 red babel6 1 red olsr6 1 red pvrp6 1 red lsrp6 1 red eigrp6 1 red bgp6 2 red rift6 1 exit router bgp4 2 vrf v2 no safe-ebgp address vpnuni local-as 1 router 4.4.4.1 neigh 1.1.1.18 remote-as 3 neigh 1.1.1.18 send-comm both afi-vrf v1 ena afi-vrf v1 red conn afi-vrf v1 red isis4 1 afi-vrf v1 red ospf4 1 afi-vrf v1 red rip4 1 afi-vrf v1 red babel4 1 afi-vrf v1 red olsr4 1 afi-vrf v1 red pvrp4 1 afi-vrf v1 red lsrp4 1 afi-vrf v1 red eigrp4 1 afi-vrf v1 red bgp4 1 afi-vrf v1 red rift4 1 exit router bgp6 2 vrf v2 no safe-ebgp address vpnuni local-as 1 router 6.6.6.2 neigh 1234:5::2 remote-as 3 neigh 1234:5::2 send-comm both afi-vrf v1 ena afi-vrf v1 red conn afi-vrf v1 red isis6 1 afi-vrf v1 red ospf6 1 afi-vrf v1 red rip6 1 afi-vrf v1 red babel6 1 afi-vrf v1 red olsr6 1 afi-vrf v1 red pvrp6 1 afi-vrf v1 red lsrp6 1 afi-vrf v1 red eigrp6 1 afi-vrf v1 red bgp6 1 afi-vrf v1 red rift6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router ospf4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router ospf6 1 ena exit int eth3.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 router rip4 1 ena exit int eth3.12 vrf for v1 ipv6 addr 1234:3::1 ffff:ffff:: router rip6 1 ena exit int eth4.11 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 exit int eth4.12 vrf for v1 ipv6 addr 1234:4::1 ffff:ffff:: exit int eth5.11 vrf for v2 ipv4 addr 1.1.1.17 255.255.255.252 mpls enable exit int eth5.12 vrf for v2 ipv6 addr 1234:5::1 ffff:ffff:: mpls enable exit int eth6.11 vrf for v1 ipv4 addr 1.1.1.21 255.255.255.252 router pvrp4 1 ena exit int eth6.12 vrf for v1 ipv6 addr 1234:6::1 ffff:ffff:: router pvrp6 1 ena exit int eth7.11 vrf for v1 ipv4 addr 1.1.1.25 255.255.255.252 router eigrp4 1 ena exit int eth7.12 vrf for v1 ipv6 addr 1234:7::1 ffff:ffff:: router eigrp6 1 ena exit int eth8.11 vrf for v1 ipv4 addr 1.1.1.29 255.255.255.252 router babel4 1 ena exit int eth8.12 vrf for v1 ipv6 addr 1234:8::1 ffff:ffff:: router babel6 1 ena exit int eth9.11 vrf for v1 ipv4 addr 1.1.1.33 255.255.255.252 router lsrp4 1 ena exit int eth9.12 vrf for v1 ipv6 addr 1234:9::1 ffff:ffff:: router lsrp6 1 ena exit int eth10.11 vrf for v1 ipv4 addr 1.1.1.37 255.255.255.252 router olsr4 1 ena exit int eth10.12 vrf for v1 ipv6 addr 1234:10::1 ffff:ffff:: router olsr6 1 ena exit int eth11.11 vrf for v1 ipv4 addr 1.1.1.41 255.255.255.252 router rift4 1 ena exit int eth11.12 vrf for v1 ipv6 addr 1234:11::1 ffff:ffff:: router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red isis4 2 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red isis6 2 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router ospf4 1 vrf v1 router 4.4.4.3 area 0 ena red conn exit router ospf6 1 vrf v1 router 6.6.6.3 area 0 ena red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router ospf4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router ospf6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 router rip4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:3::2 ffff:ffff:: router rip6 1 ena exit ! addrouter r5 int eth1 eth 0000.0000.5555 $4b$ $4a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router 4.4.4.5 neigh 1.1.1.13 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router 6.6.6.5 neigh 1234:4::1 remote-as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.5 255.255.255.255 ipv6 addr 4321::5 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 exit int eth1.12 vrf for v1 ipv6 addr 1234:4::2 ffff:ffff:: exit ! addrouter r6 int eth1 eth 0000.0000.6666 $5b$ $5a$ ! vrf def v1 rd 1:1 rt-both 1:2 exit vrf def v2 rd 1:2 label-mode per-prefix exit router bgp4 2 vrf v2 no safe-ebgp address vpnuni local-as 3 router 4.4.4.6 neigh 1.1.1.17 remote-as 1 neigh 1.1.1.17 send-comm both afi-vrf v1 ena afi-vrf v1 red conn exit router bgp6 2 vrf v2 no safe-ebgp address vpnuni local-as 3 router 6.6.6.6 neigh 1234:5::1 remote-as 1 neigh 1234:5::1 send-comm both afi-vrf v1 ena afi-vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.6 255.255.255.255 ipv6 addr 4321::6 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v2 ipv4 addr 1.1.1.18 255.255.255.252 mpls enable exit int eth1.12 vrf for v2 ipv6 addr 1234:5::2 ffff:ffff:: mpls enable exit ! addrouter r7 int eth1 eth 0000.0000.7777 $6b$ $6a$ ! vrf def v1 rd 1:1 exit router pvrp4 1 vrf v1 router 4.4.4.7 red conn exit router pvrp6 1 vrf v1 router 6.6.6.7 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.7 255.255.255.255 ipv6 addr 4321::7 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.22 255.255.255.252 router pvrp4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:6::2 ffff:ffff:: router pvrp6 1 ena exit ! addrouter r8 int eth1 eth 0000.0000.8888 $7b$ $7a$ ! vrf def v1 rd 1:1 exit router eigrp4 1 vrf v1 router 4.4.4.8 as 1 red conn exit router eigrp6 1 vrf v1 router 6.6.6.8 as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.8 255.255.255.255 ipv6 addr 4321::8 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.26 255.255.255.252 router eigrp4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:7::2 ffff:ffff:: router eigrp6 1 ena exit ! addrouter r9 int eth1 eth 0000.0000.9999 $8b$ $8a$ ! vrf def v1 rd 1:1 exit router babel4 1 vrf v1 router 1111-2222-3333-0009 red conn exit router babel6 1 vrf v1 router 1111-2222-3333-0009 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.9 255.255.255.255 ipv6 addr 4321::9 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.30 255.255.255.252 router babel4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:8::2 ffff:ffff:: router babel6 1 ena exit ! addrouter r10 int eth1 eth 0000.0000.aaaa $9b$ $9a$ ! vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.10 red conn exit router lsrp6 1 vrf v1 router 6.6.6.10 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.10 255.255.255.255 ipv6 addr 4321::10 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.34 255.255.255.252 router lsrp4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:9::2 ffff:ffff:: router lsrp6 1 ena exit ! addrouter r11 int eth1 eth 0000.0000.bbbb $10b$ $10a$ ! vrf def v1 rd 1:1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.38 255.255.255.252 router olsr4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:10::2 ffff:ffff:: router olsr6 1 ena exit ! addrouter r12 int eth1 eth 0000.0000.cccc $11b$ $11a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.42 255.255.255.252 router rift4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:11::2 ffff:ffff:: router rift6 1 ena exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 2.2.2.5 vrf v1 r1 tping 100 60 2.2.2.6 vrf v1 r1 tping 100 60 2.2.2.7 vrf v1 r1 tping 100 60 2.2.2.8 vrf v1 r1 tping 100 60 2.2.2.9 vrf v1 r1 tping 100 60 2.2.2.10 vrf v1 r1 tping 100 60 2.2.2.11 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::4 vrf v1 r1 tping 100 60 4321::5 vrf v1 r1 tping 100 60 4321::6 vrf v1 r1 tping 100 60 4321::7 vrf v1 r1 tping 100 60 4321::8 vrf v1 r1 tping 100 60 4321::9 vrf v1 r1 tping 100 60 4321::10 vrf v1 r1 tping 100 60 4321::11 vrf v1 r1 tping 100 60 4321::12 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2.2.2.5 vrf v1 r2 tping 100 60 2.2.2.6 vrf v1 r2 tping 100 60 2.2.2.7 vrf v1 r2 tping 100 60 2.2.2.8 vrf v1 r2 tping 100 60 2.2.2.9 vrf v1 r2 tping 100 60 2.2.2.10 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.12 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::4 vrf v1 r2 tping 100 60 4321::5 vrf v1 r2 tping 100 60 4321::6 vrf v1 r2 tping 100 60 4321::7 vrf v1 r2 tping 100 60 4321::8 vrf v1 r2 tping 100 60 4321::9 vrf v1 r2 tping 100 60 4321::10 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::12 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.5 vrf v1 r3 tping 100 60 2.2.2.6 vrf v1 r3 tping 100 60 2.2.2.7 vrf v1 r3 tping 100 60 2.2.2.8 vrf v1 r3 tping 100 60 2.2.2.9 vrf v1 r3 tping 100 60 2.2.2.10 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::4 vrf v1 r3 tping 100 60 4321::5 vrf v1 r3 tping 100 60 4321::6 vrf v1 r3 tping 100 60 4321::7 vrf v1 r3 tping 100 60 4321::8 vrf v1 r3 tping 100 60 4321::9 vrf v1 r3 tping 100 60 4321::10 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::12 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.5 vrf v1 r4 tping 100 60 2.2.2.6 vrf v1 r4 tping 100 60 2.2.2.7 vrf v1 !r4 tping 100 60 2.2.2.8 vrf v1 !r4 tping 100 60 2.2.2.9 vrf v1 r4 tping 100 60 2.2.2.10 vrf v1 r4 tping 100 60 2.2.2.11 vrf v1 r4 tping 100 60 2.2.2.12 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 4321::3 vrf v1 r4 tping 100 60 4321::5 vrf v1 r4 tping 100 60 4321::6 vrf v1 r4 tping 100 60 4321::7 vrf v1 !r4 tping 100 60 4321::8 vrf v1 !r4 tping 100 60 4321::9 vrf v1 r4 tping 100 60 4321::10 vrf v1 r4 tping 100 60 4321::11 vrf v1 r4 tping 100 60 4321::12 vrf v1 r5 tping 100 60 2.2.2.1 vrf v1 r5 tping 100 60 2.2.2.2 vrf v1 r5 tping 100 60 2.2.2.3 vrf v1 r5 tping 100 60 2.2.2.4 vrf v1 r5 tping 100 60 2.2.2.6 vrf v1 r5 tping 100 60 2.2.2.7 vrf v1 r5 tping 100 60 2.2.2.8 vrf v1 r5 tping 100 60 2.2.2.9 vrf v1 r5 tping 100 60 2.2.2.10 vrf v1 r5 tping 100 60 2.2.2.11 vrf v1 r5 tping 100 60 2.2.2.12 vrf v1 r5 tping 100 60 4321::1 vrf v1 r5 tping 100 60 4321::2 vrf v1 r5 tping 100 60 4321::3 vrf v1 r5 tping 100 60 4321::4 vrf v1 r5 tping 100 60 4321::6 vrf v1 r5 tping 100 60 4321::7 vrf v1 r5 tping 100 60 4321::8 vrf v1 r5 tping 100 60 4321::9 vrf v1 r5 tping 100 60 4321::10 vrf v1 r5 tping 100 60 4321::11 vrf v1 r5 tping 100 60 4321::12 vrf v1 r6 tping 100 60 2.2.2.1 vrf v1 r6 tping 100 60 2.2.2.2 vrf v1 r6 tping 100 60 2.2.2.3 vrf v1 r6 tping 100 60 2.2.2.4 vrf v1 r6 tping 100 60 2.2.2.5 vrf v1 r6 tping 100 60 2.2.2.7 vrf v1 r6 tping 100 60 2.2.2.8 vrf v1 r6 tping 100 60 2.2.2.9 vrf v1 r6 tping 100 60 2.2.2.10 vrf v1 r6 tping 100 60 2.2.2.11 vrf v1 r6 tping 100 60 2.2.2.12 vrf v1 r6 tping 100 60 4321::1 vrf v1 r6 tping 100 60 4321::2 vrf v1 r6 tping 100 60 4321::3 vrf v1 r6 tping 100 60 4321::4 vrf v1 r6 tping 100 60 4321::5 vrf v1 r6 tping 100 60 4321::7 vrf v1 r6 tping 100 60 4321::8 vrf v1 r6 tping 100 60 4321::9 vrf v1 r6 tping 100 60 4321::10 vrf v1 r6 tping 100 60 4321::11 vrf v1 r6 tping 100 60 4321::12 vrf v1 r7 tping 100 60 2.2.2.1 vrf v1 r7 tping 100 60 2.2.2.2 vrf v1 r7 tping 100 60 2.2.2.3 vrf v1 r7 tping 100 60 2.2.2.4 vrf v1 r7 tping 100 60 2.2.2.5 vrf v1 r7 tping 100 60 2.2.2.6 vrf v1 r7 tping 100 60 2.2.2.8 vrf v1 r7 tping 100 60 2.2.2.9 vrf v1 r7 tping 100 60 2.2.2.10 vrf v1 r7 tping 100 60 2.2.2.11 vrf v1 r7 tping 100 60 2.2.2.12 vrf v1 r7 tping 100 60 4321::1 vrf v1 r7 tping 100 60 4321::2 vrf v1 r7 tping 100 60 4321::3 vrf v1 r7 tping 100 60 4321::4 vrf v1 r7 tping 100 60 4321::5 vrf v1 r7 tping 100 60 4321::6 vrf v1 r7 tping 100 60 4321::8 vrf v1 r7 tping 100 60 4321::9 vrf v1 r7 tping 100 60 4321::10 vrf v1 r7 tping 100 60 4321::11 vrf v1 r7 tping 100 60 4321::12 vrf v1 r8 tping 100 60 2.2.2.1 vrf v1 r8 tping 100 60 2.2.2.2 vrf v1 r8 tping 100 60 2.2.2.3 vrf v1 r8 tping 100 60 2.2.2.4 vrf v1 r8 tping 100 60 2.2.2.5 vrf v1 r8 tping 100 60 2.2.2.6 vrf v1 r8 tping 100 60 2.2.2.7 vrf v1 r8 tping 100 60 2.2.2.9 vrf v1 r8 tping 100 60 2.2.2.10 vrf v1 r8 tping 100 60 2.2.2.11 vrf v1 r8 tping 100 60 2.2.2.12 vrf v1 r8 tping 100 60 4321::1 vrf v1 r8 tping 100 60 4321::2 vrf v1 r8 tping 100 60 4321::3 vrf v1 r8 tping 100 60 4321::4 vrf v1 r8 tping 100 60 4321::5 vrf v1 r8 tping 100 60 4321::6 vrf v1 r8 tping 100 60 4321::7 vrf v1 r8 tping 100 60 4321::9 vrf v1 r8 tping 100 60 4321::10 vrf v1 r8 tping 100 60 4321::11 vrf v1 r8 tping 100 60 4321::12 vrf v1 r9 tping 100 60 2.2.2.1 vrf v1 r9 tping 100 60 2.2.2.2 vrf v1 r9 tping 100 60 2.2.2.3 vrf v1 r9 tping 100 60 2.2.2.4 vrf v1 r9 tping 100 60 2.2.2.5 vrf v1 r9 tping 100 60 2.2.2.6 vrf v1 r9 tping 100 60 2.2.2.7 vrf v1 !r9 tping 100 60 2.2.2.8 vrf v1 r9 tping 100 60 2.2.2.10 vrf v1 r9 tping 100 60 2.2.2.11 vrf v1 r9 tping 100 60 2.2.2.12 vrf v1 r9 tping 100 60 4321::1 vrf v1 r9 tping 100 60 4321::2 vrf v1 r9 tping 100 60 4321::3 vrf v1 r9 tping 100 60 4321::4 vrf v1 r9 tping 100 60 4321::5 vrf v1 r9 tping 100 60 4321::6 vrf v1 r9 tping 100 60 4321::7 vrf v1 !r9 tping 100 60 4321::8 vrf v1 r9 tping 100 60 4321::10 vrf v1 r9 tping 100 60 4321::11 vrf v1 r9 tping 100 60 2.2.2.12 vrf v1 r10 tping 100 60 2.2.2.1 vrf v1 r10 tping 100 60 2.2.2.2 vrf v1 r10 tping 100 60 2.2.2.3 vrf v1 r10 tping 100 60 2.2.2.4 vrf v1 r10 tping 100 60 2.2.2.5 vrf v1 r10 tping 100 60 2.2.2.6 vrf v1 r10 tping 100 60 2.2.2.7 vrf v1 r10 tping 100 60 2.2.2.8 vrf v1 r10 tping 100 60 2.2.2.9 vrf v1 r10 tping 100 60 2.2.2.11 vrf v1 r10 tping 100 60 2.2.2.12 vrf v1 r10 tping 100 60 4321::1 vrf v1 r10 tping 100 60 4321::2 vrf v1 r10 tping 100 60 4321::3 vrf v1 r10 tping 100 60 4321::4 vrf v1 r10 tping 100 60 4321::5 vrf v1 r10 tping 100 60 4321::6 vrf v1 r10 tping 100 60 4321::7 vrf v1 r10 tping 100 60 4321::8 vrf v1 r10 tping 100 60 4321::9 vrf v1 r10 tping 100 60 4321::11 vrf v1 r10 tping 100 60 4321::12 vrf v1 r11 tping 100 60 2.2.2.1 vrf v1 r11 tping 100 60 2.2.2.2 vrf v1 r11 tping 100 60 2.2.2.3 vrf v1 r11 tping 100 60 2.2.2.4 vrf v1 r11 tping 100 60 2.2.2.5 vrf v1 r11 tping 100 60 2.2.2.6 vrf v1 r11 tping 100 60 2.2.2.7 vrf v1 !r11 tping 100 60 2.2.2.8 vrf v1 !r11 tping 100 60 2.2.2.9 vrf v1 r11 tping 100 60 2.2.2.10 vrf v1 r11 tping 100 60 2.2.2.12 vrf v1 r11 tping 100 60 4321::1 vrf v1 r11 tping 100 60 4321::2 vrf v1 r11 tping 100 60 4321::3 vrf v1 r11 tping 100 60 4321::4 vrf v1 r11 tping 100 60 4321::5 vrf v1 r11 tping 100 60 4321::6 vrf v1 r11 tping 100 60 4321::7 vrf v1 !r11 tping 100 60 4321::8 vrf v1 !r11 tping 100 60 4321::9 vrf v1 r11 tping 100 60 4321::10 vrf v1 r11 tping 100 60 4321::12 vrf v1 r12 tping 100 60 2.2.2.1 vrf v1 r12 tping 100 60 2.2.2.2 vrf v1 r12 tping 100 60 2.2.2.3 vrf v1 r12 tping 100 60 2.2.2.4 vrf v1 r12 tping 100 60 2.2.2.5 vrf v1 r12 tping 100 60 2.2.2.6 vrf v1 r12 tping 100 60 2.2.2.7 vrf v1 r12 tping 100 60 2.2.2.8 vrf v1 r12 tping 100 60 2.2.2.9 vrf v1 r12 tping 100 60 2.2.2.11 vrf v1 r12 tping 100 60 2.2.2.12 vrf v1 r12 tping 100 60 4321::1 vrf v1 r12 tping 100 60 4321::2 vrf v1 r12 tping 100 60 4321::3 vrf v1 r12 tping 100 60 4321::4 vrf v1 r12 tping 100 60 4321::5 vrf v1 r12 tping 100 60 4321::6 vrf v1 r12 tping 100 60 4321::7 vrf v1 r12 tping 100 60 4321::8 vrf v1 r12 tping 100 60 4321::9 vrf v1 r12 tping 100 60 4321::11 vrf v1 r12 tping 100 60 4321::12 vrf v1 freeRtr-24.11.16/cfg/rout-redist19.tst 0000664 0000000 0000000 00000006540 14716276021 0017320 0 ustar 00root root 0000000 0000000 description redistribution prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 router isis4 1 ena exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn red isis4 2 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn red isis6 2 exit router isis4 2 vrf v1 net 22.4444.0000.2222.00 red conn red isis4 1 exit router isis6 2 vrf v1 net 22.6666.0000.2222.00 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 33.4444.0000.3333.00 exit router isis6 1 vrf v1 net 33.6666.0000.3333.00 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 router isis4 1 ena exit int lo2 vrf for v1 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router isis4 1 ena r1 send exit r1 send int lo2 r1 send no router isis6 1 ena r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send int lo1 r1 send router isis4 1 ena r1 send exit r1 send int lo2 r1 send router isis6 1 ena r1 send end r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-redist20.tst 0000664 0000000 0000000 00000006700 14716276021 0017306 0 ustar 00root root 0000000 0000000 description redistribution change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 1000 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 red conn route-map rm1 exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn red isis4 2 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn red isis6 2 exit router isis4 2 vrf v1 net 22.4444.0000.2222.00 red conn red isis4 1 exit router isis6 2 vrf v1 net 22.6666.0000.2222.00 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router isis4 1 vrf v1 net 22.4444.0000.3333.00 red conn both route-map-from rm1 exit router isis6 1 vrf v1 net 22.6666.0000.3333.00 red conn both route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 0 20 2.2.2.1 vrf v1 r3 tping 0 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 100 20 4321::3 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 4321::3 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-redist21.tst 0000664 0000000 0000000 00000013617 14716276021 0017314 0 ustar 00root root 0000000 0000000 description redistribution prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 advertise 4321::1/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn red isis4 2 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn red isis6 2 exit router isis4 2 vrf v1 net 22.4444.0000.2222.00 red conn red isis4 1 exit router isis6 2 vrf v1 net 22.6666.0000.2222.00 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 router isis4 1 ena exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router isis6 1 ena exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router isis4 1 vrf v1 net 33.4444.0000.3333.00 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router isis6 1 vrf v1 net 33.6666.0000.3333.00 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 freeRtr-24.11.16/cfg/rout-redist22.tst 0000664 0000000 0000000 00000005606 14716276021 0017314 0 ustar 00root root 0000000 0000000 description redistribution with mobile addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red mobile4 1 just lo1 just lo2 just lo3 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red mobile6 1 just lo1 just lo2 just lo3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: exit router mobile4 1 vrf v1 red conn exit router mobile6 1 vrf v1 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist23.tst 0000664 0000000 0000000 00000005624 14716276021 0017315 0 ustar 00root root 0000000 0000000 description redistribution with deaggr addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red deaggr4 1 just lo1 just lo2 just lo3 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red deaggr6 1 just lo1 just lo2 just lo3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: exit router deaggr4 1 vrf v1 just eth2.11 exit router deaggr6 1 vrf v1 just eth2.12 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 !r3 tping 100 40 2.2.2.1 vrf v1 !r3 tping 100 40 2.2.2.11 vrf v1 !r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 !r3 tping 100 40 4321::1 vrf v1 !r3 tping 100 40 4321::11 vrf v1 !r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist24.tst 0000664 0000000 0000000 00000003474 14716276021 0017317 0 ustar 00root root 0000000 0000000 description conditional redistribution with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit track t force up exit route-map rm1 sequence 10 act perm match track t exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn route-map rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send track t r1 send force down r1 send exit r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r1 send conf t r1 send track t r1 send force up r1 send exit r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-redist25.tst 0000664 0000000 0000000 00000003510 14716276021 0017307 0 ustar 00root root 0000000 0000000 description conditional redistribution with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit track t force up exit route-policy rm1 if track t pass else drop enif exit router isis4 1 vrf v1 net 11.4444.0000.1111.00 red conn route-policy rm1 exit router isis6 1 vrf v1 net 11.6666.0000.1111.00 red conn route-policy rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 exit int lo2 vrf for v1 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int lo2 vrf for v1 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 send conf t r1 send track t r1 send force down r1 send exit r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r1 send conf t r1 send track t r1 send force up r1 send exit r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 freeRtr-24.11.16/cfg/rout-redist26.tst 0000664 0000000 0000000 00000004012 14716276021 0017306 0 ustar 00root root 0000000 0000000 description redistribution with interfaces addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 justadvert lo1 justadvert lo3 exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 justadvert lo1 justadvert lo3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 justadvert lo1 justadvert lo3 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 justadvert lo1 justadvert lo3 exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 0 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 0 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-redist27.tst 0000664 0000000 0000000 00000003554 14716276021 0017321 0 ustar 00root root 0000000 0000000 description redistribution with metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 red conn metric 1000 exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 red conn metric 1000 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn both route-map-from rm1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn both route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 send conf t r1 send router isis4 1 r1 send red conn metric 3000 r1 send exit r1 send router isis6 1 r1 send red conn metric 3000 r1 send exit r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r1 send conf t r1 send router isis4 1 r1 send red conn metric 5000 r1 send exit r1 send router isis6 1 r1 send red conn metric 5000 r1 send exit r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-redist28.tst 0000664 0000000 0000000 00000010413 14716276021 0017312 0 ustar 00root root 0000000 0000000 description redistribution filtering with hierarchical prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4a sequence 10 permit 2.2.2.8/29 le 32 exit prefix-list p6a sequence 10 permit 4321::10/124 le 128 exit prefix-list p4b sequence 10 evaluate deny p4a sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6b sequence 10 evaluate deny p6a sequence 20 permit ::/0 le 128 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn prefix-list p4b red isis4 2 prefix-list p4b exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn prefix-list p6b red isis6 2 prefix-list p6b exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn prefix-list p4b red isis4 1 prefix-list p4b exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn prefix-list p6b red isis6 1 prefix-list p6b exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist29.tst 0000664 0000000 0000000 00000010054 14716276021 0017314 0 ustar 00root root 0000000 0000000 description redistribution with ouni bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red bgp6 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red bgp4 1 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 1 router 4.4.4.2 neigh 1.1.1.6 remote-as 2 afi-other ena no afi-other vpn afi-other red conn afi-other red isis6 1 exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 1 router 6.6.6.2 neigh 1234:2::2 remote-as 2 afi-other ena no afi-other vpn afi-other red conn afi-other red isis4 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address ouni local-as 2 router 4.4.4.3 neigh 1.1.1.5 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address ouni local-as 2 router 6.6.6.3 neigh 1234:2::1 remote-as 1 afi-other ena no afi-other vpn afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 2.2.2.23 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::13 vrf v1 r2 tping 100 60 4321::23 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.21 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 2.2.2.22 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::21 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::12 vrf v1 r3 tping 100 60 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist30.tst 0000664 0000000 0000000 00000007740 14716276021 0017314 0 ustar 00root root 0000000 0000000 description redistribution with bgp labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red bgp4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red bgp6 1 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 1 router 4.4.4.2 neigh 1.1.1.6 remote-as 2 red conn red isis4 1 exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 1 router 6.6.6.2 neigh 1234:2::2 remote-as 2 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 mpls enable exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address lab local-as 2 router 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address lab local-as 2 router 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 mpls enable exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 2.2.2.23 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::13 vrf v1 r2 tping 100 60 4321::23 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.21 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 2.2.2.22 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::21 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::12 vrf v1 r3 tping 100 60 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist31.tst 0000664 0000000 0000000 00000007776 14716276021 0017326 0 ustar 00root root 0000000 0000000 description redistribution with olab bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red bgp6 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red bgp4 1 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 1 router 4.4.4.2 neigh 1.1.1.6 remote-as 2 afi-other ena afi-other red conn afi-other red isis6 1 exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 1 router 6.6.6.2 neigh 1234:2::2 remote-as 2 afi-other ena afi-other red conn afi-other red isis4 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address olab local-as 2 router 4.4.4.3 neigh 1.1.1.5 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address olab local-as 2 router 6.6.6.3 neigh 1234:2::1 remote-as 1 afi-other ena afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 2.2.2.23 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::13 vrf v1 r2 tping 100 60 4321::23 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.21 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 2.2.2.22 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::21 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::12 vrf v1 r3 tping 100 60 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist32.tst 0000664 0000000 0000000 00000010573 14716276021 0017314 0 ustar 00root root 0000000 0000000 description vrf route limit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.32 255.255.255.255 ipv6 addr 4321::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v1 ipv4 addr 2.2.2.42 255.255.255.255 ipv6 addr 4321::42 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v1 ipv4 addr 2.2.2.52 255.255.255.255 ipv6 addr 4321::52 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo6 vrf for v1 ipv4 addr 2.2.2.62 255.255.255.255 ipv6 addr 4321::62 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo7 vrf for v1 ipv4 addr 2.2.2.72 255.255.255.255 ipv6 addr 4321::72 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo8 vrf for v1 ipv4 addr 2.2.2.82 255.255.255.255 ipv6 addr 4321::82 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo9 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.255 ipv6 addr 9999::9 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r1 tping 100 60 9.9.9.9 vrf v1 r1 tping 100 60 9999::9 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 r1 send conf t r1 send vrf def v1 r1 send route4lim 5 5 5 5 r1 send route6lim 5 5 5 5 r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 9.9.9.9 vrf v1 r1 tping 0 60 9999::9 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r1 send conf t r1 send vrf def v1 r1 send no route4lim 5 5 5 5 r1 send no route6lim 5 5 5 5 r1 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r1 tping 100 60 9.9.9.9 vrf v1 r1 tping 100 60 9999::9 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-redist33.tst 0000664 0000000 0000000 00000007744 14716276021 0017323 0 ustar 00root root 0000000 0000000 description redistribution by prefix addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn readvertise 2.2.2.3/32 readvertise 2.2.2.23/32 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn readvertise 4321::3/128 readvertise 4321::23/128 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn readvertise 2.2.2.1/32 readvertise 2.2.2.21/32 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn readvertise 4321::1/128 readvertise 4321::21/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 100 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 100 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 100 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist34.tst 0000664 0000000 0000000 00000003524 14716276021 0017314 0 ustar 00root root 0000000 0000000 description redistribution with tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 22.4444.0000.1111.00 red conn tag 1000 exit router isis6 1 vrf v1 net 22.6666.0000.1111.00 red conn tag 1000 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router isis4 1 vrf v1 net 22.4444.0000.2222.00 red conn both route-map-from rm1 exit router isis6 1 vrf v1 net 22.6666.0000.2222.00 red conn both route-map-from rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 send conf t r1 send router isis4 1 r1 send red conn tag 3000 r1 send exit r1 send router isis6 1 r1 send red conn tag 3000 r1 send exit r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 0 20 2.2.2.1 vrf v1 r2 tping 0 20 4321::1 vrf v1 r1 send conf t r1 send router isis4 1 r1 send red conn tag 5000 r1 send exit r1 send router isis6 1 r1 send red conn tag 5000 r1 send exit r1 send end r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 4321::1 vrf v1 freeRtr-24.11.16/cfg/rout-redist35.tst 0000664 0000000 0000000 00000010244 14716276021 0017312 0 ustar 00root root 0000000 0000000 description redistribution filtering with prefixlist in routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 deny 2.2.2.8/29 le 32 permit 0.0.0.0/0 le 32 exit prefix-list p6 deny 4321::10/124 le 128 permit ::/0 le 128 exit route-map h4 match prefix-list p4 exit route-map h6 match prefix-list p6 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-map h4 red isis4 2 route-map h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-map h6 red isis6 2 route-map h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-map h4 red isis4 1 route-map h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-map h6 red isis6 1 route-map h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist36.tst 0000664 0000000 0000000 00000010331 14716276021 0017310 0 ustar 00root root 0000000 0000000 description redistribution filtering with prefixlist in routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit prefix-list p4 deny 2.2.2.8/29 le 32 permit 0.0.0.0/0 le 32 exit prefix-list p6 deny 4321::10/124 le 128 permit ::/0 le 128 exit route-policy h4 if prefix-list p4 pass enif exit route-policy h6 if prefix-list p6 pass enif exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-policy h4 red isis4 2 route-policy h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-policy h6 red isis6 2 route-policy h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-policy h4 red isis4 1 route-policy h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-policy h6 red isis6 1 route-policy h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist37.tst 0000664 0000000 0000000 00000010402 14716276021 0017310 0 ustar 00root root 0000000 0000000 description redistribution filtering with accesslist in routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list p4 deny all 2.2.2.8 255.255.255.248 all 0.0.0.0 0.0.0.0 all permit all any all any all exit access-list p6 deny all 4321::10 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 all :: :: all permit all any all any all exit route-map h4 match access-list p4 exit route-map h6 match access-list p6 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-map h4 red isis4 2 route-map h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-map h6 red isis6 2 route-map h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-map h4 red isis4 1 route-map h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-map h6 red isis6 1 route-map h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist38.tst 0000664 0000000 0000000 00000010467 14716276021 0017324 0 ustar 00root root 0000000 0000000 description redistribution filtering with accesslist in routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list p4 deny all 2.2.2.8 255.255.255.248 all 0.0.0.0 0.0.0.0 all permit all any all any all exit access-list p6 deny all 4321::10 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff0 all :: :: all permit all any all any all exit route-policy h4 if access-list p4 pass enif exit route-policy h6 if access-list p6 pass enif exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-policy h4 red isis4 2 route-policy h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-policy h6 red isis6 2 route-policy h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-policy h4 red isis4 1 route-policy h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-policy h6 red isis6 1 route-policy h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist39.tst 0000664 0000000 0000000 00000010275 14716276021 0017322 0 ustar 00root root 0000000 0000000 description redistribution filtering with routepolicy in routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.8/29 le 32 drop else pass enif exit route-policy p6 if network 4321::10/124 le 128 drop else pass enif exit route-map h4 match route-policy p4 exit route-map h6 match route-policy p6 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-map h4 red isis4 2 route-map h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-map h6 red isis6 2 route-map h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-map h4 red isis4 1 route-map h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-map h6 red isis6 1 route-map h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist40.tst 0000664 0000000 0000000 00000010513 14716276021 0017305 0 ustar 00root root 0000000 0000000 description redistribution filtering with routemap in routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.8/29 le 32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::10/124 le 128 sequence 20 act perm match network ::/0 le 128 exit route-policy h4 if route-map p4 pass enif exit route-policy h6 if route-map p6 pass enif exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn route-policy h4 red isis4 2 route-policy h4 exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn route-policy h6 red isis6 2 route-policy h6 exit router isis4 2 vrf v1 net 48.4444.2222.2222.00 is-type level2 red conn route-policy h4 red isis4 1 route-policy h4 exit router isis6 2 vrf v1 net 48.6666.2222.2222.00 is-type level2 red conn route-policy h6 red isis6 1 route-policy h6 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router isis4 2 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router isis6 2 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.3333.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.3333.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router isis6 1 ena exit ! r2 tping 100 20 2.2.2.1 vrf v1 r2 tping 100 20 2.2.2.11 vrf v1 r2 tping 100 20 2.2.2.21 vrf v1 r2 tping 100 20 2.2.2.3 vrf v1 r2 tping 100 20 2.2.2.13 vrf v1 r2 tping 100 20 2.2.2.23 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 tping 100 20 4321::11 vrf v1 r2 tping 100 20 4321::21 vrf v1 r2 tping 100 20 4321::3 vrf v1 r2 tping 100 20 4321::13 vrf v1 r2 tping 100 20 4321::23 vrf v1 r1 tping 100 20 2.2.2.2 vrf v1 r1 tping 0 20 2.2.2.12 vrf v1 r1 tping 100 20 2.2.2.22 vrf v1 r1 tping 100 20 2.2.2.3 vrf v1 r1 tping 0 20 2.2.2.13 vrf v1 r1 tping 100 20 2.2.2.23 vrf v1 r1 tping 100 20 4321::2 vrf v1 r1 tping 0 20 4321::12 vrf v1 r1 tping 100 20 4321::22 vrf v1 r1 tping 100 20 4321::3 vrf v1 r1 tping 0 20 4321::13 vrf v1 r1 tping 100 20 4321::23 vrf v1 r3 tping 100 20 2.2.2.1 vrf v1 r3 tping 0 20 2.2.2.11 vrf v1 r3 tping 100 20 2.2.2.21 vrf v1 r3 tping 100 20 2.2.2.2 vrf v1 r3 tping 0 20 2.2.2.12 vrf v1 r3 tping 100 20 2.2.2.22 vrf v1 r3 tping 100 20 4321::1 vrf v1 r3 tping 0 20 4321::11 vrf v1 r3 tping 100 20 4321::21 vrf v1 r3 tping 100 20 4321::2 vrf v1 r3 tping 0 20 4321::12 vrf v1 r3 tping 100 20 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist41.tst 0000664 0000000 0000000 00000007735 14716276021 0017322 0 ustar 00root root 0000000 0000000 description redistribution with bgp ctp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red bgp4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red bgp6 1 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 1 router 4.4.4.2 neigh 1.1.1.6 remote-as 2 red conn red isis4 1 exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 1 router 6.6.6.2 neigh 1234:2::2 remote-as 2 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 mpls enable exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address ctp local-as 2 router 4.4.4.3 neigh 1.1.1.5 remote-as 1 red conn exit router bgp6 1 vrf v1 no safe-ebgp address ctp local-as 2 router 6.6.6.3 neigh 1234:2::1 remote-as 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 mpls enable exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 2.2.2.23 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::13 vrf v1 r2 tping 100 60 4321::23 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.21 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 2.2.2.22 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::21 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::12 vrf v1 r3 tping 100 60 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist42.tst 0000664 0000000 0000000 00000007776 14716276021 0017330 0 ustar 00root root 0000000 0000000 description redistribution with octp bgp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red bgp6 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red bgp4 1 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 1 router 4.4.4.2 neigh 1.1.1.6 remote-as 2 afi-other ena afi-other red conn afi-other red isis6 1 exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 1 router 6.6.6.2 neigh 1234:2::2 remote-as 2 afi-other ena afi-other red conn afi-other red isis4 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: mpls enable exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router bgp4 1 vrf v1 no safe-ebgp address octp local-as 2 router 4.4.4.3 neigh 1.1.1.5 remote-as 1 afi-other ena afi-other red conn exit router bgp6 1 vrf v1 no safe-ebgp address octp local-as 2 router 6.6.6.3 neigh 1234:2::1 remote-as 1 afi-other ena afi-other red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: mpls enable exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 2.2.2.13 vrf v1 r1 tping 100 60 2.2.2.23 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 4321::13 vrf v1 r1 tping 100 60 4321::23 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.13 vrf v1 r2 tping 100 60 2.2.2.23 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 4321::13 vrf v1 r2 tping 100 60 4321::23 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 2.2.2.11 vrf v1 r3 tping 100 60 2.2.2.21 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.12 vrf v1 r3 tping 100 60 2.2.2.22 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 4321::11 vrf v1 r3 tping 100 60 4321::21 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 4321::12 vrf v1 r3 tping 100 60 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-redist43.tst 0000664 0000000 0000000 00000010726 14716276021 0017316 0 ustar 00root root 0000000 0000000 description redistribution route limit addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.1111.2222.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.1111.2222.00 is-type level2 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.32 255.255.255.255 ipv6 addr 4321::32 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo4 vrf for v1 ipv4 addr 2.2.2.42 255.255.255.255 ipv6 addr 4321::42 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo5 vrf for v1 ipv4 addr 2.2.2.52 255.255.255.255 ipv6 addr 4321::52 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo6 vrf for v1 ipv4 addr 2.2.2.62 255.255.255.255 ipv6 addr 4321::62 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo7 vrf for v1 ipv4 addr 2.2.2.72 255.255.255.255 ipv6 addr 4321::72 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo8 vrf for v1 ipv4 addr 2.2.2.82 255.255.255.255 ipv6 addr 4321::82 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo9 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.255 ipv6 addr 9999::9 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r1 tping 100 60 9.9.9.9 vrf v1 r1 tping 100 60 9999::9 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 r2 send conf t r2 send router isis4 1 r2 send red conn limit 5 r2 send exit r2 send router isis6 1 r2 send red conn limit 5 r2 send exit r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 0 60 9.9.9.9 vrf v1 r1 tping 0 60 9999::9 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 send conf t r2 send router isis4 1 r2 send red conn r2 send exit r2 send router isis6 1 r2 send red conn r2 send exit r2 send end r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.12 vrf v1 r1 tping 100 60 4321::12 vrf v1 r1 tping 100 60 2.2.2.22 vrf v1 r1 tping 100 60 4321::22 vrf v1 r1 tping 100 60 2.2.2.32 vrf v1 r1 tping 100 60 4321::32 vrf v1 r1 tping 100 60 2.2.2.42 vrf v1 r1 tping 100 60 4321::42 vrf v1 r1 tping 100 60 2.2.2.52 vrf v1 r1 tping 100 60 4321::52 vrf v1 r1 tping 100 60 2.2.2.62 vrf v1 r1 tping 100 60 4321::62 vrf v1 r1 tping 100 60 2.2.2.72 vrf v1 r1 tping 100 60 4321::72 vrf v1 r1 tping 100 60 2.2.2.82 vrf v1 r1 tping 100 60 4321::82 vrf v1 r1 tping 100 60 9.9.9.9 vrf v1 r1 tping 100 60 9999::9 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.11 vrf v1 r2 tping 100 60 4321::11 vrf v1 r2 tping 100 60 2.2.2.21 vrf v1 r2 tping 100 60 4321::21 vrf v1 freeRtr-24.11.16/cfg/rout-redist44.tst 0000664 0000000 0000000 00000007334 14716276021 0017320 0 ustar 00root root 0000000 0000000 description redistribution with rift addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.1111.00 is-type level2 red conn exit router isis6 1 vrf v1 net 48.6666.0000.1111.00 is-type level2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::1 ffff:ffff:: router isis6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router isis4 1 vrf v1 net 48.4444.0000.2222.00 is-type level2 red conn red rift4 1 exit router isis6 1 vrf v1 net 48.6666.0000.2222.00 is-type level2 red conn red rift6 1 exit router rift4 1 vrf v1 router 41 red conn red isis4 1 exit router rift6 1 vrf v1 router 61 red conn red isis6 1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router isis4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:1::2 ffff:ffff:: router isis6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 router rift4 1 ena exit int eth2.12 vrf for v1 ipv6 addr 1234:2::1 ffff:ffff:: router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 router rift4 1 ena exit int eth1.12 vrf for v1 ipv6 addr 1234:2::2 ffff:ffff:: router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.13 vrf v1 r1 tping 100 40 2.2.2.23 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::12 vrf v1 r1 tping 100 40 4321::22 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::13 vrf v1 r1 tping 100 40 4321::23 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.13 vrf v1 r2 tping 100 40 2.2.2.23 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::13 vrf v1 r2 tping 100 40 4321::23 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.11 vrf v1 r3 tping 100 40 2.2.2.21 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.12 vrf v1 r3 tping 100 40 2.2.2.22 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::11 vrf v1 r3 tping 100 40 4321::21 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::12 vrf v1 r3 tping 100 40 4321::22 vrf v1 freeRtr-24.11.16/cfg/rout-rift01.tst 0000664 0000000 0000000 00000002365 14716276021 0016762 0 ustar 00root root 0000000 0000000 description rift point2point connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift02.tst 0000664 0000000 0000000 00000007114 14716276021 0016760 0 ustar 00root root 0000000 0000000 description rift point2point chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 red conn exit router rift6 1 vrf v1 router 63 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 44 red conn exit router rift6 1 vrf v1 router 64 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-rift.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here is the ipv4 tree:
show:4here is the ipv6 tree:
show:5here are the ipv4 routes:
show:6here are the ipv6 routes:
show:7! freeRtr-24.11.16/cfg/rout-rift03.tst 0000664 0000000 0000000 00000006332 14716276021 0016762 0 ustar 00root root 0000000 0000000 description rift metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 exit router rift6 1 vrf v1 router 61 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift4 1 metric 100 router rift6 1 ena router rift6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 exit router rift6 1 vrf v1 router 63 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit server telnet tel vrf v1 port 666 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.111 vrf v1 r2 tping 100 40 4321::111 vrf v1 r2 tping 0 40 2.2.2.222 vrf v1 r2 tping 0 40 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.222 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift04.tst 0000664 0000000 0000000 00000003304 14716276021 0016757 0 ustar 00root root 0000000 0000000 description rift address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 exit router rift6 1 vrf v1 router 61 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift4 1 suppress router rift6 1 ena router rift6 1 passiv router rift6 1 suppress exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 exit router rift6 1 vrf v1 router 62 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift05.tst 0000664 0000000 0000000 00000004277 14716276021 0016772 0 ustar 00root root 0000000 0000000 description rift route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit router rift4 1 vrf v1 router 41 red conn prefix-list p4 exit router rift6 1 vrf v1 router 61 red conn prefix-list p6 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift06.tst 0000664 0000000 0000000 00000004401 14716276021 0016760 0 ustar 00root root 0000000 0000000 description rift route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit router rift4 1 vrf v1 router 41 route-map p4 red conn exit router rift6 1 vrf v1 router 61 route-map p6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift07.tst 0000664 0000000 0000000 00000004250 14716276021 0016763 0 ustar 00root root 0000000 0000000 description rift route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit router rift4 1 vrf v1 router 41 route-policy p4 red conn exit router rift6 1 vrf v1 router 61 route-policy p6 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 2.2.2.12 vrf v1 r1 tping 0 40 4321::12 vrf v1 r1 tping 100 40 2.2.2.22 vrf v1 r1 tping 100 40 4321::22 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r2 tping 100 40 2.2.2.21 vrf v1 r2 tping 100 40 4321::21 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift08.tst 0000664 0000000 0000000 00000004451 14716276021 0016767 0 ustar 00root root 0000000 0000000 description rift tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router rift4 1 vrf v1 router 41 red conn route-map rm1 exit router rift6 1 vrf v1 router 61 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny match tag 1234 sequence 20 act perm exit router rift4 1 vrf v1 router 42 route-map rm1 red conn exit router rift6 1 vrf v1 router 62 route-map rm1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router rift4 1 vrf v1 router 43 red conn route-map rm1 exit router rift6 1 vrf v1 router 63 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 0 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 0 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift09.tst 0000664 0000000 0000000 00000002376 14716276021 0016774 0 ustar 00root root 0000000 0000000 description rift default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 default exit router rift6 1 vrf v1 router 61 default exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift10.tst 0000664 0000000 0000000 00000004571 14716276021 0016763 0 ustar 00root root 0000000 0000000 description rift with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router rift4 1 ena router rift4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router rift6 1 ena router rift6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router rift4 1 ena router rift4 1 bfd router rift4 1 metric 100 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router rift6 1 ena router rift6 1 bfd router rift6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router rift4 1 ena router rift4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router rift6 1 ena router rift6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router rift4 1 ena router rift4 1 bfd router rift4 1 metric 100 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router rift6 1 ena router rift6 1 bfd router rift6 1 metric 100 exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift11.tst 0000664 0000000 0000000 00000002702 14716276021 0016756 0 ustar 00root root 0000000 0000000 description rift peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router rift4 1 ena router rift6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: temp temp1 exit int temp1 router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift12.tst 0000664 0000000 0000000 00000003355 14716276021 0016764 0 ustar 00root root 0000000 0000000 description rift prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 exit router rift6 1 vrf v1 router 61 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 exit router rift6 1 vrf v1 router 62 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send no router rift4 1 ena r1 send no router rift6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r1 send conf t r1 send int lo1 r1 send router rift4 1 ena r1 send router rift6 1 ena r1 send end r1 tping 100 40 2.2.2.2 vrf v1 r2 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift13.tst 0000664 0000000 0000000 00000006412 14716276021 0016762 0 ustar 00root root 0000000 0000000 description rift change in metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 1000 exit router rift4 1 vrf v1 router 41 red conn route-map rm1 exit router rift6 1 vrf v1 router 61 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match metric 2000-4000 sequence 20 act perm exit router rift4 1 vrf v1 router 42 red conn route-map rm1 exit router rift6 1 vrf v1 router 62 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 red conn exit router rift6 1 vrf v1 router 63 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift14.tst 0000664 0000000 0000000 00000006373 14716276021 0016771 0 ustar 00root root 0000000 0000000 description rift change in tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1000 exit router rift4 1 vrf v1 router 41 red conn route-map rm1 exit router rift6 1 vrf v1 router 61 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit route-map rm1 sequence 10 act deny sequence 10 match tag 2000-4000 sequence 20 act perm exit router rift4 1 vrf v1 router 42 red conn route-map rm1 exit router rift6 1 vrf v1 router 62 red conn route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 red conn exit router rift6 1 vrf v1 router 63 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 3000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 0 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 0 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set tag 5000 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift15.tst 0000664 0000000 0000000 00000004154 14716276021 0016765 0 ustar 00root root 0000000 0000000 description rift auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router rift4 1 vrf v1 router 41 red conn automesh all exit router rift6 1 vrf v1 router 61 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router rift4 1 ena router rift6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router rift4 1 vrf v1 router 42 red conn automesh all exit router rift6 1 vrf v1 router 62 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router rift4 1 ena router rift6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 40 9.9.9.2 vrf v1 r1 tping 100 40 9999::2 vrf v1 r2 tping 100 40 9.9.9.1 vrf v1 r2 tping 100 40 9999::1 vrf v1 r1 tping 0 40 2.2.2.2 vrf v1 r1 tping 0 40 4321::2 vrf v1 r2 tping 0 40 2.2.2.1 vrf v1 r2 tping 0 40 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift16.tst 0000664 0000000 0000000 00000005555 14716276021 0016774 0 ustar 00root root 0000000 0000000 description rift triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rift4 1 ena router rift4 1 metric 100 router rift6 1 ena router rift6 1 metric 100 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 red conn exit router rift6 1 vrf v1 router 63 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rift4 1 ena router rift4 1 metric 100 router rift6 1 ena router rift6 1 metric 100 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift17.tst 0000664 0000000 0000000 00000013351 14716276021 0016766 0 ustar 00root root 0000000 0000000 description rift prefix movement addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 10 exit router rift4 1 vrf v1 router 41 advertise 2.2.2.1/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router rift6 1 vrf v1 router 61 advertise 4321::1/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 advertise 2.2.2.2/32 exit router rift6 1 vrf v1 router 62 advertise 4321::2/128 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set metric 20 exit router rift4 1 vrf v1 router 43 advertise 2.2.2.3/32 route-map rm1 advertise 2.2.2.222/32 route-map rm1 exit router rift6 1 vrf v1 router 63 advertise 4321::3/128 route-map rm1 advertise 4321::222/128 route-map rm1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo3 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 30 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.103 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.103 vrf v1 r1 send conf t r1 send route-map rm1 r1 send set metric 10 r1 send end r1 send clear ipv4 route v1 r1 send clear ipv6 route v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 2.2.2.222 vrf v1 r1 tping 100 40 4321::222 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 2.2.2.222 vrf v1 r2 tping 100 40 4321::222 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 2.2.2.3 vrf v1 r3 tping 100 40 4321::3 vrf v1 r3 tping 100 40 2.2.2.222 vrf v1 r3 tping 100 40 4321::222 vrf v1 r2 tping 0 40 2.2.2.101 vrf v1 r2 tping 0 40 4321::101 vrf v1 r2 tping 0 40 2.2.2.103 vrf v1 r2 tping 0 40 4321::103 vrf v1 r2 send telnet 2.2.2.222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 send telnet 4321::222 666 vrf v1 r2 tping 100 40 2.2.2.101 vrf v1 r2 send exit r2 read closed r2 tping 0 40 2.2.2.101 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift18.tst 0000664 0000000 0000000 00000005075 14716276021 0016773 0 ustar 00root root 0000000 0000000 description rift autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router rift4 1 ena router rift6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute rift4 1 2.2.2.2 9.9.8.2 ipv6 autoroute rift6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router rift4 1 ena router rift6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute rift4 1 2.2.2.1 9.9.8.1 ipv6 autoroute rift6 1 4321::1 9998::1 exit ! r1 tping 100 40 2.2.2.12 vrf v1 r1 tping 100 40 4321::12 vrf v1 r2 tping 100 40 2.2.2.11 vrf v1 r2 tping 100 40 4321::11 vrf v1 r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 4321::2 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 4321::1 vrf v1 r1 tping 0 40 9.9.9.2 vrf v1 r1 tping 0 40 9999::2 vrf v1 r2 tping 0 40 9.9.9.1 vrf v1 r2 tping 0 40 9999::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift19.tst 0000664 0000000 0000000 00000003156 14716276021 0016772 0 ustar 00root root 0000000 0000000 description rift default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router rift4 1 vrf v1 router 41 suppress justadv lo1 exit router rift6 1 vrf v1 router 61 suppress justadv lo1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 exit router rift6 1 vrf v1 router 62 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 0 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 0 40 4321::3 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift20.tst 0000664 0000000 0000000 00000003242 14716276021 0016756 0 ustar 00root root 0000000 0000000 description rift address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router rift4 1 vrf v1 router 41 suppress justadv lo1 exit router rift6 1 vrf v1 router 61 suppress justadv lo1 exit int lo2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift6 1 ena router rift6 1 passiv exit int lo3 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rift4 1 ena router rift4 1 passiv router rift4 1 unsuppress router rift6 1 ena router rift6 1 passiv router rift6 1 unsuppress exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 exit router rift6 1 vrf v1 router 62 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 0 40 2.2.2.2 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 0 40 4321::2 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift21.tst 0000664 0000000 0000000 00000002476 14716276021 0016767 0 ustar 00root root 0000000 0000000 description rift over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift22.tst 0000664 0000000 0000000 00000002462 14716276021 0016763 0 ustar 00root root 0000000 0000000 description rift point2point connection with bidir check addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn spf-bidir exit router rift6 1 vrf v1 router 61 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn spf-bidir exit router rift6 1 vrf v1 router 62 red conn spf-bidir exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift23.tst 0000664 0000000 0000000 00000006714 14716276021 0016770 0 ustar 00root root 0000000 0000000 description rift ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn spf-ecmp ecmp exit router rift6 1 vrf v1 router 61 red conn spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn spf-ecmp ecmp exit router rift6 1 vrf v1 router 62 red conn spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 red conn spf-ecmp ecmp exit router rift6 1 vrf v1 router 63 red conn spf-ecmp ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift24.tst 0000664 0000000 0000000 00000004763 14716276021 0016773 0 ustar 00root root 0000000 0000000 description rift with bgp linkstate addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router rift4 1 vrf v1 router 41 justadvert lo1 exit router rift6 1 vrf v1 router 61 justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 linkstate afi-link rift4 1 0 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 1 router-id 6.6.6.1 neigh 1234::2 remote-as 2 neigh 1234::2 linkstate afi-link rift6 1 0 justadvert lo2 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit router rift4 1 vrf v1 router 42 justadvert lo1 exit router rift6 1 vrf v1 router 62 justadvert lo1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift6 1 ena exit router bgp4 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.1 linkstate afi-link rift4 1 0 justadvert lo2 exit router bgp6 1 vrf v1 no safe-ebgp address uni linkstate local-as 2 router-id 6.6.6.2 neigh 1234::1 remote-as 1 neigh 1234::1 linkstate afi-link rift6 1 0 justadvert lo2 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r1 tping 100 20 2.2.2.102 vrf v1 r2 tping 100 20 2.2.2.101 vrf v1 r1 tping 100 20 4321::102 vrf v1 r2 tping 100 20 4321::101 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 r1 output show ipv4 bgp 1 uni dat r1 output show ipv6 bgp 1 uni dat r1 output show ipv4 bgp 1 links dat r1 output show ipv6 bgp 1 links dat freeRtr-24.11.16/cfg/rout-rift25.tst 0000664 0000000 0000000 00000006174 14716276021 0016772 0 ustar 00root root 0000000 0000000 description rift inter level chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 level 1 red conn exit router rift6 1 vrf v1 router 61 level 1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 level 2 red conn exit router rift6 1 vrf v1 router 62 level 2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 43 level 3 red conn exit router rift6 1 vrf v1 router 63 level 3 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 44 level 4 red conn exit router rift6 1 vrf v1 router 64 level 4 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rift4 1 ena router rift6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 r1 tping 100 40 2.2.2.3 vrf v1 r1 tping 100 40 2.2.2.4 vrf v1 r1 tping 100 40 4321::2 vrf v1 r1 tping 100 40 4321::3 vrf v1 r1 tping 100 40 4321::4 vrf v1 r2 tping 100 40 2.2.2.1 vrf v1 r2 tping 100 40 2.2.2.3 vrf v1 r2 tping 100 40 2.2.2.4 vrf v1 r2 tping 100 40 4321::1 vrf v1 r2 tping 100 40 4321::3 vrf v1 r2 tping 100 40 4321::4 vrf v1 r3 tping 100 40 2.2.2.1 vrf v1 r3 tping 100 40 2.2.2.2 vrf v1 r3 tping 100 40 2.2.2.4 vrf v1 r3 tping 100 40 4321::1 vrf v1 r3 tping 100 40 4321::2 vrf v1 r3 tping 100 40 4321::4 vrf v1 r4 tping 100 40 2.2.2.1 vrf v1 r4 tping 100 40 2.2.2.2 vrf v1 r4 tping 100 40 2.2.2.3 vrf v1 r4 tping 100 40 4321::1 vrf v1 r4 tping 100 40 4321::2 vrf v1 r4 tping 100 40 4321::3 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift26.tst 0000664 0000000 0000000 00000003673 14716276021 0016774 0 ustar 00root root 0000000 0000000 description rift dynamic icmp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift4 1 metric 100 router rift6 1 ena router rift6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router rift4 1 ena router rift4 1 metric 1 router rift6 1 ena router rift6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift4 1 metric 2 router rift4 1 dynamic-met mod icm router rift6 1 ena router rift6 1 metric 2 router rift6 1 dynamic-met mod icm exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router rift4 1 ena router rift4 1 metric 200 router rift4 1 dynamic-met mod icm router rift6 1 ena router rift6 1 metric 200 router rift6 1 dynamic-met mod icm exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift27.tst 0000664 0000000 0000000 00000003726 14716276021 0016774 0 ustar 00root root 0000000 0000000 description rift dynamic udp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server echo e vrf v1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift4 1 metric 100 router rift6 1 ena router rift6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router rift4 1 ena router rift4 1 metric 1 router rift6 1 ena router rift6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift4 1 metric 2 router rift4 1 dynamic-met mod udp router rift6 1 ena router rift6 1 metric 2 router rift6 1 dynamic-met mod udp exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router rift4 1 ena router rift4 1 metric 200 router rift4 1 dynamic-met mod udp router rift6 1 ena router rift6 1 metric 200 router rift6 1 dynamic-met mod udp exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift28.tst 0000664 0000000 0000000 00000003731 14716276021 0016771 0 ustar 00root root 0000000 0000000 description rift dynamic twamp metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit server twamp t vrf v1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift4 1 metric 100 router rift6 1 ena router rift6 1 metric 100 exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.0 ipv6 addr 1235::1 ffff:: router rift4 1 ena router rift4 1 metric 1 router rift6 1 ena router rift6 1 metric 1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift4 1 metric 2 router rift4 1 dynamic-met mod twa router rift6 1 ena router rift6 1 metric 2 router rift6 1 dynamic-met mod twa exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.0 ipv6 addr 1235::2 ffff:: router rift4 1 ena router rift4 1 metric 200 router rift4 1 dynamic-met mod twa router rift6 1 ena router rift6 1 metric 200 router rift6 1 dynamic-met mod twa exit ! r1 tping 100 20 2.2.2.2 vrf v1 sou lo1 r2 tping 100 20 2.2.2.1 vrf v1 sou lo1 r1 tping 100 20 4321::2 vrf v1 sou lo1 r2 tping 100 20 4321::1 vrf v1 sou lo1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rift29.tst 0000664 0000000 0000000 00000002621 14716276021 0016767 0 ustar 00root root 0000000 0000000 description rift with pmtud addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 41 red conn exit router rift6 1 vrf v1 router 61 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rift4 1 ena router rift6 1 ena router rift4 1 ipinfo pmtud 512 1024 666 router rift6 1 ipinfo pmtud 512 1024 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rift4 1 vrf v1 router 42 red conn exit router rift6 1 vrf v1 router 62 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rift4 1 ena router rift6 1 ena router rift4 1 ipinfo pmtud 512 1024 666 router rift6 1 ipinfo pmtud 512 1024 666 exit ! r1 tping 100 20 2.2.2.2 vrf v1 r2 tping 100 20 2.2.2.1 vrf v1 r1 tping 100 20 4321::2 vrf v1 r2 tping 100 20 4321::1 vrf v1 r2 output show ipv4 rift 1 nei r2 output show ipv6 rift 1 nei r2 output show ipv4 rift 1 dat r2 output show ipv6 rift 1 dat r2 output show ipv4 rift 1 tre n r2 output show ipv6 rift 1 tre n r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip01.tst 0000664 0000000 0000000 00000005411 14716276021 0016603 0 ustar 00root root 0000000 0000000 description rip on one subnet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit bridge 1 mac-learn exit int eth1 bridge-gr 1 exit int eth2 bridge-gr 1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int bvi1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.4 255.255.255.0 ipv6 addr 1234::4 ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 2.2.2.4 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 4321::4 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 2.2.2.4 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r2 tping 100 130 4321::4 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 2.2.2.4 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r3 tping 100 130 4321::4 vrf v1 r4 tping 100 130 2.2.2.1 vrf v1 r4 tping 100 130 2.2.2.2 vrf v1 r4 tping 100 130 2.2.2.3 vrf v1 r4 tping 100 130 4321::1 vrf v1 r4 tping 100 130 4321::2 vrf v1 r4 tping 100 130 4321::3 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip02.tst 0000664 0000000 0000000 00000006512 14716276021 0016607 0 ustar 00root root 0000000 0000000 description rip in chain addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 2.2.2.4 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 4321::4 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 2.2.2.4 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r2 tping 100 130 4321::4 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 2.2.2.4 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r3 tping 100 130 4321::4 vrf v1 r4 tping 100 130 2.2.2.1 vrf v1 r4 tping 100 130 2.2.2.2 vrf v1 r4 tping 100 130 2.2.2.3 vrf v1 r4 tping 100 130 4321::1 vrf v1 r4 tping 100 130 4321::2 vrf v1 r4 tping 100 130 4321::3 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-rip.html here are the ipv4 neighbors:
show:0here are the ipv6 neighbors:
show:1here is the ipv4 database:
show:2here is the ipv6 database:
show:3here are the ipv4 routes:
show:4here are the ipv6 routes:
show:5! freeRtr-24.11.16/cfg/rout-rip03.tst 0000664 0000000 0000000 00000004172 14716276021 0016610 0 ustar 00root root 0000000 0000000 description rip ingress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.12/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::12/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 prefix-list-in p4 router rip6 1 prefix-list-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip04.tst 0000664 0000000 0000000 00000004173 14716276021 0016612 0 ustar 00root root 0000000 0000000 description rip egress route filtering with prefixlist addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit prefix-list p4 sequence 10 deny 2.2.2.11/32 sequence 20 permit 0.0.0.0/0 le 32 exit prefix-list p6 sequence 10 deny 4321::11/128 sequence 20 permit ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 prefix-list-out p4 router rip6 1 prefix-list-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip05.tst 0000664 0000000 0000000 00000004274 14716276021 0016615 0 ustar 00root root 0000000 0000000 description rip ingress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in p4 router rip6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip06.tst 0000664 0000000 0000000 00000004275 14716276021 0016617 0 ustar 00root root 0000000 0000000 description rip egress route filtering with routemap addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.11/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::11/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-out p4 router rip6 1 route-map-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip07.tst 0000664 0000000 0000000 00000004143 14716276021 0016612 0 ustar 00root root 0000000 0000000 description rip ingress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.12/32 drop else pass enif exit route-policy p6 if network 4321::12/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-policy-in p4 router rip6 1 route-policy-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 2.2.2.12 vrf v1 r1 tping 0 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip08.tst 0000664 0000000 0000000 00000004144 14716276021 0016614 0 ustar 00root root 0000000 0000000 description rip egress route filtering with routepolicy addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-policy p4 if network 2.2.2.11/32 drop else pass enif exit route-policy p6 if network 4321::11/128 drop else pass enif exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-policy-out p4 router rip6 1 route-policy-out p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip09.tst 0000664 0000000 0000000 00000004350 14716276021 0016614 0 ustar 00root root 0000000 0000000 description rip hop count addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 set metric +9 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in rm1 router rip6 1 route-map-in rm1 router rip4 1 route-map-out rm1 router rip6 1 route-map-out rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in rm1 router rip6 1 route-map-in rm1 router rip4 1 route-map-out rm1 router rip6 1 route-map-out rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 0 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 4321::3 vrf v1 r3 tping 0 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 0 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip10.tst 0000664 0000000 0000000 00000004634 14716276021 0016611 0 ustar 00root root 0000000 0000000 description rip tag addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router rip4 1 vrf v1 red conn route-map rm1 exit router rip6 1 vrf v1 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map rm1 sequence 10 act perm match tag 1234 set metric +9 sequence 20 act perm exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in rm1 router rip6 1 route-map-in rm1 router rip4 1 route-map-out rm1 router rip6 1 route-map-out rm1 exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in rm1 router rip6 1 route-map-in rm1 router rip4 1 route-map-out rm1 router rip6 1 route-map-out rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit route-map rm1 set tag 1234 exit router rip4 1 vrf v1 red conn route-map rm1 exit router rip6 1 vrf v1 red conn route-map rm1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 0 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 0 130 4321::3 vrf v1 r3 tping 0 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 0 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip11.tst 0000664 0000000 0000000 00000004025 14716276021 0016604 0 ustar 00root root 0000000 0000000 description rip address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena router rip4 1 suppress-prefix router rip6 1 suppress-prefix exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip12.tst 0000664 0000000 0000000 00000003645 14716276021 0016614 0 ustar 00root root 0000000 0000000 description rip default route addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 default-originate router rip6 1 default-originate exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip13.tst 0000664 0000000 0000000 00000002276 14716276021 0016614 0 ustar 00root root 0000000 0000000 description rip authentication addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip4 1 pass tester router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip4 1 pass tester router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip14.tst 0000664 0000000 0000000 00000005651 14716276021 0016615 0 ustar 00root root 0000000 0000000 description rip incoming interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 metric-in 9 router rip6 1 metric-in 9 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip15.tst 0000664 0000000 0000000 00000005653 14716276021 0016620 0 ustar 00root root 0000000 0000000 description rip outgoing interface metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 metric-out 9 router rip6 1 metric-out 9 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip16.tst 0000664 0000000 0000000 00000005725 14716276021 0016621 0 ustar 00root root 0000000 0000000 description rip incoming routemap metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit route-map rm1 set metric +9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in rm1 router rip6 1 route-map-in rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip17.tst 0000664 0000000 0000000 00000005727 14716276021 0016624 0 ustar 00root root 0000000 0000000 description rip outgoing routemap metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit route-map rm1 set metric +9 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-out rm1 router rip6 1 route-map-out rm1 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip18.tst 0000664 0000000 0000000 00000005747 14716276021 0016627 0 ustar 00root root 0000000 0000000 description rip incoming routepolicy metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit route-policy rm1 set metric +9 pass exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-policy-in rm1 router rip6 1 route-policy-in rm1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip19.tst 0000664 0000000 0000000 00000005751 14716276021 0016623 0 ustar 00root root 0000000 0000000 description rip outgoing routepolicy metric addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit server telnet tel vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit route-policy rm1 set metric +9 pass exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-policy-out rm1 router rip6 1 route-policy-out rm1 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 4321::3 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 2.2.2.3 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 4321::3 vrf v1 r3 tping 100 130 2.2.2.1 vrf v1 r3 tping 100 130 2.2.2.2 vrf v1 r3 tping 100 130 4321::1 vrf v1 r3 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.111 vrf v1 r2 tping 100 130 4321::111 vrf v1 r2 tping 0 130 2.2.2.222 vrf v1 r2 tping 0 130 4321::222 vrf v1 r2 send telnet 2.2.2.111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 send telnet 4321::111 666 vrf v1 r2 tping 100 130 2.2.2.222 vrf v1 r2 send exit r2 read closed r2 tping 0 130 2.2.2.222 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip20.tst 0000664 0000000 0000000 00000004356 14716276021 0016613 0 ustar 00root root 0000000 0000000 description rip with bfd addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv4 bfd 100 100 3 router rip4 1 ena router rip4 1 bfd ipv6 addr 1234:1::1 ffff:ffff:: ipv6 bfd 100 100 3 router rip6 1 ena router rip6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv4 bfd 100 100 3 router rip4 1 ena router rip4 1 bfd router rip4 1 dista 130 ipv6 addr 1234:2::1 ffff:ffff:: ipv6 bfd 100 100 3 router rip6 1 ena router rip6 1 bfd router rip6 1 dista 130 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv4 bfd 100 100 3 router rip4 1 ena router rip4 1 bfd ipv6 addr 1234:1::2 ffff:ffff:: ipv6 bfd 100 100 3 router rip6 1 ena router rip6 1 bfd exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv4 bfd 100 100 3 router rip4 1 ena router rip4 1 bfd router rip4 1 dista 130 ipv6 addr 1234:2::2 ffff:ffff:: ipv6 bfd 100 100 3 router rip6 1 ena router rip6 1 bfd router rip6 1 dista 130 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 sleep 3000 r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 send conf t r2 send int eth1 r2 send shut r2 send end r1 tping 100 5 2.2.2.2 vrf v1 sou lo0 r1 tping 100 5 4321::2 vrf v1 sou lo0 r2 tping 100 5 2.2.2.1 vrf v1 sou lo0 r2 tping 100 5 4321::1 vrf v1 sou lo0 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip21.tst 0000664 0000000 0000000 00000002536 14716276021 0016612 0 ustar 00root root 0000000 0000000 description rip peer template addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: temp temp1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int temp1 vrf for v1 ipv4 addr 9.9.9.9 255.255.255.0 ipv6 addr 9999::9 ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: temp temp1 exit int temp1 router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip22.tst 0000664 0000000 0000000 00000003750 14716276021 0016612 0 ustar 00root root 0000000 0000000 description rip prefix withdraw addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip4 1 update-time 1000 router rip4 1 hold-time 4000 router rip4 1 flush-time 4000 router rip6 1 ena router rip6 1 update-time 1000 router rip6 1 hold-time 4000 router rip6 1 flush-time 4000 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip4 1 update-time 1000 router rip4 1 hold-time 4000 router rip4 1 flush-time 4000 router rip6 1 ena router rip6 1 update-time 1000 router rip6 1 hold-time 4000 router rip6 1 flush-time 4000 exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r1 send conf t r1 send int lo0 r1 send no router rip4 1 ena r1 send no router rip6 1 ena r1 send end r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r1 send conf t r1 send int lo0 r1 send router rip4 1 ena r1 send router rip6 1 ena r1 send end r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip23.tst 0000664 0000000 0000000 00000004321 14716276021 0016606 0 ustar 00root root 0000000 0000000 description rip aggregation addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in p4 router rip6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 aggregate 2.2.2.0/24 red conn exit router rip6 1 vrf v1 aggregate 4321::/32 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip24.tst 0000664 0000000 0000000 00000003771 14716276021 0016617 0 ustar 00root root 0000000 0000000 description rip auto mesh tunnel addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router rip4 1 vrf v1 red conn automesh all exit router rip6 1 vrf v1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router rip4 1 ena router rip6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit prefix-list all sequence 10 permit 0.0.0.0/0 le 32 sequence 20 permit ::/0 le 128 exit router rip4 1 vrf v1 red conn automesh all exit router rip6 1 vrf v1 red conn automesh all exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router rip4 1 ena router rip6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 mpls enable mpls rsvp4 mpls rsvp6 exit ! r1 tping 100 130 9.9.9.2 vrf v1 r1 tping 100 130 9999::2 vrf v1 r2 tping 100 130 9.9.9.1 vrf v1 r2 tping 100 130 9999::1 vrf v1 r1 tping 0 130 2.2.2.2 vrf v1 r1 tping 0 130 4321::2 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip25.tst 0000664 0000000 0000000 00000005322 14716276021 0016612 0 ustar 00root root 0000000 0000000 description rip triangle connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rip4 1 ena router rip4 1 metric-in 6 router rip6 1 ena router rip6 1 metric-in 6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rip4 1 ena router rip4 1 metric-in 6 router rip6 1 ena router rip6 1 metric-in 6 ipv4 access-group-in test4 ipv6 access-group-in test6 exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip26.tst 0000664 0000000 0000000 00000004712 14716276021 0016615 0 ustar 00root root 0000000 0000000 description rip autoroute addrouter r1 int ser1 ser 0000.0000.1111 $1a$ $1b$ int ser2 ser 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.1 255.255.255.0 ipv6 addr 9999::1 ffff:: router rip4 1 ena router rip6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.1 255.255.255.0 ipv6 addr 9998::1 ffff:: ipv4 autoroute rip4 1 2.2.2.2 9.9.8.2 ipv6 autoroute rip6 1 4321::2 9998::2 exit ! addrouter r2 int ser1 ser 0000.0000.2222 $1b$ $1a$ int ser2 ser 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 label-mode per-prefix exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny 58 any all any all permit all any all any all exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int ser1 vrf for v1 ipv4 addr 9.9.9.2 255.255.255.0 ipv6 addr 9999::2 ffff:: router rip4 1 ena router rip6 1 ena ipv4 access-group-in test4 ipv6 access-group-in test6 exit int ser2 vrf for v1 ipv4 addr 9.9.8.2 255.255.255.0 ipv6 addr 9998::2 ffff:: ipv4 autoroute rip4 1 2.2.2.1 9.9.8.1 ipv6 autoroute rip6 1 4321::1 9998::1 exit ! r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r1 tping 0 130 9.9.9.2 vrf v1 r1 tping 0 130 9999::2 vrf v1 r2 tping 0 130 9.9.9.1 vrf v1 r2 tping 0 130 9999::1 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip27.tst 0000664 0000000 0000000 00000002360 14716276021 0016613 0 ustar 00root root 0000000 0000000 description rip over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 exit router rip6 1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip28.tst 0000664 0000000 0000000 00000006351 14716276021 0016620 0 ustar 00root root 0000000 0000000 description rip ecmp connection addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn ecmp exit router rip6 1 vrf v1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:21::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.10 255.255.255.252 ipv6 addr 1234:23::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn ecmp exit router rip6 1 vrf v1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:21::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.5 255.255.255.252 ipv6 addr 1234:22::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn ecmp exit router rip6 1 vrf v1 red conn ecmp exit int lo1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1.11 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth1.22 vrf for v1 ipv4 addr 1.1.2.6 255.255.255.252 ipv6 addr 1234:22::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2.11 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2.22 vrf for v1 ipv4 addr 1.1.2.9 255.255.255.252 ipv6 addr 1234:23::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 40 2.2.2.2 vrf v1 sou lo1 r1 tping 100 40 2.2.2.3 vrf v1 sou lo1 r1 tping 100 40 4321::2 vrf v1 sou lo1 r1 tping 100 40 4321::3 vrf v1 sou lo1 r2 tping 100 40 2.2.2.1 vrf v1 sou lo1 r2 tping 100 40 2.2.2.3 vrf v1 sou lo1 r2 tping 100 40 4321::1 vrf v1 sou lo1 r2 tping 100 40 4321::3 vrf v1 sou lo1 r3 tping 100 40 2.2.2.1 vrf v1 sou lo1 r3 tping 100 40 2.2.2.2 vrf v1 sou lo1 r3 tping 100 40 4321::1 vrf v1 sou lo1 r3 tping 100 40 4321::2 vrf v1 sou lo1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip29.tst 0000664 0000000 0000000 00000003753 14716276021 0016624 0 ustar 00root root 0000000 0000000 description rip default address suppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 suppress exit router rip6 1 vrf v1 suppress exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 tping 0 130 2.2.2.11 vrf v1 r2 tping 0 130 4321::11 vrf v1 r2 tping 0 130 2.2.2.21 vrf v1 r2 tping 0 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip30.tst 0000664 0000000 0000000 00000004035 14716276021 0016606 0 ustar 00root root 0000000 0000000 description rip address unsuppression addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 suppress exit router rip6 1 vrf v1 suppress exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena router rip4 1 unsuppress router rip6 1 unsuppress exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff router rip4 1 ena router rip6 1 ena exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.22 255.255.255.255 ipv6 addr 4321::22 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r1 tping 100 130 2.2.2.22 vrf v1 r1 tping 100 130 4321::22 vrf v1 r2 tping 0 130 2.2.2.1 vrf v1 r2 tping 0 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 0 130 2.2.2.21 vrf v1 r2 tping 0 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-rip31.tst 0000664 0000000 0000000 00000005404 14716276021 0016610 0 ustar 00root root 0000000 0000000 description rip auto summarization addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.11 255.255.255.255 ipv6 addr 4321::11 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.21 255.255.255.255 ipv6 addr 4321::21 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit route-map p4 sequence 10 act deny match network 2.2.2.12/32 sequence 20 act perm match network 0.0.0.0/0 le 32 exit route-map p6 sequence 10 act deny match network 4321::12/128 sequence 20 act perm match network ::/0 le 128 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena router rip4 1 route-map-in p4 router rip6 1 route-map-in p6 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 autosumm red conn exit router rip6 1 vrf v1 autosumm red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.12 255.255.255.255 ipv6 addr 4321::12 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo2 vrf for v1 ipv4 addr 2.2.2.13 255.255.255.255 ipv6 addr 4321::13 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: router rip4 1 ena router rip6 1 ena exit ! r1 tping 100 130 2.2.2.2 vrf v1 r1 tping 100 130 4321::2 vrf v1 r1 tping 100 130 2.2.2.3 vrf v1 r1 tping 100 130 4321::3 vrf v1 r1 tping 100 130 2.2.2.12 vrf v1 r1 tping 100 130 4321::12 vrf v1 r2 tping 100 130 2.2.2.1 vrf v1 r2 tping 100 130 4321::1 vrf v1 r2 tping 100 130 2.2.2.11 vrf v1 r2 tping 100 130 4321::11 vrf v1 r2 tping 100 130 2.2.2.21 vrf v1 r2 tping 100 130 4321::21 vrf v1 r2 output show ipv4 rip 1 sum r2 output show ipv6 rip 1 sum r2 output show ipv4 rip 1 dat r2 output show ipv6 rip 1 dat r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static01.tst 0000664 0000000 0000000 00000003523 14716276021 0017302 0 ustar 00root root 0000000 0000000 description static routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.5 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ! r2 tping 100 5 2.2.2.201 vrf v1 r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::201 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r3 tping 100 5 2.2.2.101 vrf v1 r3 tping 100 5 4321::101 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 output ../binTmp/rout-static.html here are the ipv4 routes:
show:0here are the ipv6 routes:
show:1! freeRtr-24.11.16/cfg/rout-static02.tst 0000664 0000000 0000000 00000003214 14716276021 0017300 0 ustar 00root root 0000000 0000000 description static routing with distance addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 ipv6 route v1 :: :: 1234:2::2 dist 11 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 ipv6 route v1 :: :: 1234:2::1 dist 11 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static03.tst 0000664 0000000 0000000 00000004440 14716276021 0017303 0 ustar 00root root 0000000 0000000 description static routing with icmp tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit tracker t1 vrf v1 targ 1.1.2.2 mod icmp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::2 mod icmp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit tracker t1 vrf v1 targ 1.1.2.1 mod icmp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::1 mod icmp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t2 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show tracker r2 output show ipv4 route v1 r2 output show ipv6 route v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 output ../binTmp/rout-track.html here is the tracker:
show:0here are the ipv4 routes:
show:1here are the ipv6 routes:
show:2! freeRtr-24.11.16/cfg/rout-static04.tst 0000664 0000000 0000000 00000004100 14716276021 0017275 0 ustar 00root root 0000000 0000000 description static routing with tcp tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit server tel tel vrf v1 exit tracker t1 vrf v1 targ 1.1.2.2 siz 23 mod tcp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::2 siz 23 mod tcp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit server tel tel vrf v1 exit tracker t1 vrf v1 targ 1.1.2.1 siz 23 mod tcp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::1 siz 23 mod tcp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t2 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static05.tst 0000664 0000000 0000000 00000005107 14716276021 0017306 0 ustar 00root root 0000000 0000000 description static routing with bfd tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit server tel tel vrf v1 exit tracker t1 vrf v1 targ 1.1.2.2 mod bfd inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::2 mod bfd inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 bfd 100 100 3 ipv6 bfd 100 100 3 exit server tel tel vrf v1 exit tracker t1 vrf v1 targ 1.1.2.1 mod bfd inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::1 mod bfd inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t2 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show tracker r2 output show ipv4 bfd v1 nei r2 output show ipv6 bfd v1 nei r2 output show ipv4 route v1 r2 output show ipv6 route v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 output ../binTmp/rout-bfd.html here are the trackers:
show:0here is the ipv4 neighbor:
show:1here is the ipv6 neighbor:
show:2here are the ipv4 routes:
show:3here are the ipv6 routes:
show:4! freeRtr-24.11.16/cfg/rout-static06.tst 0000664 0000000 0000000 00000005173 14716276021 0017312 0 ustar 00root root 0000000 0000000 description static routing with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 mplsexp ipv6 route v1 :: :: 1234:1::2 mplsexp ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 mplsexp ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 mplsexp ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.5 mplsexp ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 mplsexp ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 mplsexp ipv6 route v1 :: :: 1234:2::2 mplsexp ! r2 tping 100 5 2.2.2.201 vrf v1 sou lo0 r2 tping 100 5 2.2.2.101 vrf v1 sou lo0 r2 tping 100 5 4321::201 vrf v1 sou lo0 r2 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static07.tst 0000664 0000000 0000000 00000002354 14716276021 0017311 0 ustar 00root root 0000000 0000000 description static routing with interface addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:ffff:: exit ipv4 route v1 1.1.1.2 255.255.255.255 1.1.1.2 inter eth1 ipv4 route v1 1.1.1.3 255.255.255.255 1.1.1.3 inter eth2 ipv6 route v1 1234::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::2 int eth1 ipv6 route v1 1234::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234::3 int eth2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:ffff:: exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.0 ipv6 addr 1234::3 ffff:ffff:: exit ! r1 tping 100 5 1.1.1.2 vrf v1 r1 tping 100 5 1.1.1.3 vrf v1 r1 tping 100 5 1234::2 vrf v1 r1 tping 100 5 1234::3 vrf v1 r2 tping 100 5 1.1.1.1 vrf v1 r2 tping 100 5 1234::1 vrf v1 r3 tping 100 5 1.1.1.1 vrf v1 r3 tping 100 5 1234::1 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static08.tst 0000664 0000000 0000000 00000003353 14716276021 0017312 0 ustar 00root root 0000000 0000000 description static routing over point2point ethernet addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.3 255.255.255.254 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.254 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.254 ipv6 addr 1234:2::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.3 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.7 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.7 255.255.255.254 ipv6 addr 1234:2::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ! r2 tping 100 5 2.2.2.201 vrf v1 r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::201 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r3 tping 100 5 2.2.2.101 vrf v1 r3 tping 100 5 4321::101 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static09.tst 0000664 0000000 0000000 00000004600 14716276021 0017307 0 ustar 00root root 0000000 0000000 description recursive static routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.5 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 ipv4 route v1 2.2.2.102 255.255.255.255 2.2.2.101 recurigp ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::101 recurigp ipv4 route v1 2.2.2.202 255.255.255.255 2.2.2.201 recurigp ipv6 route v1 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::201 recurigp ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ! r2 tping 100 5 2.2.2.201 vrf v1 r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::201 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r3 tping 100 5 2.2.2.101 vrf v1 r3 tping 100 5 4321::101 vrf v1 r2 tping 100 5 2.2.2.202 vrf v1 r2 tping 100 5 2.2.2.102 vrf v1 r2 tping 100 5 4321::202 vrf v1 r2 tping 100 5 4321::102 vrf v1 r1 tping 100 5 2.2.2.202 vrf v1 r1 tping 100 5 4321::202 vrf v1 r3 tping 100 5 2.2.2.102 vrf v1 r3 tping 100 5 4321::102 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static10.tst 0000664 0000000 0000000 00000007166 14716276021 0017311 0 ustar 00root root 0000000 0000000 description recursive static routing with labels addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 mplsexp ipv6 route v1 :: :: 1234:1::2 mplsexp ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.222 255.255.255.255 ipv6 addr 4321::222 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.111 255.255.255.255 ipv6 addr 4321::111 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 mplsexp ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::1 mplsexp ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.5 mplsexp ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::1 mplsexp ipv4 route v1 2.2.2.102 255.255.255.255 2.2.2.101 recurigp mplsexp ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::101 recurigp mplsexp ipv4 route v1 2.2.2.202 255.255.255.255 2.2.2.201 recurigp mplsexp ipv6 route v1 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 4321::201 recurigp mplsexp ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit access-list test4 deny 1 any all any all permit all any all any all exit access-list test6 deny all 4321:: ffff:: all 4321:: ffff:: all permit all any all any all exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.202 255.255.255.255 ipv6 addr 4321::202 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: ipv4 access-group-in test4 ipv6 access-group-in test6 mpls ena exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 mplsexp ipv6 route v1 :: :: 1234:2::2 mplsexp ! r2 tping 100 5 2.2.2.201 vrf v1 sou lo0 r2 tping 100 5 2.2.2.101 vrf v1 sou lo0 r2 tping 100 5 4321::201 vrf v1 sou lo0 r2 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 100 5 2.2.2.201 vrf v1 sou lo0 r1 tping 100 5 4321::201 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r2 tping 100 5 2.2.2.202 vrf v1 sou lo1 r2 tping 100 5 2.2.2.102 vrf v1 sou lo1 r2 tping 100 5 4321::202 vrf v1 sou lo1 r2 tping 100 5 4321::102 vrf v1 sou lo1 r1 tping 100 5 2.2.2.202 vrf v1 sou lo1 r1 tping 100 5 4321::202 vrf v1 sou lo1 r3 tping 100 5 2.2.2.102 vrf v1 sou lo1 r3 tping 100 5 4321::102 vrf v1 sou lo1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static11.tst 0000664 0000000 0000000 00000002604 14716276021 0017302 0 ustar 00root root 0000000 0000000 description static routing with ecmp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 id 22 ipv6 route v1 :: :: 1234:1::2 id 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 id 11 ipv6 route v1 :: :: 1234:2::2 id 11 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 id 22 ipv6 route v1 :: :: 1234:1::1 id 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 id 11 ipv6 route v1 :: :: 1234:2::1 id 11 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static12.tst 0000664 0000000 0000000 00000004036 14716276021 0017304 0 ustar 00root root 0000000 0000000 description static routing with udp tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit server echo e vrf v1 exit tracker t1 vrf v1 targ 1.1.2.2 mod udp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::2 mod udp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit server echo e vrf v1 exit tracker t1 vrf v1 targ 1.1.2.1 mod udp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::1 mod udp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t2 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static13.tst 0000664 0000000 0000000 00000004052 14716276021 0017303 0 ustar 00root root 0000000 0000000 description static routing with twamp tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit server twamp t vrf v1 exit tracker t1 vrf v1 targ 1.1.2.2 mod twamp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::2 mod twamp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit server twamp t vrf v1 exit tracker t1 vrf v1 targ 1.1.2.1 mod twamp inter 1000 time 500 start exit tracker t2 vrf v1 targ 1234:2::1 mod twamp inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t2 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static14.tst 0000664 0000000 0000000 00000003566 14716276021 0017315 0 ustar 00root root 0000000 0000000 description static routing with interface tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit tracker t1 targ eth2 mod inter inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t1 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit tracker t1 targ eth2 mod inter inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t1 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static15.tst 0000664 0000000 0000000 00000003615 14716276021 0017311 0 ustar 00root root 0000000 0000000 description static routing with prefix tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit tracker t1 vrf v1 targ 1.1.2.0/30 mod pref inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t1 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit tracker t1 vrf v1 targ 1.1.2.0/30 mod pref inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t1 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static16.tst 0000664 0000000 0000000 00000003766 14716276021 0017321 0 ustar 00root root 0000000 0000000 description static routing with other tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit tracker t1 targ eth2 mod inter inter 1000 time 500 start exit tracker t2 targ t1 mod other inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t2 ipv6 route v1 :: :: 1234:2::2 dist 11 track t2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit tracker t1 targ eth2 mod inter inter 1000 time 500 start exit tracker t2 targ t1 mod other inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t2 ipv6 route v1 :: :: 1234:2::1 dist 11 track t2 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static17.tst 0000664 0000000 0000000 00000003706 14716276021 0017314 0 ustar 00root root 0000000 0000000 description static routing with check tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit check c1 comm sho inter descr train exit tracker t1 targ c1 mod check inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t1 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit check c1 comm sho inter descr train exit tracker t1 targ c1 mod check inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t1 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static18.tst 0000664 0000000 0000000 00000004037 14716276021 0017313 0 ustar 00root root 0000000 0000000 description static routing with nrpe tracker addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: shut exit int eth2 vrf for v1 ipv4 addr 1.1.2.1 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit server nrpe n vrf v1 exit check c1 comm sho inter descr train exit tracker t1 targ 2.2.2.101/c1 vrf v1 mod nrpe inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 dist 22 ipv6 route v1 :: :: 1234:1::2 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.2 dist 11 track t1 ipv6 route v1 :: :: 1234:2::2 dist 11 track t1 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.2.2 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit server nrpe n vrf v1 exit check c1 comm sho inter descr train exit tracker t1 targ 2.2.2.201/c1 vrf v1 mod nrpe inter 1000 time 500 start exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 dist 22 ipv6 route v1 :: :: 1234:1::1 dist 22 ipv4 route v1 0.0.0.0 0.0.0.0 1.1.2.1 dist 11 track t1 ipv6 route v1 :: :: 1234:2::1 dist 11 track t1 ! r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r1 send conf t r1 send int eth1 r1 send no shut r1 send exit r1 send int eth2 r1 send shut r1 send end r2 send conf t r2 send int eth2 r2 send shut r2 send end r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static19.tst 0000664 0000000 0000000 00000004767 14716276021 0017326 0 ustar 00root root 0000000 0000000 description verify source with static routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:: ipv4 verify rx ipv6 verify rx exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:ffff:ffff:: ipv4 verify rx ipv6 verify rx exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ipv4 route v1 2.2.2.99 255.255.255.255 1.1.1.10 ipv6 route v1 4321::99 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:: ipv4 verify rx ipv6 verify rx exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:ffff:ffff:: ipv4 verify rx ipv6 verify rx exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.5 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.99 255.255.255.255 ipv6 addr 4321::99 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::3 ffff:ffff:ffff:ffff:: ipv4 verify rx ipv6 verify rx exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::3 ffff:ffff:ffff:ffff:: ipv4 verify rx ipv6 verify rx exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ! r2 tping 100 5 2.2.2.201 vrf v1 r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::201 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r3 tping 100 5 2.2.2.101 vrf v1 r3 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.99 vrf v1 r1 tping 100 5 4321::99 vrf v1 r1 tping 0 5 2.2.2.99 vrf v1 sou lo0 r1 tping 0 5 4321::99 vrf v1 sou lo0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static20.tst 0000664 0000000 0000000 00000005011 14716276021 0017275 0 ustar 00root root 0000000 0000000 description loose verify source with static routing addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::3 ffff:ffff:ffff:ffff:: ipv4 verify any ipv6 verify any exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:ffff:ffff:: ipv4 verify any ipv6 verify any exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.2 ipv6 route v1 :: :: 1234:1::2 ipv4 route v1 2.2.2.99 255.255.255.255 1.1.1.10 ipv6 route v1 4321::99 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:3::3 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:ffff:ffff:: ipv4 verify any ipv6 verify any exit int eth2 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:ffff:ffff:: ipv4 verify any ipv6 verify any exit ipv4 route v1 2.2.2.101 255.255.255.255 1.1.1.1 ipv6 route v1 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::3 ipv4 route v1 2.2.2.201 255.255.255.255 1.1.1.5 ipv6 route v1 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:2::3 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.201 255.255.255.255 ipv6 addr 4321::201 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.99 255.255.255.255 ipv6 addr 4321::99 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::3 ffff:ffff:ffff:ffff:: ipv4 verify any ipv6 verify any exit int eth2 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::3 ffff:ffff:ffff:ffff:: ipv4 verify any ipv6 verify any exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.6 ipv6 route v1 :: :: 1234:2::2 ! r2 tping 100 5 2.2.2.201 vrf v1 r2 tping 100 5 2.2.2.101 vrf v1 r2 tping 100 5 4321::201 vrf v1 r2 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.201 vrf v1 r1 tping 100 5 4321::201 vrf v1 r3 tping 100 5 2.2.2.101 vrf v1 r3 tping 100 5 4321::101 vrf v1 r1 tping 100 5 2.2.2.99 vrf v1 r1 tping 100 5 4321::99 vrf v1 r1 tping 0 5 2.2.2.99 vrf v1 sou lo0 r1 tping 0 5 4321::99 vrf v1 sou lo0 r2 output show ipv4 route v1 r2 output show ipv6 route v1 freeRtr-24.11.16/cfg/rout-static21.tst 0000664 0000000 0000000 00000017572 14716276021 0017315 0 ustar 00root root 0000000 0000000 description static routing with lpm addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.1111 $3a$ $3b$ int eth4 eth 0000.0000.1111 $4a$ $4b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.101 255.255.255.255 ipv6 addr 4321::101 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit int eth4 vrf for v1 ipv4 addr 1.1.1.13 255.255.255.252 ipv6 addr 1234:4::1 ffff:ffff:: exit ipv4 route v1 2.2.2.102 255.255.255.255 1.1.1.2 ipv6 route v1 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 1234:1::2 ipv4 route v1 2.2.2.0 255.255.255.0 1.1.1.6 ipv6 route v1 4321:: ffff:: 1234:2::2 ipv4 route v1 2.2.0.0 255.255.0.0 1.1.1.10 ipv6 route v1 4320:: fff0:: 1234:3::2 ipv4 route v1 2.0.0.0 255.0.0.0 1.1.1.14 ipv6 route v1 4300:: ff00:: 1234:4::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.102 255.255.255.255 ipv6 addr 4321::102 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.103 255.255.255.255 ipv6 addr 4321::103 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.2.23 255.255.255.255 ipv6 addr 4321::23 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.1.104 255.255.255.255 ipv6 addr 4320::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.2.3.104 255.255.255.255 ipv6 addr 4322::104 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 ! addrouter r5 int eth1 eth 0000.0000.4444 $4b$ $4a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.1.2.105 255.255.255.255 ipv6 addr 4311::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int lo1 vrf for v1 ipv4 addr 2.3.2.105 255.255.255.255 ipv6 addr 4331::105 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.14 255.255.255.252 ipv6 addr 1234:4::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.13 ipv6 route v1 :: :: 1234:4::1 ! r1 tping 100 5 2.2.2.101 vrf v1 sou lo0 r1 tping 100 5 4321::101 vrf v1 sou lo0 r1 tping 100 5 2.2.2.102 vrf v1 sou lo0 r1 tping 100 5 4321::102 vrf v1 sou lo0 r1 tping 100 5 2.2.2.103 vrf v1 sou lo0 r1 tping 100 5 4321::103 vrf v1 sou lo0 r1 tping 100 5 2.2.2.23 vrf v1 sou lo0 r1 tping 100 5 4321::23 vrf v1 sou lo0 r1 tping 100 5 2.2.1.104 vrf v1 sou lo0 r1 tping 100 5 4320::104 vrf v1 sou lo0 r1 tping 100 5 2.2.3.104 vrf v1 sou lo0 r1 tping 100 5 4322::104 vrf v1 sou lo0 r1 tping 100 5 2.1.2.105 vrf v1 sou lo0 r1 tping 100 5 4311::105 vrf v1 sou lo0 r1 tping 100 5 2.3.2.105 vrf v1 sou lo0 r1 tping 100 5 4331::105 vrf v1 sou lo0 r2 tping 100 5 2.2.2.101 vrf v1 sou lo0 r2 tping 100 5 4321::101 vrf v1 sou lo0 r2 tping 100 5 2.2.2.102 vrf v1 sou lo0 r2 tping 100 5 4321::102 vrf v1 sou lo0 r2 tping 100 5 2.2.2.103 vrf v1 sou lo0 r2 tping 100 5 4321::103 vrf v1 sou lo0 r2 tping 100 5 2.2.2.23 vrf v1 sou lo0 r2 tping 100 5 4321::23 vrf v1 sou lo0 r2 tping 100 5 2.2.1.104 vrf v1 sou lo0 r2 tping 100 5 4320::104 vrf v1 sou lo0 r2 tping 100 5 2.2.3.104 vrf v1 sou lo0 r2 tping 100 5 4322::104 vrf v1 sou lo0 r2 tping 100 5 2.1.2.105 vrf v1 sou lo0 r2 tping 100 5 4311::105 vrf v1 sou lo0 r2 tping 100 5 2.3.2.105 vrf v1 sou lo0 r2 tping 100 5 4331::105 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo0 r3 tping 100 5 4321::101 vrf v1 sou lo0 r3 tping 100 5 2.2.2.102 vrf v1 sou lo0 r3 tping 100 5 4321::102 vrf v1 sou lo0 r3 tping 100 5 2.2.2.103 vrf v1 sou lo0 r3 tping 100 5 4321::103 vrf v1 sou lo0 r3 tping 100 5 2.2.2.23 vrf v1 sou lo0 r3 tping 100 5 4321::23 vrf v1 sou lo0 r3 tping 100 5 2.2.1.104 vrf v1 sou lo0 r3 tping 100 5 4320::104 vrf v1 sou lo0 r3 tping 100 5 2.2.3.104 vrf v1 sou lo0 r3 tping 100 5 4322::104 vrf v1 sou lo0 r3 tping 100 5 2.1.2.105 vrf v1 sou lo0 r3 tping 100 5 4311::105 vrf v1 sou lo0 r3 tping 100 5 2.3.2.105 vrf v1 sou lo0 r3 tping 100 5 4331::105 vrf v1 sou lo0 r4 tping 100 5 2.2.2.101 vrf v1 sou lo0 r4 tping 100 5 4321::101 vrf v1 sou lo0 r4 tping 100 5 2.2.2.102 vrf v1 sou lo0 r4 tping 100 5 4321::102 vrf v1 sou lo0 r4 tping 100 5 2.2.2.103 vrf v1 sou lo0 r4 tping 100 5 4321::103 vrf v1 sou lo0 r4 tping 100 5 2.2.2.23 vrf v1 sou lo0 r4 tping 100 5 4321::23 vrf v1 sou lo0 r4 tping 100 5 2.2.1.104 vrf v1 sou lo0 r4 tping 100 5 4320::104 vrf v1 sou lo0 r4 tping 100 5 2.2.3.104 vrf v1 sou lo0 r4 tping 100 5 4322::104 vrf v1 sou lo0 r4 tping 100 5 2.1.2.105 vrf v1 sou lo0 r4 tping 100 5 4311::105 vrf v1 sou lo0 r4 tping 100 5 2.3.2.105 vrf v1 sou lo0 r4 tping 100 5 4331::105 vrf v1 sou lo0 r5 tping 100 5 2.2.2.101 vrf v1 sou lo0 r5 tping 100 5 4321::101 vrf v1 sou lo0 r5 tping 100 5 2.2.2.102 vrf v1 sou lo0 r5 tping 100 5 4321::102 vrf v1 sou lo0 r5 tping 100 5 2.2.2.103 vrf v1 sou lo0 r5 tping 100 5 4321::103 vrf v1 sou lo0 r5 tping 100 5 2.2.2.23 vrf v1 sou lo0 r5 tping 100 5 4321::23 vrf v1 sou lo0 r5 tping 100 5 2.2.1.104 vrf v1 sou lo0 r5 tping 100 5 4320::104 vrf v1 sou lo0 r5 tping 100 5 2.2.3.104 vrf v1 sou lo0 r5 tping 100 5 4322::104 vrf v1 sou lo0 r5 tping 100 5 2.1.2.105 vrf v1 sou lo0 r5 tping 100 5 4311::105 vrf v1 sou lo0 r5 tping 100 5 2.3.2.105 vrf v1 sou lo0 r5 tping 100 5 4331::105 vrf v1 sou lo0 r3 tping 100 5 2.2.2.101 vrf v1 sou lo1 r3 tping 100 5 4321::101 vrf v1 sou lo1 r3 tping 100 5 2.2.2.102 vrf v1 sou lo1 r3 tping 100 5 4321::102 vrf v1 sou lo1 r3 tping 100 5 2.2.2.103 vrf v1 sou lo1 r3 tping 100 5 4321::103 vrf v1 sou lo1 r3 tping 100 5 2.2.2.23 vrf v1 sou lo1 r3 tping 100 5 4321::23 vrf v1 sou lo1 r3 tping 100 5 2.2.1.104 vrf v1 sou lo1 r3 tping 100 5 4320::104 vrf v1 sou lo1 r3 tping 100 5 2.2.3.104 vrf v1 sou lo1 r3 tping 100 5 4322::104 vrf v1 sou lo1 r3 tping 100 5 2.1.2.105 vrf v1 sou lo1 r3 tping 100 5 4311::105 vrf v1 sou lo1 r3 tping 100 5 2.3.2.105 vrf v1 sou lo1 r3 tping 100 5 4331::105 vrf v1 sou lo1 r4 tping 100 5 2.2.2.101 vrf v1 sou lo1 r4 tping 100 5 4321::101 vrf v1 sou lo1 r4 tping 100 5 2.2.2.102 vrf v1 sou lo1 r4 tping 100 5 4321::102 vrf v1 sou lo1 r4 tping 100 5 2.2.2.103 vrf v1 sou lo1 r4 tping 100 5 4321::103 vrf v1 sou lo1 r4 tping 100 5 2.2.2.23 vrf v1 sou lo1 r4 tping 100 5 4321::23 vrf v1 sou lo1 r4 tping 100 5 2.2.1.104 vrf v1 sou lo1 r4 tping 100 5 4320::104 vrf v1 sou lo1 r4 tping 100 5 2.2.3.104 vrf v1 sou lo1 r4 tping 100 5 4322::104 vrf v1 sou lo1 r4 tping 100 5 2.1.2.105 vrf v1 sou lo1 r4 tping 100 5 4311::105 vrf v1 sou lo1 r4 tping 100 5 2.3.2.105 vrf v1 sou lo1 r4 tping 100 5 4331::105 vrf v1 sou lo1 r5 tping 100 5 2.2.2.101 vrf v1 sou lo1 r5 tping 100 5 4321::101 vrf v1 sou lo1 r5 tping 100 5 2.2.2.102 vrf v1 sou lo1 r5 tping 100 5 4321::102 vrf v1 sou lo1 r5 tping 100 5 2.2.2.103 vrf v1 sou lo1 r5 tping 100 5 4321::103 vrf v1 sou lo1 r5 tping 100 5 2.2.2.23 vrf v1 sou lo1 r5 tping 100 5 4321::23 vrf v1 sou lo1 r5 tping 100 5 2.2.1.104 vrf v1 sou lo1 r5 tping 100 5 4320::104 vrf v1 sou lo1 r5 tping 100 5 2.2.3.104 vrf v1 sou lo1 r5 tping 100 5 4322::104 vrf v1 sou lo1 r5 tping 100 5 2.1.2.105 vrf v1 sou lo1 r5 tping 100 5 4311::105 vrf v1 sou lo1 r5 tping 100 5 2.3.2.105 vrf v1 sou lo1 r5 tping 100 5 4331::105 vrf v1 sou lo1 freeRtr-24.11.16/cfg/serv-bmp01.tst 0000664 0000000 0000000 00000007532 14716276021 0016563 0 ustar 00root root 0000000 0000000 description static bmp peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 2 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 shut exit router bgp6 2 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 shut exit server bmp bmp neigh 1.1.1.1 1.1.1.2 rx bgp4 2 1.1.1.2 neigh 1.1.1.1 1234:1::2 rx bgp6 2 1234:1::2 port 17971 vrf v1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 monitor bmp p1 1.1.1.1 17971 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 distan 255 neigh 1.1.1.2 monitor bmp red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 monitor bmp p1 1.1.1.1 17971 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 distan 255 neigh 1234:1::2 monitor bmp red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/serv-bmp02.tst 0000664 0000000 0000000 00000007563 14716276021 0016570 0 ustar 00root root 0000000 0000000 description dynamic bmp peer addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit router bgp4 2 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 temp t remote-as 2 temp t shut exit router bgp6 2 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 temp t remote-as 2 temp t shut exit access-list test permit all any all any all exit server bmp bmp1 dynei test rx bgp4 2 t port 17971 vrf v1 exit server bmp bmp2 dynei test rx bgp6 2 t port 17972 vrf v1 exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 4.4.4.1 monitor bmp p1 1.1.1.1 17971 neigh 1.1.1.2 remote-as 2 neigh 1.1.1.2 distan 255 neigh 1.1.1.2 monitor bmp red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 1 router-id 6.6.6.1 monitor bmp p1 1.1.1.1 17972 neigh 1234:1::2 remote-as 2 neigh 1234:1::2 distan 255 neigh 1234:1::2 monitor bmp red conn exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 4.4.4.2 neigh 1.1.1.1 remote-as 1 neigh 1.1.1.6 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 2 router-id 6.6.6.2 neigh 1234:1::1 remote-as 1 neigh 1234:2::2 remote-as 3 red conn exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ int eth2 eth 0000.0000.3333 $3a$ $3b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 4321::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 4.4.4.3 neigh 1.1.1.5 remote-as 2 neigh 1.1.1.10 remote-as 4 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 3 router-id 6.6.6.3 neigh 1234:2::1 remote-as 2 neigh 1234:3::2 remote-as 4 red conn exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 4321::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit router bgp4 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 4.4.4.4 neigh 1.1.1.9 remote-as 3 red conn exit router bgp6 1 vrf v1 no safe-ebgp address uni local-as 4 router-id 6.6.6.4 neigh 1234:3::1 remote-as 3 red conn exit ! r1 tping 100 60 2.2.2.2 vrf v1 r1 tping 100 60 4321::2 vrf v1 r1 tping 100 60 2.2.2.3 vrf v1 r1 tping 100 60 4321::3 vrf v1 r1 tping 100 60 2.2.2.4 vrf v1 r1 tping 100 60 4321::4 vrf v1 r2 tping 100 60 2.2.2.1 vrf v1 r2 tping 100 60 4321::1 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 4321::3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 4321::4 vrf v1 r3 tping 100 60 2.2.2.1 vrf v1 r3 tping 100 60 4321::1 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 4321::2 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 4321::4 vrf v1 r4 tping 100 60 2.2.2.1 vrf v1 r4 tping 100 60 4321::1 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 4321::2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 4321::3 vrf v1 freeRtr-24.11.16/cfg/serv-dns01.tst 0000664 0000000 0000000 00000001474 14716276021 0016570 0 ustar 00root root 0000000 0000000 description authoritative dns server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr ip4a.test.corp ip4a 1.1.1.1 rr ip6a.test.corp ip6a 1234::1 rr ip4i.test.corp ip4i eth1 rr ip6i.test.corp ip6i eth1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1.1.1.1 ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 ip4a.test.corp vrf v1 r2 tping 100 15 ip6a.test.corp vrf v1 r2 tping 100 15 ip4i.test.corp vrf v1 r2 tping 100 15 ip6i.test.corp vrf v1 freeRtr-24.11.16/cfg/serv-dns02.tst 0000664 0000000 0000000 00000001462 14716276021 0016566 0 ustar 00root root 0000000 0000000 description recursive dns server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr www.test.corp ip4a 1.1.1.1 vrf v1 exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit server dns dns recur ena vrf v1 exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1.1.1.1 ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 15 www.test.corp vrf v1 r1 tping 100 15 www.test.corp vrf v1 freeRtr-24.11.16/cfg/serv-dns03.tst 0000664 0000000 0000000 00000001503 14716276021 0016563 0 ustar 00root root 0000000 0000000 description relaying dns server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr www.test.corp ip4a 1.1.1.1 vrf v1 exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit proxy-profile p1 vrf v1 source ethernet1 exit server dns dns resolv test.corp p1 1234::1 vrf v1 exit client proxy p1 client name-server 1.1.1.1 ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 15 www.test.corp vrf v1 r1 tping 100 15 www.test.corp vrf v1 freeRtr-24.11.16/cfg/serv-dns04.tst 0000664 0000000 0000000 00000001502 14716276021 0016563 0 ustar 00root root 0000000 0000000 description dns64 server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1111:1111 ffff:: exit server dns dns zone test.corp defttl 43200 rr www.test.corp ip4a 17.17.17.17 vrf v1 exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1234::2 ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit server dns dns recursion 6to4prefix 1234:: recursion enable vrf v1 exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1.1.1.1 ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 1234::1111:1111 vrf v1 r1 tping 100 15 www.test.corp vrf v1 ipv6 freeRtr-24.11.16/cfg/serv-dns05.tst 0000664 0000000 0000000 00000002050 14716276021 0016563 0 ustar 00root root 0000000 0000000 description secondary dns server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr test.corp soa ns.test.corp admin.test.corp 20100101 600 600 600000 30 rr ip4a.test.corp ip4a 1.1.1.1 rr ip6a.test.corp ip6a 1234::1 rr ip4i.test.corp ip4i eth1 rr ip6i.test.corp ip6i eth1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit server dns dns zone test.corp defttl 43200 vrf v1 exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1.1.1.2 ! r2 tping 100 15 1.1.1.1 vrf v1 r2 send conf t r2 send server dns dns r2 send zone test.corp redownload p1 1.1.1.1 r2 send exit r2 send end r2 tping 100 15 ip4a.test.corp vrf v1 r2 tping 100 15 ip6a.test.corp vrf v1 r2 tping 100 15 ip4i.test.corp vrf v1 r2 tping 100 15 ip6i.test.corp vrf v1 freeRtr-24.11.16/cfg/serv-dyndest.tst 0000664 0000000 0000000 00000002063 14716276021 0017310 0 ustar 00root root 0000000 0000000 description dynamic tunnel destination addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr www.test.corp ip4a 1.1.1.1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.123 tunnel domain-name www.test.corp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1.1.1.1 ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 www.test.corp vrf v1 r2 tping 0 5 2.2.2.1 r2 send clear tunnel-domain r2 tping 100 15 2.2.2.1 freeRtr-24.11.16/cfg/serv-eventmgr.tst 0000664 0000000 0000000 00000001220 14716276021 0017457 0 ustar 00root root 0000000 0000000 description event manager addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: shutdown exit event-manager test event .* testing .* tcl exec "test logging debug hello there" tcl config "int eth1" "no shut" exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit ! r1 send test logging debug testing 123 r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 1234::1 vrf v1 r1 tping 100 15 1.1.1.2 vrf v1 r1 tping 100 15 1234::2 vrf v1 freeRtr-24.11.16/cfg/serv-forward.tst 0000664 0000000 0000000 00000001762 14716276021 0017307 0 ustar 00root root 0000000 0000000 description forwarder server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server telnet tel vrf v1 port 6666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit server forwarder fwd port 666 target vrf v1 target address 1.1.1.1 target protocol tcp target port 6666 vrf v1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 2.2.2.3 vrf v1 r3 send telnet 2.2.2.2 666 vrf v1 r3 tping 100 15 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/serv-loadbal.tst 0000664 0000000 0000000 00000001702 14716276021 0017233 0 ustar 00root root 0000000 0000000 description load balancer server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit server telnet tel vrf v1 port 6666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit server loadbalancer lb server 10 1.1.1.1 6666 port 666 vrf v1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 2.2.2.3 vrf v1 r3 send telnet 2.2.2.2 666 vrf v1 r3 tping 100 15 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/serv-proxy.tst 0000664 0000000 0000000 00000002301 14716276021 0017012 0 ustar 00root root 0000000 0000000 description proxy server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit proxy-profile p1 protocol http vrf v1 target 1.1.1.2 port 80 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit server http http vrf v1 proxy p1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit int lo0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:: exit server telnet telnet vrf v1 exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 2.2.2.3 vrf v1 r1 tping 0 5 3.3.3.3 vrf v1 r1 send telnet 2.2.2.3 prox p1 r1 tping 100 15 3.3.3.3 vrf v1 r1 send exit r1 read closed r1 tping 0 5 3.3.3.3 vrf v1 r1 send telnet 4321::3 prox p1 r1 tping 100 15 3.3.3.3 vrf v1 r1 send exit r1 read closed freeRtr-24.11.16/cfg/serv-radius.tst 0000664 0000000 0000000 00000001512 14716276021 0017123 0 ustar 00root root 0000000 0000000 description radius server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit client proxy p1 int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit aaa radius rad secret tester server 1.1.1.2 exit server telnet tel login authentication rad vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit aaa userlist usr username c password c username c privilege 14 exit server radius rad authen usr secret tester logg vrf v1 exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 send c r2 send c r2 tping 100 15 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/serv-scheduler.tst 0000664 0000000 0000000 00000002100 14716276021 0017604 0 ustar 00root root 0000000 0000000 description scheduler addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.2 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.0 ipv6 addr 4321::1 ffff:: exit server dns dns zone test.corp defttl 43200 rr www.test.corp ip4a 1.1.1.1 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int tun1 tunnel vrf v1 tunnel mode gre tunnel source ethernet1 tunnel destination 1.1.1.123 tunnel domain-name www.test.corp vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit proxy-profile p1 vrf v1 source ethernet1 exit client proxy p1 client name-server 1.1.1.1 scheduler tun time 3000 delay 5000 command clear tunnel-domain start exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 www.test.corp vrf v1 r2 tping 100 15 2.2.2.1 freeRtr-24.11.16/cfg/serv-sdwan01.tst 0000664 0000000 0000000 00000005741 14716276021 0017121 0 ustar 00root root 0000000 0000000 description sdwan over ipv4 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.2 0.0.0.1 3 ipv6 pool p6 2222::2 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr dyn dyn ipv6 addr dyn dyn exit vpdn sdw int di1 target 1.1.1.99 proxy p1 pref ipv4 user u pass p proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr dyn dyn ipv6 addr dyn dyn exit vpdn sdw int di1 target 1.1.1.99 proxy p1 pref ipv4 user u pass p proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr dyn dyn ipv6 addr dyn dyn exit vpdn sdw int di1 target 1.1.1.99 proxy p1 pref ipv4 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 100 60 2222::4 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan02.tst 0000664 0000000 0000000 00000005741 14716276021 0017122 0 ustar 00root root 0000000 0000000 description sdwan over ipv6 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.2 0.0.0.1 3 ipv6 pool p6 2222::2 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr dyn dyn ipv6 addr dyn dyn exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr dyn dyn ipv6 addr dyn dyn exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr dyn dyn ipv6 addr dyn dyn exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 100 60 2222::4 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan03.tst 0000664 0000000 0000000 00000006230 14716276021 0017115 0 ustar 00root root 0000000 0000000 description sdwan with fixed addresses addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 100 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 100 60 2222::4 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan04.tst 0000664 0000000 0000000 00000006247 14716276021 0017126 0 ustar 00root root 0000000 0000000 description sdwan hub and spoke addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 username h password p exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 hub h vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user h pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 0 60 2.2.2.3 vrf v1 r2 tping 100 60 2.2.2.4 vrf v1 r3 tping 0 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 100 60 2.2.2.4 vrf v1 r4 tping 100 60 2.2.2.2 vrf v1 r4 tping 100 60 2.2.2.3 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 0 60 2222::3 vrf v1 r2 tping 100 60 2222::4 vrf v1 r3 tping 0 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 100 60 2222::4 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 100 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan05.tst 0000664 0000000 0000000 00000006046 14716276021 0017124 0 ustar 00root root 0000000 0000000 description sdwan with mixed addresses addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.2 vrf v1 r4 tping 0 60 2.2.2.3 vrf v1 r4 tping 0 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 0 60 2222::3 vrf v1 r2 tping 100 60 2222::4 vrf v1 r3 tping 0 60 2222::2 vrf v1 r3 tping 0 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 100 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan06.tst 0000664 0000000 0000000 00000006232 14716276021 0017122 0 ustar 00root root 0000000 0000000 description sdwan with l2tp2 and l2tp3 addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para l3tp proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para l3tp proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 0 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 0 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 0 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan07.tst 0000664 0000000 0000000 00000006265 14716276021 0017131 0 ustar 00root root 0000000 0000000 description sdwan with l2tp2 and gre addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para gre proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para gre proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 0 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 0 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan08.tst 0000664 0000000 0000000 00000006265 14716276021 0017132 0 ustar 00root root 0000000 0000000 description sdwan with l2tp2 and amt addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para amt proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para amt proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 0 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 0 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan09.tst 0000664 0000000 0000000 00000006265 14716276021 0017133 0 ustar 00root root 0000000 0000000 description sdwan with l2tp2 and gtp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para gtp proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para gtp proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 0 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 0 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan10.tst 0000664 0000000 0000000 00000006270 14716276021 0017117 0 ustar 00root root 0000000 0000000 description sdwan with l2tp2 and icmp addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para icmp proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para icmp proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 0 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 0 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-sdwan11.tst 0000664 0000000 0000000 00000006270 14716276021 0017120 0 ustar 00root root 0000000 0000000 description sdwan with l2tp2 and tmux addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ int eth2 eth 0000.0000.1111 $2a$ $2b$ int eth3 eth 0000.0000.3333 $3a$ $3b$ ! aaa userlist usr username u password p username u privilege 14 exit crypto rsakey rsa generate 2048 crypto dsakey dsa generate 1024 crypto ecdsakey ecdsa generate 256 vrf def v1 rd 1:1 exit int lo0 vrf for v1 ipv4 addr 1.1.1.99 255.255.255.255 ipv6 addr 1234::99 ffff:ffff:: exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 ipv6 addr 1234:1::1 ffff:ffff:: exit int eth2 vrf for v1 ipv4 addr 1.1.1.5 255.255.255.252 ipv6 addr 1234:2::1 ffff:ffff:: exit int eth3 vrf for v1 ipv4 addr 1.1.1.9 255.255.255.252 ipv6 addr 1234:3::1 ffff:ffff:: exit ipv4 pool p4 2.2.2.222 0.0.0.1 3 ipv6 pool p6 2222::222 ::1 3 server sdwan v9 security authentication usr security rsakey rsa security dsakey dsa security ecdsakey ecdsa pool4 p4 pool6 p6 vrf v1 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 ipv6 addr 1234:1::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.1 ipv6 route v1 :: :: 1234:1::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 2222::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para tmux proto sdwan exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.6 255.255.255.252 ipv6 addr 1234:2::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.5 ipv6 route v1 :: :: 1234:2::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.3 255.255.255.255 ipv6 addr 2222::3 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p para tmux proto sdwan exit ! addrouter r4 int eth1 eth 0000.0000.4444 $3b$ $3a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.10 255.255.255.252 ipv6 addr 1234:3::2 ffff:ffff:: exit ipv4 route v1 0.0.0.0 0.0.0.0 1.1.1.9 ipv6 route v1 :: :: 1234:3::1 proxy-profile p1 vrf v1 source eth1 exit int di1 enc raw vrf for v1 ipv4 addr 2.2.2.4 255.255.255.255 ipv6 addr 2222::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit vpdn sdw int di1 target 1234::99 proxy p1 pref ipv6 user u pass p calling 1701 proto sdwan exit ! r1 tping 100 60 1.1.1.2 vrf v1 r1 tping 100 60 1.1.1.6 vrf v1 r1 tping 100 60 1.1.1.10 vrf v1 r1 tping 100 60 1234:1::2 vrf v1 r1 tping 100 60 1234:2::2 vrf v1 r1 tping 100 60 1234:3::2 vrf v1 r2 tping 100 60 2.2.2.2 vrf v1 r2 tping 100 60 2.2.2.3 vrf v1 r2 tping 0 60 2.2.2.4 vrf v1 r3 tping 100 60 2.2.2.2 vrf v1 r3 tping 100 60 2.2.2.3 vrf v1 r3 tping 0 60 2.2.2.4 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 0 60 2.2.2.0 vrf v1 r4 tping 100 60 2.2.2.4 vrf v1 r2 tping 100 60 2222::2 vrf v1 r2 tping 100 60 2222::3 vrf v1 r2 tping 0 60 2222::4 vrf v1 r3 tping 100 60 2222::2 vrf v1 r3 tping 100 60 2222::3 vrf v1 r3 tping 0 60 2222::4 vrf v1 r4 tping 0 60 2222::2 vrf v1 r4 tping 0 60 2222::3 vrf v1 r4 tping 100 60 2222::4 vrf v1 freeRtr-24.11.16/cfg/serv-socks4.tst 0000664 0000000 0000000 00000002131 14716276021 0017040 0 ustar 00root root 0000000 0000000 description socks4 server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit proxy-profile p1 protocol socks4 vrf v1 target 1.1.1.2 port 1080 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit server socks socks vrf v1 target vrf v1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit int lo0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:: exit server telnet telnet vrf v1 exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 2.2.2.3 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 15 4321::3 vrf v1 r1 tping 0 5 3.3.3.3 vrf v1 r1 send telnet 2.2.2.3 prox p1 r1 tping 100 15 3.3.3.3 vrf v1 freeRtr-24.11.16/cfg/serv-socks5.tst 0000664 0000000 0000000 00000002354 14716276021 0017050 0 ustar 00root root 0000000 0000000 description socks5 server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit proxy-profile p1 protocol socks5 vrf v1 target 1234::2 port 1080 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit server socks socks vrf v1 target vrf v1 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit int lo0 vrf for v1 ipv4 addr 3.3.3.3 255.255.255.255 ipv6 addr 3333::3 ffff:: exit server telnet telnet vrf v1 exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 2.2.2.3 vrf v1 r2 tping 100 15 1234::1 vrf v1 r2 tping 100 15 4321::3 vrf v1 r1 tping 0 5 3.3.3.3 vrf v1 r1 send telnet 2.2.2.3 prox p1 r1 tping 100 15 3.3.3.3 vrf v1 r1 send exit r1 read closed r1 tping 0 5 3.3.3.3 vrf v1 r1 send telnet 4321::3 prox p1 r1 tping 100 15 3.3.3.3 vrf v1 r1 send exit r1 read closed freeRtr-24.11.16/cfg/serv-tacacs.tst 0000664 0000000 0000000 00000001512 14716276021 0017072 0 ustar 00root root 0000000 0000000 description tacacs server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit proxy-profile p1 vrf v1 exit client proxy p1 int lo0 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit aaa tacacs tac secret tester server 1.1.1.2 exit server telnet tel login authentication tac vrf v1 port 666 exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit aaa userlist usr username c password c username c privilege 14 exit server tacacs tac authen usr secret tester logg vrf v1 exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 send telnet 1.1.1.1 666 vrf v1 r2 send c r2 send c r2 tping 100 15 2.2.2.2 vrf v1 freeRtr-24.11.16/cfg/serv-udpforward.tst 0000664 0000000 0000000 00000002317 14716276021 0020015 0 ustar 00root root 0000000 0000000 description udp forwarder server addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.0 ipv6 addr 1234::1 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 1.1.1.2 tun key 4321 tun mod pckoudp vrf for v1 ipv4 addr 3.3.3.1 255.255.255.0 ipv6 addr 3333::1 ffff:: exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ int eth2 eth 0000.0000.2222 $2a$ $2b$ ! vrf def v1 rd 1:1 exit vrf def v2 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.0 ipv6 addr 1234::2 ffff:: exit int eth2 vrf for v2 ipv4 addr 2.2.2.2 255.255.255.0 ipv6 addr 4321::2 ffff:: exit server udpfwd fwd port 1234 target vrf v1 target address 1.1.1.1 target port 4321 vrf v2 exit ! addrouter r3 int eth1 eth 0000.0000.3333 $2b$ $2a$ ! vrf def v1 rd 1:1 exit int eth1 vrf for v1 ipv4 addr 2.2.2.3 255.255.255.0 ipv6 addr 4321::3 ffff:: exit int tun1 tun vrf v1 tun sou eth1 tun dest 2.2.2.2 tun key 1234 tun mod pckoudp vrf for v1 ipv4 addr 3.3.3.2 255.255.255.0 ipv6 addr 3333::2 ffff:: exit ! r2 tping 100 15 1.1.1.1 vrf v1 r2 tping 100 15 2.2.2.3 vrf v2 r3 tping 100 15 3.3.3.1 vrf v1 r3 tping 100 15 3333::1 vrf v1 freeRtr-24.11.16/cfg/temp-babel.tmpl 0000664 0000000 0000000 00000001743 14716276021 0017037 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router babel4 1 vrf v1 router 0000.$thisMac1$ red conn exit router babel6 1 vrf v1 router 0000.$thisMac1$ red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router babel4 1 ena router babel6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router babel4 1 ena router babel6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit freeRtr-24.11.16/cfg/temp-bgp.tmpl 0000664 0000000 0000000 00000002165 14716276021 0016541 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:1:: 2001:db8:2:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit router bgp4 1 vrf v1 address uni local-as $thisNum$ router-id $thisLoop4a$ neigh $prevNet4a1$ remote-as $prevNum$ neigh $thisNet4a2$ remote-as $nextNum$ red conn exit router bgp6 1 vrf v1 address uni local-as $thisNum$ router-id $thisLoop4a$ neigh $prevNet6a1$ remote-as $prevNum$ neigh $thisNet6a2$ remote-as $nextNum$ red conn exit freeRtr-24.11.16/cfg/temp-eigrp.tmpl 0000664 0000000 0000000 00000001751 14716276021 0017077 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router eigrp4 1 vrf v1 as 1 router $thisLoop4a$ red conn exit router eigrp6 1 vrf v1 as 1 router $thisLoop4a$ red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router eigrp4 1 ena router eigrp6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router eigrp4 1 ena router eigrp6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit freeRtr-24.11.16/cfg/temp-isis.tmpl 0000664 0000000 0000000 00000002167 14716276021 0016742 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router isis4 1 vrf v1 net 48.$thisMac1$.00 traffeng $thisLoop4a$ both traff red conn exit router isis6 1 vrf v1 net 48.$thisMac1$.00 traffeng $thisLoop4a$ both traff red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1.4 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 router isis4 1 ena mpls enable mpls rsvp4 mpls ldp4 exit int eth1.6 vrf for v1 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router isis6 1 ena mpls enable mpls rsvp6 mpls ldp6 exit int eth2.4 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 router isis4 1 ena mpls enable mpls rsvp4 mpls ldp4 exit int eth2.6 vrf for v1 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router isis6 1 ena mpls enable mpls rsvp6 mpls ldp6 exit freeRtr-24.11.16/cfg/temp-lsrp.tmpl 0000664 0000000 0000000 00000001727 14716276021 0016754 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router lsrp4 1 vrf v1 router $thisLoop4a$ red conn exit router lsrp6 1 vrf v1 router $thisLoop4a$ red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router lsrp4 1 ena router lsrp6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router lsrp4 1 ena router lsrp6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit freeRtr-24.11.16/cfg/temp-olsr.tmpl 0000664 0000000 0000000 00000001655 14716276021 0016753 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router olsr4 1 vrf v1 red conn exit router olsr6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router olsr4 1 ena router olsr6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router olsr4 1 ena router olsr6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit freeRtr-24.11.16/cfg/temp-ospf.tmpl 0000664 0000000 0000000 00000002071 14716276021 0016734 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router ospf4 1 vrf v1 router $thisLoop4a$ traffeng $thisLoop4a$ area 0 ena area 0 traff red conn exit router ospf6 1 vrf v1 router $thisLoop4a$ traffeng $thisLoop4a$ area 0 ena area 0 traff red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router ospf4 1 ena router ospf6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router ospf4 1 ena router ospf6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit freeRtr-24.11.16/cfg/temp-pvrp.tmpl 0000664 0000000 0000000 00000001671 14716276021 0016761 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router pvrp4 1 vrf v1 router $thisLoop4a$ red conn label exit router pvrp6 1 vrf v1 router $thisLoop4a$ red conn label exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router pvrp4 1 ena router pvrp6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router pvrp4 1 ena router pvrp6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit freeRtr-24.11.16/cfg/temp-rift.tmpl 0000664 0000000 0000000 00000001667 14716276021 0016743 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router rift4 1 vrf v1 router $thisSock1$ red conn label exit router rift6 1 vrf v1 router $thisSock1$ red conn label exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router rift4 1 ena router rift6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router rift4 1 ena router rift6 1 ena mpls enable mpls rsvp4 mpls rsvp6 exit freeRtr-24.11.16/cfg/temp-rip.tmpl 0000664 0000000 0000000 00000001647 14716276021 0016567 0 ustar 00root root 0000000 0000000 10.1.0.0 10.2.0.0 2001:db8:: fe80:: 0000.1111.0000 int eth1 eth $thisMac1$ $thisSock1$ $prevSock2$ int eth2 eth $thisMac1$ $thisSock2$ $nextSock1$ hostname r$thisNum$ vrf def v1 rd 1:1 label-mode per-prefix exit server telnet tel vrf v1 exit router rip4 1 vrf v1 red conn exit router rip6 1 vrf v1 red conn exit int lo1 vrf for v1 ipv4 addr $thisLoop4a$ 255.255.255.255 ipv6 addr $thisLoop6a$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mpls rsvp4 mpls rsvp6 exit int eth1 vrf for v1 ipv4 addr $prevNet4a2$ 255.255.255.252 ipv6 addr $prevNet6a2$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router rip4 1 ena router rip6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit int eth2 vrf for v1 ipv4 addr $thisNet4a1$ 255.255.255.252 ipv6 addr $thisNet6a1$ ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc router rip4 1 ena router rip6 1 ena mpls enable mpls rsvp4 mpls rsvp6 mpls ldp4 mpls ldp6 exit freeRtr-24.11.16/changelog.txt 0000664 0000000 0000000 00002362331 14716276021 0016067 0 ustar 00root root 0000000 0000000 ---------------------------------- 2012-08-06 22:15:25 qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: proxy server todo: exception prt.prtGenConn.run:prtGenConn.java:439 java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched:Timer.java:354/java.util.Timer.schedule:Timer.java:222/ip.ipIfc4arp.resetTimer:ipIfc4arp.java:147/ip.ipIfc4arp.setIPv4addr:ipIfc4arp.java:134/ip.ipIfc4.setIPv4addr:ipIfc4.java:127/cfg.cfgIfc.addrChanged:cfgIfc.java:978/clnt.clntDhcp4.changeAddress:clntDhcp4.java:227/clnt.clntDhcp4.sendKeepalive:clntDhcp4.java:371/clnt.clntDhcp4.datagramWork:clntDhcp4.java:258/prt.prtGenConn.internalWorker:prtGenConn.java:389/prt.prtGenConn.run:prtGenConn.java:429/java.lang.Thread.run:Thread.java:662/ ---------------------------------- 2012-08-07 23:05:41 no todo: openssl as crypto hardware no todo: encrypt within packHolder qc pass: bgp nexthop peer todo: rout-mcast02.tst: info cfg.cfgInit.executeSWcommands:cfgInit.java:315 15:java.lang.NullPointerException at pack.packPim.fillJoin:packPim.java:466/rtr.rtrPimIface.sendJoin:rtrPimIface.java:231/ip.ipFwdTab.joinOneGroup:ipFwdTab.java:515/ip.ipFwd.mcastAddFlood:ipFwd.java:426/user.userConfig.parseUpMcast:userConfig.java:1364/user.userConfig.doCmdIp4:userConfig.java:1502/user.userConfig.doGlobal:userConfig.java:600/user.userConfig.executeCommand:userConfig.java:209/cfg.cfgInit.executeSWcommands:cfgInit.java:313/cfg.cfgInit.doInit:cfgInit.java:403/cfg.cfgInit.doMain:cfgInit.java:496/router.main:router.java:17/ todo: encrypt within packHolder, openssl as crypto hardware ---------------------------------- 2012-09-01 13:44:59 no qc pass: rip egress route filtering with prefixlist no qc pass: rip in chain no qc pass: dhcp no work: dhcp qc pass: point2point ethernet encapsulation qc pass: more sources translation to interface no work: rip in chain no work: rip egress route filtering with prefixlist todo: exception prt.prtGenConn.run:prtGenConn.java:439 java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched:Timer.java:354/java.util.Timer.schedule:Timer.java:222/ip.ipIfc4arp.resetTimer:ipIfc4arp.java:147/ip.ipIfc4arp.setIPv4addr:ipIfc4arp.java:134/ip.ipIfc4.setIPv4addr:ipIfc4.java:127/cfg.cfgIfc.addrChanged:cfgIfc.java:978/clnt.clntDhcp4.changeAddress:clntDhcp4.java:227/clnt.clntDhcp4.sendKeepalive:clntDhcp4.java:371/clnt.clntDhcp4.datagramWork:clntDhcp4.java:258/prt.prtGenConn.internalWorker:prtGenConn.java:389/prt.prtGenConn.run:prtGenConn.java:429/java.lang.Thread.run:Thread.java:662/ todo: rout-mcast02.tst: info cfg.cfgInit.executeSWcommands:cfgInit.java:315 15:java.lang.NullPointerException at pack.packPim.fillJoin:packPim.java:466/rtr.rtrPimIface.sendJoin:rtrPimIface.java:231/ip.ipFwdTab.joinOneGroup:ipFwdTab.java:515/ip.ipFwd.mcastAddFlood:ipFwd.java:426/user.userConfig.parseUpMcast:userConfig.java:1364/user.userConfig.doCmdIp4:userConfig.java:1502/user.userConfig.doGlobal:userConfig.java:600/user.userConfig.executeCommand:userConfig.java:209/cfg.cfgInit.executeSWcommands:cfgInit.java:313/cfg.cfgInit.doInit:cfgInit.java:403/cfg.cfgInit.doMain:cfgInit.java:496/router.main:router.java:17/ ---------------------------------- 2012-09-01 18:59:12 no qc pass: rip egress route filtering with routemap no work: rip egress route filtering with routemap ---------------------------------- 2012-09-02 17:27:45 no qc pass: rip with bfd qc pass: dhcp qc pass: interworking with packet over dtls qc pass: ppp with packet over dtls qc pass: rip in chain qc pass: rip egress route filtering with prefixlist no work: rip with bfd ---------------------------------- 2012-09-03 04:05:40 no qc pass: rip egress route filtering with prefixlist no qc pass: dhcp no work: dhcp no work: rip egress route filtering with prefixlist qc pass: rip with bfd ---------------------------------- 2012-09-03 10:38:26 qc pass: ppp with packet over tcp qc pass: rip egress route filtering with routemap ---------------------------------- 2012-09-03 17:52:36 no qc pass: qos ingress exp set no qc pass: macsec over hdlc no qc pass: process redundancy no work: process redundancy no work: macsec over hdlc no work: qos ingress exp set qc pass: rip egress route filtering with prefixlist ---------------------------------- 2012-09-04 04:21:04 qc pass: process redundancy qc pass: macsec over hdlc qc pass: qos ingress exp set ---------------------------------- 2012-09-04 07:29:42 no todo: cross compiler tools for zzz no todo: more packages, eg rtr.ospf, etc... ---------------------------------- 2012-09-04 14:18:35 qc pass: dhcp qc pass: ppp with packet over tls ---------------------------------- 2012-09-04 17:24:43 qc pass: ppp with packet over txt ---------------------------------- 2012-09-05 16:35:06 no todo: configure buffer with commit: sh run all-on egy szovegszerkeszto... no todo: rout-mcast02.tst: info cfg.cfgInit.executeSWcommands:cfgInit.java:315 15:java.lang.NullPointerException at pack.packPim.fillJoin:packPim.java:466/rtr.rtrPimIface.sendJoin:rtrPimIface.java:231/ip.ipFwdTab.joinOneGroup:ipFwdTab.java:515/ip.ipFwd.mcastAddFlood:ipFwd.java:426/user.userConfig.parseUpMcast:userConfig.java:1364/user.userConfig.doCmdIp4:userConfig.java:1502/user.userConfig.doGlobal:userConfig.java:600/user.userConfig.executeCommand:userConfig.java:209/cfg.cfgInit.executeSWcommands:cfgInit.java:313/cfg.cfgInit.doInit:cfgInit.java:403/cfg.cfgInit.doMain:cfgInit.java:496/router.main:router.java:17/ no todo: exception prt.prtGenConn.run:prtGenConn.java:439 java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched:Timer.java:354/java.util.Timer.schedule:Timer.java:222/ip.ipIfc4arp.resetTimer:ipIfc4arp.java:147/ip.ipIfc4arp.setIPv4addr:ipIfc4arp.java:134/ip.ipIfc4.setIPv4addr:ipIfc4.java:127/cfg.cfgIfc.addrChanged:cfgIfc.java:978/clnt.clntDhcp4.changeAddress:clntDhcp4.java:227/clnt.clntDhcp4.sendKeepalive:clntDhcp4.java:371/clnt.clntDhcp4.datagramWork:clntDhcp4.java:258/prt.prtGenConn.internalWorker:prtGenConn.java:389/prt.prtGenConn.run:prtGenConn.java:429/java.lang.Thread.run:Thread.java:662/ qc pass: ppp with packet over txtls todo: configure buffer with commit ---------------------------------- 2012-09-18 13:46:24 no qc pass: tls test no qc pass: ssh test no qc pass: macsec over tunnel no qc pass: macsec over atmsar no qc pass: macsec over atmdxi no qc pass: macsec over framerelay no qc pass: macsec over ppp no qc pass: macsec over hdlc no qc pass: macsec over ethernet bridge no qc pass: macsec over ethernet vlan no qc pass: macsec over ethernet no qc pass: ike2 with aes256 no qc pass: ike2 with aes192 no qc pass: ike1 with aes256 no qc pass: ike1 with aes192 no qc pass: dtls test no qc pass: ppp over tls no qc pass: ppp with packet over txtls no qc pass: ppp with packet over tls no qc pass: ppp with packet over dtls no work: ppp with packet over dtls no work: ppp with packet over tls no work: ppp with packet over txtls no work: ppp over tls no work: dtls test no work: ike1 with aes192 no work: ike1 with aes256 no work: ike2 with aes192 no work: ike2 with aes256 no work: macsec over ethernet no work: macsec over ethernet vlan no work: macsec over ethernet bridge no work: macsec over hdlc no work: macsec over ppp no work: macsec over framerelay no work: macsec over atmdxi no work: macsec over atmsar no work: macsec over tunnel no work: ssh test no work: tls test ---------------------------------- 2012-10-15 19:48:19 qc pass: ppp with packet over dtls qc pass: ppp with packet over tls qc pass: ppp with packet over txtls qc pass: ppp over tls qc pass: dtls test qc pass: ike1 with aes192 qc pass: ike1 with aes256 qc pass: ike2 with aes192 qc pass: ike2 with aes256 qc pass: macsec over ethernet qc pass: macsec over ethernet vlan qc pass: macsec over ethernet bridge qc pass: macsec over hdlc qc pass: macsec over ppp qc pass: macsec over framerelay qc pass: macsec over atmdxi qc pass: macsec over atmsar qc pass: macsec over tunnel qc pass: ssh test qc pass: tls test ---------------------------------- 2012-10-16 07:41:43 no todo: ip inspect with local termination and proxyprofile transport qc pass: telnet inspection ---------------------------------- 2012-10-16 15:59:34 no qc pass: rip metric no work: rip metric ---------------------------------- 2012-10-23 01:16:02 qc pass: rip metric ---------------------------------- 2012-10-25 22:38:56 no qc pass: macsec over framerelay no qc pass: macsec over ppp no work: macsec over ppp no work: macsec over framerelay ---------------------------------- 2012-10-30 23:20:16 qc pass: macsec over ppp ---------------------------------- 2012-11-01 01:04:40 qc pass: macsec over framerelay ---------------------------------- 2012-11-08 20:14:45 no todo: configure buffer with commit no qc pass: macsec over framerelay no work: macsec over framerelay ---------------------------------- 2012-11-14 22:09:31 qc pass: macsec over framerelay ---------------------------------- 2012-11-21 23:19:20 no todo: dmz-link-bw bgp neighbor command no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf point2multipoint connection no qc pass: isis chain of broadcast nets no qc pass: lapb mod32768 no work: lapb mod32768 no work: isis chain of broadcast nets no work: ospf point2multipoint connection no work: ospf point2point chain no work: ospf broadcast chain ---------------------------------- 2012-11-22 18:11:21 qc pass: lapb mod32768 qc pass: isis chain of broadcast nets qc pass: ospf point2multipoint connection qc pass: ospf point2point chain qc pass: ospf broadcast chain ---------------------------------- 2012-11-27 14:11:29 qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd ---------------------------------- 2012-11-27 17:31:44 no qc pass: rip metric no qc pass: rip in chain qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: redistribution with pvrp no work: rip in chain no work: rip metric ---------------------------------- 2012-11-28 21:54:31 qc pass: pvrp authentication qc pass: rip in chain ---------------------------------- 2012-11-29 03:22:39 no qc pass: rip in chain no work: rip in chain qc pass: rip metric ---------------------------------- 2012-11-29 20:21:36 no qc pass: rip metric no work: rip metric ---------------------------------- 2012-12-01 07:18:50 qc pass: rip metric ---------------------------------- 2012-12-01 14:39:11 qc pass: pvrp ssh encryption qc pass: pvrp tls encryption ---------------------------------- 2012-12-02 00:20:22 no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no qc pass: bgp route server no qc pass: vpns over ibgp no qc pass: vpns over ebgp no qc pass: ebgp with bfd no qc pass: ibgp with labels no qc pass: ebgp with labels no qc pass: bgp filtering with extended community no qc pass: bgp origin vs metric no qc pass: bgp aspath vs origin no qc pass: bgp locpref vs aspath no qc pass: bgp metric no qc pass: bgp origin no qc pass: bgp aspath no qc pass: bgp locpref no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: bgp egress route filtering with routemap no qc pass: bgp ingress route filtering with routemap no qc pass: bgp egress route filtering with prefixlist no qc pass: bgp ingress route filtering with prefixlist no qc pass: bgp default route no qc pass: ibgp with long as number no qc pass: ebgp with long as number no qc pass: ibgp with mpls no qc pass: ibgp over loopback no qc pass: ebgp over loopback no qc pass: ibgp rr in subnet no qc pass: ibgp fullmesh in subnet no qc pass: ibgp in subnet no qc pass: confed bgp in subnet no qc pass: ebgp in subnet no qc pass: ibgp in chain no qc pass: confed bgp in chain no qc pass: ebgp in chain no qc pass: qos egress exp set no qc pass: qos ingress exp set no qc pass: qos cos set no qc pass: qos egress prec set no qc pass: qos ingress prec set no qc pass: qos ingress dscp set no qc pass: qos ingress tos set no qc pass: qos egress acl matcher no qc pass: qos ingress acl matcher no qc pass: qos egress prec matcher no qc pass: qos ingress prec matcher no qc pass: qos egress dscp matcher no qc pass: qos egress length matcher no qc pass: qos egress shaper action no qc pass: qos ingress shaper action no qc pass: qos egress bandwidth action no qc pass: qos ingress bandwidth action no qc pass: qos egress priority action no qc pass: qos ingress priority action no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: qos egress drop action no qc pass: qos ingress drop action no qc pass: qos egress transmit action no qc pass: qos ingress transmit action no work: qos ingress transmit action no work: qos egress transmit action no work: qos ingress drop action no work: qos egress drop action no work: qos ingress policer action no work: qos egress policer action no work: qos ingress priority action no work: qos egress priority action no work: qos ingress bandwidth action no work: qos egress bandwidth action no work: qos ingress shaper action no work: qos egress shaper action no work: qos egress length matcher no work: qos egress dscp matcher no work: qos ingress prec matcher no work: qos egress prec matcher no work: qos ingress acl matcher no work: qos egress acl matcher no work: qos ingress tos set no work: qos ingress dscp set no work: qos ingress prec set no work: qos egress prec set no work: qos cos set no work: qos ingress exp set no work: qos egress exp set no work: ebgp in chain no work: confed bgp in chain no work: ibgp in chain no work: ebgp in subnet no work: confed bgp in subnet no work: ibgp in subnet no work: ibgp fullmesh in subnet no work: ibgp rr in subnet no work: ebgp over loopback no work: ibgp over loopback no work: ibgp with mpls no work: ebgp with long as number no work: ibgp with long as number no work: bgp default route no work: bgp ingress route filtering with prefixlist no work: bgp egress route filtering with prefixlist no work: bgp ingress route filtering with routemap no work: bgp egress route filtering with routemap no work: bgp filtering with locpref no work: bgp filtering with origin no work: bgp filtering with metric no work: bgp filtering with standard community no work: bgp filtering with aspath no work: bgp locpref no work: bgp aspath no work: bgp origin no work: bgp metric no work: bgp locpref vs aspath no work: bgp aspath vs origin no work: bgp origin vs metric no work: bgp filtering with extended community no work: ebgp with labels no work: ibgp with labels no work: ebgp with bfd no work: vpns over ebgp no work: vpns over ibgp no work: bgp route server no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp egress route filtering with prefixlist no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server ---------------------------------- 2012-12-04 22:08:29 qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos egress length matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress tos set qc pass: qos ingress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server ---------------------------------- 2012-12-07 23:17:11 qc pass: rip in chain ---------------------------------- 2012-12-13 19:04:53 no todo: capture on tunnel interface ---------------------------------- 2012-12-24 01:45:35 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2012-12-24 05:32:50 qc pass: rip in chain ---------------------------------- 2012-12-28 09:04:53 no qc pass: rip metric no work: rip metric ---------------------------------- 2012-12-31 18:39:09 qc pass: rip metric ---------------------------------- 2013-01-03 13:11:08 no todo: range for http server no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-01-03 20:20:00 qc pass: rip in chain ---------------------------------- 2013-01-12 21:02:02 no qc pass: rip metric no qc pass: rip in chain no work: rip in chain no work: rip metric ---------------------------------- 2013-01-13 11:44:59 qc pass: rip in chain qc pass: rip metric ---------------------------------- 2013-01-17 20:59:57 no qc pass: rip in chain no work: rip in chain todo: traceroute ---------------------------------- 2013-01-26 15:52:02 no todo: encrypt within packHolder, openssl as crypto hardware no qc pass: ppp over stun no work: ppp over stun qc pass: rip in chain ---------------------------------- 2013-01-27 08:39:43 no qc pass: rip in chain qc pass: ppp over stun no work: rip in chain ---------------------------------- 2013-01-28 00:15:57 no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip on one subnet no work: rip on one subnet no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd ---------------------------------- 2013-01-28 06:21:50 qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip with bfd ---------------------------------- 2013-01-28 10:04:03 qc pass: rip metric ---------------------------------- 2013-01-29 22:36:06 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-01-30 07:54:27 no todo: traceroute qc pass: rip in chain ---------------------------------- 2013-02-03 17:02:02 no todo: igmp stack qc pass: multicast routing with igmp/mld ---------------------------------- 2013-02-04 21:00:28 no qc pass: rip in chain qc pass: multicast routing with mdlp no work: rip in chain ---------------------------------- 2013-02-05 08:39:32 no qc pass: rip metric no qc pass: multicast routing with mdlp no qc pass: bridged ethernet over bridge no qc pass: bridge with spantree no qc pass: bridged ethernet over gre no qc pass: bridged ethernet over atmsar no qc pass: bridged ethernet over atmdxi no qc pass: bridged ethernet over framerelay no qc pass: bridged ethernet over ppp no qc pass: bridged ethernet over hdlc no qc pass: star bridged ethernet no qc pass: chain bridged ethernet vlan no work: chain bridged ethernet vlan no work: star bridged ethernet no work: bridged ethernet over hdlc no work: bridged ethernet over ppp no work: bridged ethernet over framerelay no work: bridged ethernet over atmdxi no work: bridged ethernet over atmsar no work: bridged ethernet over gre no work: bridge with spantree no work: bridged ethernet over bridge qc pass: multicast routing with mldp qc pass: rip in chain no work: rip metric ---------------------------------- 2013-02-05 12:04:09 no qc pass: rip in chain qc pass: chain bridged ethernet vlan qc pass: star bridged ethernet qc pass: bridged ethernet over hdlc qc pass: bridged ethernet over ppp qc pass: bridged ethernet over framerelay qc pass: bridged ethernet over atmdxi qc pass: bridged ethernet over atmsar qc pass: bridged ethernet over gre qc pass: bridge with spantree qc pass: bridged ethernet over bridge no work: rip in chain qc pass: rip metric ---------------------------------- 2013-02-05 19:04:34 qc pass: rip in chain ---------------------------------- 2013-02-06 12:38:37 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-02-06 17:06:42 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2013-02-06 23:49:07 qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2013-02-07 08:17:15 qc pass: rip in chain ---------------------------------- 2013-02-07 21:22:07 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-02-08 16:08:15 no qc pass: rip metric no work: rip metric ---------------------------------- 2013-02-09 08:11:20 qc pass: rip metric ---------------------------------- 2013-02-12 13:26:36 qc pass: rip in chain ---------------------------------- 2013-02-13 15:27:50 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-02-14 18:58:30 no qc pass: rip metric no work: rip metric ---------------------------------- 2013-02-15 07:55:03 qc pass: rip in chain qc pass: rip metric ---------------------------------- 2013-02-15 14:02:56 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-02-15 18:32:31 no qc pass: rip metric qc pass: rip in chain no work: rip metric ---------------------------------- 2013-02-16 08:33:35 no qc pass: rip in chain no work: rip in chain qc pass: rip metric ---------------------------------- 2013-02-16 18:21:57 qc pass: rip in chain ---------------------------------- 2013-02-17 13:41:52 no qc pass: rip metric no work: rip metric ---------------------------------- 2013-02-17 18:50:32 no qc pass: rip in chain no work: rip in chain qc pass: rip metric ---------------------------------- 2013-02-17 22:03:25 no qc pass: rip metric no qc pass: lapb mod8 no work: lapb mod8 no work: rip metric ---------------------------------- 2013-02-18 11:05:41 qc pass: lapb mod8 qc pass: rip metric ---------------------------------- 2013-02-18 17:05:54 qc pass: rip in chain ---------------------------------- 2013-02-19 09:37:50 no qc pass: rip in chain no work: rip in chain ---------------------------------- 2013-02-21 12:16:27 todo: eigrp http://www.ietf.org/staging/draft-savage-eigrp-00.txt ---------------------------------- 2013-02-25 13:48:08 no qc pass: lapb mod128 no work: lapb mod128 qc pass: rip in chain ---------------------------------- 2013-02-25 19:11:59 qc pass: lapb mod128 ---------------------------------- 2013-02-26 20:59:27 no qc pass: lapb mod32768 no work: lapb mod32768 ---------------------------------- 2013-02-27 08:22:30 qc pass: lapb mod32768 ---------------------------------- 2013-03-01 09:57:46 no qc pass: rip metric no work: rip metric ---------------------------------- 2013-03-01 13:59:33 qc pass: rip metric ---------------------------------- 2013-03-02 22:59:19 no qc pass: lapb mod128 no work: lapb mod128 ---------------------------------- 2013-03-03 12:22:35 qc pass: lapb mod128 ---------------------------------- 2013-03-09 16:19:05 no todo: smallservers clients no todo: show isis/ospf/rip nei display neighbor state no todo: eigrp http://www.ietf.org/staging/draft-savage-eigrp-00.txt qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd ---------------------------------- 2013-03-09 20:19:31 no qc pass: lapb mod8 no work: lapb mod8 qc pass: redistribution with eigrp ---------------------------------- 2013-03-10 09:26:23 qc pass: lapb mod8 ---------------------------------- 2013-03-18 13:44:54 no todo: config exclusive no todo: synchronous modulator todo: sctp ---------------------------------- 2013-03-24 15:55:47 no todo: sctp no qc pass: lapb mod32768 no work: lapb mod32768 ---------------------------------- 2013-03-24 19:09:37 qc pass: lapb mod32768 ---------------------------------- 2013-03-25 14:28:39 no qc pass: lapb mod128 no work: lapb mod128 ---------------------------------- 2013-03-25 20:27:56 no qc pass: lapb mod32768 qc pass: lapb mod128 no work: lapb mod32768 ---------------------------------- 2013-03-25 23:49:15 no qc pass: lapb mod8 no work: lapb mod8 ---------------------------------- 2013-03-26 07:52:14 qc pass: lapb mod32768 ---------------------------------- 2013-03-28 10:45:48 qc pass: lapb mod8 ---------------------------------- 2013-04-06 13:09:41 qc pass: ingress bridged access list qc pass: egress bridged access list ---------------------------------- 2013-04-10 11:35:21 no todo: dhcp6 server, client no todo: dhcp4 relay support no qc pass: lapb mod128 no work: lapb mod128 todo: dhcp relay support ---------------------------------- 2013-04-10 15:07:28 qc pass: lapb mod128 ---------------------------------- 2013-05-11 12:22:47 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip in chain no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with eigrp no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: eigrp with bfd no qc pass: eigrp default route no qc pass: eigrp egress route filtering with routemap no qc pass: eigrp ingress route filtering with routemap no qc pass: eigrp egress route filtering with prefixlist no work: eigrp egress route filtering with prefixlist no work: eigrp ingress route filtering with routemap no work: eigrp egress route filtering with routemap no work: eigrp default route no work: eigrp with bfd no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution with eigrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip in chain no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2013-05-11 15:26:15 qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2013-05-19 16:08:57 qc pass: cross connect hdlc interfaces qc pass: cross connect ppp interfaces qc pass: cross connect lapb interfaces qc pass: cross connect framerelay interfaces qc pass: cross connect atmdxi interfaces qc pass: cross connect ethernet interfaces ---------------------------------- 2013-06-11 20:56:16 no todo: show isis/ospf/rip interface ---------------------------------- 2013-06-23 18:54:02 todo: flash upgra tftp://z/ ---------------------------------- 2013-07-21 07:54:57 no todo: flash upgra tftp://z/ qc pass: ipv4-ipv6 protocol translation ---------------------------------- 2013-07-26 19:50:49 qc pass: pim over ipv4 qc pass: pim over ipv6 qc pass: pim over pim qc pass: pim over loopback ---------------------------------- 2013-08-08 10:07:56 qc pass: ppp with local authentication qc pass: ppp with radius authentication qc pass: ppp with tacacs authentication qc pass: ppp with pap authentication qc pass: ppp with chap authentication qc pass: ppp with eap authentication ---------------------------------- 2013-10-08 09:01:59 qc pass: loadbalancing bundle todo: child router processes ---------------------------------- 2013-10-18 11:00:40 qc pass: ppp over l2tp3 qc pass: ppp over authenticated l2tp2 qc pass: ppp over authenticated l2tp3 qc pass: ppp over authenticated l2tp3 todo: interface template ---------------------------------- 2013-10-20 09:05:09 no todo: interface template ---------------------------------- 2013-10-21 16:06:37 no todo: bgp parameter container qc pass: bgp peer template qc pass: bgp listen qc pass: eigrp peer template qc pass: isis peer template qc pass: ospf peer template qc pass: pvrp peer template qc pass: rip peer template ---------------------------------- 2013-10-22 12:53:52 qc pass: ppp over l2tp3 server qc pass: ppp over authenticated l2tp3 server ---------------------------------- 2013-10-23 20:52:47 no todo: child router processes ---------------------------------- 2013-10-29 17:13:01 qc pass: ppp over l2f qc pass: ppp over authenticated l2f ---------------------------------- 2013-11-10 02:27:05 todo: more interactive tools todo: interactive, colorized diff cli show extension todo: help for interactive tools ---------------------------------- 2013-12-07 13:03:05 no todo: help for interactive tools no todo: interactive, colorized diff cli show extension ---------------------------------- 2013-12-17 16:20:57 qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain no work: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template todo: vpnized browser (xul) todo: trustpoint for certificates todo: more level of config sections todo: tab for deb pro o?-->ospf[4/6] todo: interface name tabbing todo: show upgrade todo: reenabling of routing protocols fails todo: int eth1/int eth2 todo: dhcp relay support todo: sslvpn client, server todo: dlsw client, server todo: tcp selective ack todo: xot, x75 switching todo: ipx, spx switching todo: preallocate qos buffers todo: lisp4, lisp6 todo: nhrp4, nhrp6 todo: l2vpn for isis todo: hip (rfc4423) todo: more show commands todo: more clear commands todo: more interactive tools todo: igmp4/6 snoop, pim4/6 snoop for bridging todo: multilink ppp, fr todo: x25 todo: default vrf for show commands ---------------------------------- 2013-12-17 16:28:12 qc pass: pvrp metric ---------------------------------- 2014-01-03 23:27:08 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip peer template no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip in chain no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with eigrp no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp peer template no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf peer template no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis peer template no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: eigrp peer template no qc pass: eigrp with bfd no qc pass: eigrp default route no qc pass: eigrp egress route filtering with routemap no qc pass: eigrp ingress route filtering with routemap no qc pass: eigrp egress route filtering with prefixlist no qc pass: eigrp ingress route filtering with prefixlist no qc pass: eigrp address suppression no qc pass: eigrp delay no qc pass: eigrp point2point chain no qc pass: eigrp point2multipoint connection no qc pass: eigrp point2point connection no qc pass: bgp listen no qc pass: bgp peer template no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no qc pass: bgp route server no qc pass: vpns over ibgp no qc pass: vpns over ebgp no qc pass: ebgp with bfd no qc pass: ibgp with labels no qc pass: ebgp with labels no qc pass: bgp filtering with extended community no qc pass: bgp origin vs metric no qc pass: bgp aspath vs origin no qc pass: bgp locpref vs aspath no qc pass: bgp metric no qc pass: bgp origin no qc pass: bgp aspath no qc pass: bgp locpref no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: bgp egress route filtering with routemap no qc pass: bgp ingress route filtering with routemap no qc pass: bgp egress route filtering with prefixlist no qc pass: bgp ingress route filtering with prefixlist no qc pass: bgp default route no qc pass: ibgp with long as number no qc pass: ebgp with long as number no qc pass: ibgp with mpls no qc pass: ibgp over loopback no qc pass: ebgp over loopback no qc pass: ibgp rr in subnet no qc pass: ibgp fullmesh in subnet no qc pass: ibgp in subnet no qc pass: confed bgp in subnet no qc pass: ebgp in subnet no qc pass: ibgp in chain no qc pass: confed bgp in chain no qc pass: ebgp in chain no qc pass: qos egress exp set no qc pass: qos ingress exp set no qc pass: qos cos set no qc pass: qos egress prec set no qc pass: qos ingress prec set no qc pass: qos egress dscp set no qc pass: qos ingress dscp set no qc pass: qos egress tos set no qc pass: qos ingress tos set no qc pass: qos ingress qosgroup set no qc pass: qos egress matcher on bridged traffic no qc pass: qos ingress matcher on bridged traffic no qc pass: qos egress ethertype matcher no qc pass: qos ingress ethertype matcher no qc pass: qos egress acl matcher no qc pass: qos ingress acl matcher no qc pass: qos egress prec matcher no qc pass: qos ingress prec matcher no qc pass: qos egress dscp matcher no qc pass: qos ingress dscp matcher no qc pass: qos egress tos matcher no qc pass: qos ingress tos matcher no qc pass: qos egress length matcher no qc pass: qos ingress length matcher no qc pass: qos egress hierarchical action no qc pass: qos ingress hierarchical action no qc pass: qos egress shaper action no qc pass: qos ingress shaper action no qc pass: qos egress bandwidth action no qc pass: qos ingress bandwidth action no qc pass: qos egress priority action no qc pass: qos ingress priority action no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: qos egress drop action no qc pass: qos ingress drop action no qc pass: qos egress transmit action no qc pass: qos ingress transmit action no qc pass: cross connect interworking with erspan no qc pass: cross connect interworking with vxlan no qc pass: cross connect interworking with packet over udp no qc pass: cross connect with erspan no qc pass: cross connect with vxlan no qc pass: cross connect with packet over udp no qc pass: cross connect with pwe over mpls no qc pass: p2mp te tail+mid no qc pass: p2mp te no qc pass: ldp and te no qc pass: pwe over te no qc pass: ldp over te no qc pass: te in chain no qc pass: te over gre no qc pass: te over atmdxi no qc pass: te over framerelay no qc pass: te over ppp no qc pass: te over hdlc no qc pass: te over ethernet bridge no qc pass: te over ethernet vlan no qc pass: te over ethernet no qc pass: tunnel interface with mpls no qc pass: vlan tunneling with mpls no qc pass: ethernet tunneling with mpls no qc pass: atmdxi tunneling with mpls no qc pass: framerelay tunneling with mpls no qc pass: lapb tunneling with mpls no qc pass: ppp tunneling with mpls no qc pass: hdlc tunneling with mpls no qc pass: interworking between l2tp3 and ethernet over mpls no qc pass: multipoint ethernet over mpls no qc pass: vlan over mpls no qc pass: ethernet over mpls no qc pass: port mode ppp over mpls no qc pass: atmdxi over mpls no qc pass: framerelay over mpls no qc pass: lapb over mpls no qc pass: hdlc over mpls no qc pass: ppp over mpls no qc pass: mp2mp ldp tunnel mid+head no qc pass: mp2mp ldp tunnel no qc pass: p2mp ldp tunnel head+mid no qc pass: p2mp ldp tunnel no qc pass: p2p ldp tunnel no qc pass: ldp over hub and spoke subnet no qc pass: ldp over broadcast subnet no qc pass: ldp over gre no qc pass: ldp over atmdxi no qc pass: ldp over framerelay no qc pass: ldp over ppp no qc pass: ldp over hdlc no qc pass: ldp over ethernet bridge no qc pass: ldp over ethernet vlan no qc pass: ldp over ethernet no work: ldp over ethernet no work: ldp over ethernet vlan no work: ldp over ethernet bridge no work: ldp over hdlc no work: ldp over ppp no work: ldp over framerelay no work: ldp over atmdxi no work: ldp over gre no work: ldp over broadcast subnet no work: ldp over hub and spoke subnet no work: p2p ldp tunnel no work: p2mp ldp tunnel no work: p2mp ldp tunnel head+mid no work: mp2mp ldp tunnel no work: mp2mp ldp tunnel mid+head no work: ppp over mpls no work: hdlc over mpls no work: lapb over mpls no work: framerelay over mpls no work: atmdxi over mpls no work: port mode ppp over mpls no work: ethernet over mpls no work: vlan over mpls no work: multipoint ethernet over mpls no work: interworking between l2tp3 and ethernet over mpls no work: hdlc tunneling with mpls no work: ppp tunneling with mpls no work: lapb tunneling with mpls no work: framerelay tunneling with mpls no work: atmdxi tunneling with mpls no work: ethernet tunneling with mpls no work: vlan tunneling with mpls no work: tunnel interface with mpls no work: te over ethernet no work: te over ethernet vlan no work: te over ethernet bridge no work: te over hdlc no work: te over ppp no work: te over framerelay no work: te over atmdxi no work: te over gre no work: te in chain no work: ldp over te no work: pwe over te no work: ldp and te no work: p2mp te no work: p2mp te tail+mid no work: cross connect with pwe over mpls no work: cross connect with packet over udp no work: cross connect with vxlan no work: cross connect with erspan no work: cross connect interworking with packet over udp no work: cross connect interworking with vxlan no work: cross connect interworking with erspan no work: qos ingress transmit action no work: qos egress transmit action no work: qos ingress drop action no work: qos egress drop action no work: qos ingress policer action no work: qos egress policer action no work: qos ingress priority action no work: qos egress priority action no work: qos ingress bandwidth action no work: qos egress bandwidth action no work: qos ingress shaper action no work: qos egress shaper action no work: qos ingress hierarchical action no work: qos egress hierarchical action no work: qos ingress length matcher no work: qos egress length matcher no work: qos ingress tos matcher no work: qos egress tos matcher no work: qos ingress dscp matcher no work: qos egress dscp matcher no work: qos ingress prec matcher no work: qos egress prec matcher no work: qos ingress acl matcher no work: qos egress acl matcher no work: qos ingress ethertype matcher no work: qos egress ethertype matcher no work: qos ingress matcher on bridged traffic no work: qos egress matcher on bridged traffic no work: qos ingress qosgroup set no work: qos ingress tos set no work: qos egress tos set no work: qos ingress dscp set no work: qos egress dscp set no work: qos ingress prec set no work: qos egress prec set no work: qos cos set no work: qos ingress exp set no work: qos egress exp set no work: ebgp in chain no work: confed bgp in chain no work: ibgp in chain no work: ebgp in subnet no work: confed bgp in subnet no work: ibgp in subnet no work: ibgp fullmesh in subnet no work: ibgp rr in subnet no work: ebgp over loopback no work: ibgp over loopback no work: ibgp with mpls no work: ebgp with long as number no work: ibgp with long as number no work: bgp default route no work: bgp ingress route filtering with prefixlist no work: bgp egress route filtering with prefixlist no work: bgp ingress route filtering with routemap no work: bgp egress route filtering with routemap no work: bgp filtering with locpref no work: bgp filtering with origin no work: bgp filtering with metric no work: bgp filtering with standard community no work: bgp filtering with aspath no work: bgp locpref no work: bgp aspath no work: bgp origin no work: bgp metric no work: bgp locpref vs aspath no work: bgp aspath vs origin no work: bgp origin vs metric no work: bgp filtering with extended community no work: ebgp with labels no work: ibgp with labels no work: ebgp with bfd no work: vpns over ebgp no work: vpns over ibgp no work: bgp route server no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: bgp peer template no work: bgp listen no work: eigrp point2point connection no work: eigrp point2multipoint connection no work: eigrp point2point chain no work: eigrp delay no work: eigrp address suppression no work: eigrp ingress route filtering with prefixlist no work: eigrp egress route filtering with prefixlist no work: eigrp ingress route filtering with routemap no work: eigrp egress route filtering with routemap no work: eigrp default route no work: eigrp with bfd no work: eigrp peer template no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: isis peer template no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: ospf peer template no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: pvrp peer template no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution with eigrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip in chain no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: rip peer template no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2014-01-04 02:29:06 qc pass: ldp over ethernet qc pass: ldp over ethernet vlan qc pass: ldp over ethernet bridge qc pass: ldp over hdlc qc pass: ldp over ppp qc pass: ldp over framerelay qc pass: ldp over atmdxi qc pass: ldp over gre qc pass: ldp over broadcast subnet qc pass: ldp over hub and spoke subnet qc pass: p2p ldp tunnel qc pass: p2mp ldp tunnel qc pass: p2mp ldp tunnel head+mid qc pass: mp2mp ldp tunnel qc pass: mp2mp ldp tunnel mid+head qc pass: ppp over mpls qc pass: hdlc over mpls qc pass: lapb over mpls qc pass: framerelay over mpls qc pass: atmdxi over mpls qc pass: port mode ppp over mpls qc pass: ethernet over mpls qc pass: vlan over mpls qc pass: multipoint ethernet over mpls qc pass: interworking between l2tp3 and ethernet over mpls qc pass: hdlc tunneling with mpls qc pass: ppp tunneling with mpls qc pass: lapb tunneling with mpls qc pass: framerelay tunneling with mpls qc pass: atmdxi tunneling with mpls qc pass: ethernet tunneling with mpls qc pass: vlan tunneling with mpls qc pass: tunnel interface with mpls qc pass: te over ethernet qc pass: te over ethernet vlan qc pass: te over ethernet bridge qc pass: te over hdlc qc pass: te over ppp qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with erspan qc pass: cross connect interworking with packet over udp qc pass: cross connect interworking with vxlan qc pass: cross connect interworking with erspan qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos ingress hierarchical action qc pass: qos egress hierarchical action qc pass: qos ingress length matcher qc pass: qos egress length matcher qc pass: qos ingress tos matcher qc pass: qos egress tos matcher qc pass: qos ingress dscp matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress ethertype matcher qc pass: qos egress ethertype matcher qc pass: qos ingress matcher on bridged traffic qc pass: qos egress matcher on bridged traffic qc pass: qos ingress qosgroup set qc pass: qos ingress tos set qc pass: qos egress tos set qc pass: qos ingress dscp set qc pass: qos egress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd qc pass: eigrp peer template qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: isis peer template qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: ospf peer template qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: rip peer template qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2014-01-04 23:28:55 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip peer template no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip in chain no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with eigrp no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp peer template no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf peer template no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis peer template no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: eigrp peer template no qc pass: eigrp with bfd no qc pass: eigrp default route no qc pass: eigrp egress route filtering with routemap no qc pass: eigrp ingress route filtering with routemap no qc pass: eigrp egress route filtering with prefixlist no qc pass: eigrp ingress route filtering with prefixlist no qc pass: eigrp address suppression no qc pass: eigrp delay no qc pass: eigrp point2point chain no qc pass: eigrp point2multipoint connection no qc pass: eigrp point2point connection no qc pass: bgp listen no qc pass: bgp peer template no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no qc pass: bgp route server no qc pass: vpns over ibgp no qc pass: vpns over ebgp no qc pass: ebgp with bfd no qc pass: ibgp with labels no qc pass: ebgp with labels no qc pass: bgp filtering with extended community no qc pass: bgp origin vs metric no qc pass: bgp aspath vs origin no qc pass: bgp locpref vs aspath no qc pass: bgp metric no qc pass: bgp origin no qc pass: bgp aspath no qc pass: bgp locpref no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: bgp egress route filtering with routemap no qc pass: bgp ingress route filtering with routemap no qc pass: bgp egress route filtering with prefixlist no qc pass: bgp ingress route filtering with prefixlist no qc pass: bgp default route no qc pass: ibgp with long as number no qc pass: ebgp with long as number no qc pass: ibgp with mpls no qc pass: ibgp over loopback no qc pass: ebgp over loopback no qc pass: ibgp rr in subnet no qc pass: ibgp fullmesh in subnet no qc pass: ibgp in subnet no qc pass: confed bgp in subnet no qc pass: ebgp in subnet no qc pass: ibgp in chain no qc pass: confed bgp in chain no qc pass: ebgp in chain no qc pass: qos egress exp set no qc pass: qos ingress exp set no qc pass: qos cos set no qc pass: qos egress prec set no qc pass: qos ingress prec set no qc pass: qos egress dscp set no qc pass: qos ingress dscp set no qc pass: qos egress tos set no qc pass: qos ingress tos set no qc pass: qos ingress qosgroup set no qc pass: qos egress matcher on bridged traffic no qc pass: qos ingress matcher on bridged traffic no qc pass: qos egress ethertype matcher no qc pass: qos ingress ethertype matcher no qc pass: qos egress acl matcher no qc pass: qos ingress acl matcher no qc pass: qos egress prec matcher no qc pass: qos ingress prec matcher no qc pass: qos egress dscp matcher no qc pass: qos ingress dscp matcher no qc pass: qos egress tos matcher no qc pass: qos ingress tos matcher no qc pass: qos egress length matcher no qc pass: qos ingress length matcher no qc pass: qos egress hierarchical action no qc pass: qos ingress hierarchical action no qc pass: qos egress shaper action no qc pass: qos ingress shaper action no qc pass: qos egress bandwidth action no qc pass: qos ingress bandwidth action no qc pass: qos egress priority action no qc pass: qos ingress priority action no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: qos egress drop action no qc pass: qos ingress drop action no qc pass: qos egress transmit action no qc pass: qos ingress transmit action no qc pass: cross connect interworking with erspan no qc pass: cross connect interworking with vxlan no qc pass: cross connect interworking with packet over udp no qc pass: cross connect with erspan no qc pass: cross connect with vxlan no qc pass: cross connect with packet over udp no qc pass: cross connect with pwe over mpls no qc pass: p2mp te tail+mid no qc pass: p2mp te no qc pass: ldp and te no qc pass: pwe over te no qc pass: ldp over te no qc pass: te in chain no qc pass: te over gre no qc pass: te over atmdxi no qc pass: te over framerelay no qc pass: te over ppp no qc pass: te over hdlc no qc pass: te over ethernet bridge no qc pass: te over ethernet vlan no qc pass: te over ethernet no qc pass: tunnel interface with mpls no qc pass: vlan tunneling with mpls no qc pass: ethernet tunneling with mpls no qc pass: atmdxi tunneling with mpls no qc pass: framerelay tunneling with mpls no qc pass: lapb tunneling with mpls no qc pass: ppp tunneling with mpls no qc pass: hdlc tunneling with mpls no qc pass: interworking between l2tp3 and ethernet over mpls no qc pass: multipoint ethernet over mpls no qc pass: vlan over mpls no qc pass: ethernet over mpls no qc pass: port mode ppp over mpls no qc pass: atmdxi over mpls no qc pass: framerelay over mpls no qc pass: lapb over mpls no qc pass: hdlc over mpls no qc pass: ppp over mpls no qc pass: mp2mp ldp tunnel mid+head no qc pass: mp2mp ldp tunnel no qc pass: p2mp ldp tunnel head+mid no qc pass: p2mp ldp tunnel no qc pass: p2p ldp tunnel no qc pass: ldp over hub and spoke subnet no qc pass: ldp over broadcast subnet no qc pass: ldp over gre no qc pass: ldp over atmdxi no qc pass: ldp over framerelay no qc pass: ldp over ppp no qc pass: ldp over hdlc no qc pass: ldp over ethernet bridge no qc pass: ldp over ethernet vlan no qc pass: ldp over ethernet no work: ldp over ethernet no work: ldp over ethernet vlan no work: ldp over ethernet bridge no work: ldp over hdlc no work: ldp over ppp no work: ldp over framerelay no work: ldp over atmdxi no work: ldp over gre no work: ldp over broadcast subnet no work: ldp over hub and spoke subnet no work: p2p ldp tunnel no work: p2mp ldp tunnel no work: p2mp ldp tunnel head+mid no work: mp2mp ldp tunnel no work: mp2mp ldp tunnel mid+head no work: ppp over mpls no work: hdlc over mpls no work: lapb over mpls no work: framerelay over mpls no work: atmdxi over mpls no work: port mode ppp over mpls no work: ethernet over mpls no work: vlan over mpls no work: multipoint ethernet over mpls no work: interworking between l2tp3 and ethernet over mpls no work: hdlc tunneling with mpls no work: ppp tunneling with mpls no work: lapb tunneling with mpls no work: framerelay tunneling with mpls no work: atmdxi tunneling with mpls no work: ethernet tunneling with mpls no work: vlan tunneling with mpls no work: tunnel interface with mpls no work: te over ethernet no work: te over ethernet vlan no work: te over ethernet bridge no work: te over hdlc no work: te over ppp no work: te over framerelay no work: te over atmdxi no work: te over gre no work: te in chain no work: ldp over te no work: pwe over te no work: ldp and te no work: p2mp te no work: p2mp te tail+mid no work: cross connect with pwe over mpls no work: cross connect with packet over udp no work: cross connect with vxlan no work: cross connect with erspan no work: cross connect interworking with packet over udp no work: cross connect interworking with vxlan no work: cross connect interworking with erspan no work: qos ingress transmit action no work: qos egress transmit action no work: qos ingress drop action no work: qos egress drop action no work: qos ingress policer action no work: qos egress policer action no work: qos ingress priority action no work: qos egress priority action no work: qos ingress bandwidth action no work: qos egress bandwidth action no work: qos ingress shaper action no work: qos egress shaper action no work: qos ingress hierarchical action no work: qos egress hierarchical action no work: qos ingress length matcher no work: qos egress length matcher no work: qos ingress tos matcher no work: qos egress tos matcher no work: qos ingress dscp matcher no work: qos egress dscp matcher no work: qos ingress prec matcher no work: qos egress prec matcher no work: qos ingress acl matcher no work: qos egress acl matcher no work: qos ingress ethertype matcher no work: qos egress ethertype matcher no work: qos ingress matcher on bridged traffic no work: qos egress matcher on bridged traffic no work: qos ingress qosgroup set no work: qos ingress tos set no work: qos egress tos set no work: qos ingress dscp set no work: qos egress dscp set no work: qos ingress prec set no work: qos egress prec set no work: qos cos set no work: qos ingress exp set no work: qos egress exp set no work: ebgp in chain no work: confed bgp in chain no work: ibgp in chain no work: ebgp in subnet no work: confed bgp in subnet no work: ibgp in subnet no work: ibgp fullmesh in subnet no work: ibgp rr in subnet no work: ebgp over loopback no work: ibgp over loopback no work: ibgp with mpls no work: ebgp with long as number no work: ibgp with long as number no work: bgp default route no work: bgp ingress route filtering with prefixlist no work: bgp egress route filtering with prefixlist no work: bgp ingress route filtering with routemap no work: bgp egress route filtering with routemap no work: bgp filtering with locpref no work: bgp filtering with origin no work: bgp filtering with metric no work: bgp filtering with standard community no work: bgp filtering with aspath no work: bgp locpref no work: bgp aspath no work: bgp origin no work: bgp metric no work: bgp locpref vs aspath no work: bgp aspath vs origin no work: bgp origin vs metric no work: bgp filtering with extended community no work: ebgp with labels no work: ibgp with labels no work: ebgp with bfd no work: vpns over ebgp no work: vpns over ibgp no work: bgp route server no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: bgp peer template no work: bgp listen no work: eigrp point2point connection no work: eigrp point2multipoint connection no work: eigrp point2point chain no work: eigrp delay no work: eigrp address suppression no work: eigrp ingress route filtering with prefixlist no work: eigrp egress route filtering with prefixlist no work: eigrp ingress route filtering with routemap no work: eigrp egress route filtering with routemap no work: eigrp default route no work: eigrp with bfd no work: eigrp peer template no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: isis peer template no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: ospf peer template no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: pvrp peer template no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution with eigrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip in chain no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: rip peer template no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2014-01-05 02:10:30 qc pass: ldp over ethernet qc pass: ldp over ethernet vlan qc pass: ldp over ethernet bridge qc pass: ldp over hdlc qc pass: ldp over ppp qc pass: ldp over framerelay qc pass: ldp over atmdxi qc pass: ldp over gre qc pass: ldp over broadcast subnet qc pass: ldp over hub and spoke subnet qc pass: p2p ldp tunnel qc pass: p2mp ldp tunnel qc pass: p2mp ldp tunnel head+mid qc pass: mp2mp ldp tunnel qc pass: mp2mp ldp tunnel mid+head qc pass: ppp over mpls qc pass: hdlc over mpls qc pass: lapb over mpls qc pass: framerelay over mpls qc pass: atmdxi over mpls qc pass: port mode ppp over mpls qc pass: ethernet over mpls qc pass: vlan over mpls qc pass: multipoint ethernet over mpls qc pass: interworking between l2tp3 and ethernet over mpls qc pass: hdlc tunneling with mpls qc pass: ppp tunneling with mpls qc pass: lapb tunneling with mpls qc pass: framerelay tunneling with mpls qc pass: atmdxi tunneling with mpls qc pass: ethernet tunneling with mpls qc pass: vlan tunneling with mpls qc pass: tunnel interface with mpls qc pass: te over ethernet qc pass: te over ethernet vlan qc pass: te over ethernet bridge qc pass: te over hdlc qc pass: te over ppp qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with erspan qc pass: cross connect interworking with packet over udp qc pass: cross connect interworking with vxlan qc pass: cross connect interworking with erspan qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos ingress hierarchical action qc pass: qos egress hierarchical action qc pass: qos ingress length matcher qc pass: qos egress length matcher qc pass: qos ingress tos matcher qc pass: qos egress tos matcher qc pass: qos ingress dscp matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress ethertype matcher qc pass: qos egress ethertype matcher qc pass: qos ingress matcher on bridged traffic qc pass: qos egress matcher on bridged traffic qc pass: qos ingress qosgroup set qc pass: qos ingress tos set qc pass: qos egress tos set qc pass: qos ingress dscp set qc pass: qos egress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd qc pass: eigrp peer template qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: isis peer template qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: ospf peer template qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: rip peer template qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2014-01-06 14:34:50 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip peer template no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip in chain no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with eigrp no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp peer template no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf peer template no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis peer template no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: eigrp peer template no qc pass: eigrp with bfd no qc pass: eigrp default route no qc pass: eigrp egress route filtering with routemap no qc pass: eigrp ingress route filtering with routemap no qc pass: eigrp egress route filtering with prefixlist no qc pass: eigrp ingress route filtering with prefixlist no qc pass: eigrp address suppression no qc pass: eigrp delay no qc pass: eigrp point2point chain no qc pass: eigrp point2multipoint connection no qc pass: eigrp point2point connection no qc pass: bgp listen no qc pass: bgp peer template no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no qc pass: bgp route server no qc pass: vpns over ibgp no qc pass: vpns over ebgp no qc pass: ebgp with bfd no qc pass: ibgp with labels no qc pass: ebgp with labels no qc pass: bgp filtering with extended community no qc pass: bgp origin vs metric no qc pass: bgp aspath vs origin no qc pass: bgp locpref vs aspath no qc pass: bgp metric no qc pass: bgp origin no qc pass: bgp aspath no qc pass: bgp locpref no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: bgp egress route filtering with routemap no qc pass: bgp ingress route filtering with routemap no qc pass: bgp egress route filtering with prefixlist no qc pass: bgp ingress route filtering with prefixlist no qc pass: bgp default route no qc pass: ibgp with long as number no qc pass: ebgp with long as number no qc pass: ibgp with mpls no qc pass: ibgp over loopback no qc pass: ebgp over loopback no qc pass: ibgp rr in subnet no qc pass: ibgp fullmesh in subnet no qc pass: ibgp in subnet no qc pass: confed bgp in subnet no qc pass: ebgp in subnet no qc pass: ibgp in chain no qc pass: confed bgp in chain no qc pass: ebgp in chain no qc pass: qos egress exp set no qc pass: qos ingress exp set no qc pass: qos cos set no qc pass: qos egress prec set no qc pass: qos ingress prec set no qc pass: qos egress dscp set no qc pass: qos ingress dscp set no qc pass: qos egress tos set no qc pass: qos ingress tos set no qc pass: qos ingress qosgroup set no qc pass: qos egress matcher on bridged traffic no qc pass: qos ingress matcher on bridged traffic no qc pass: qos egress ethertype matcher no qc pass: qos ingress ethertype matcher no qc pass: qos egress acl matcher no qc pass: qos ingress acl matcher no qc pass: qos egress prec matcher no qc pass: qos ingress prec matcher no qc pass: qos egress dscp matcher no qc pass: qos ingress dscp matcher no qc pass: qos egress tos matcher no qc pass: qos ingress tos matcher no qc pass: qos egress length matcher no qc pass: qos ingress length matcher no qc pass: qos egress hierarchical action no qc pass: qos ingress hierarchical action no qc pass: qos egress shaper action no qc pass: qos ingress shaper action no qc pass: qos egress bandwidth action no qc pass: qos ingress bandwidth action no qc pass: qos egress priority action no qc pass: qos ingress priority action no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: qos egress drop action no qc pass: qos ingress drop action no qc pass: qos egress transmit action no qc pass: qos ingress transmit action no qc pass: cross connect interworking with erspan no qc pass: cross connect interworking with vxlan no qc pass: cross connect interworking with packet over udp no qc pass: cross connect with erspan no qc pass: cross connect with vxlan no qc pass: cross connect with packet over udp no qc pass: cross connect with pwe over mpls no qc pass: p2mp te tail+mid no qc pass: p2mp te no qc pass: ldp and te no qc pass: pwe over te no qc pass: ldp over te no qc pass: te in chain no qc pass: te over gre no qc pass: te over atmdxi no qc pass: te over framerelay no qc pass: te over ppp no qc pass: te over hdlc no qc pass: te over ethernet bridge no qc pass: te over ethernet vlan no qc pass: te over ethernet no qc pass: tunnel interface with mpls no qc pass: vlan tunneling with mpls no qc pass: ethernet tunneling with mpls no qc pass: atmdxi tunneling with mpls no qc pass: framerelay tunneling with mpls no qc pass: lapb tunneling with mpls no qc pass: ppp tunneling with mpls no qc pass: hdlc tunneling with mpls no qc pass: interworking between l2tp3 and ethernet over mpls no qc pass: multipoint ethernet over mpls no qc pass: vlan over mpls no qc pass: ethernet over mpls no qc pass: port mode ppp over mpls no qc pass: atmdxi over mpls no qc pass: framerelay over mpls no qc pass: lapb over mpls no qc pass: hdlc over mpls no qc pass: ppp over mpls no qc pass: mp2mp ldp tunnel mid+head no qc pass: mp2mp ldp tunnel no qc pass: p2mp ldp tunnel head+mid no qc pass: p2mp ldp tunnel no qc pass: p2p ldp tunnel no qc pass: ldp over hub and spoke subnet no qc pass: ldp over broadcast subnet no qc pass: ldp over gre no qc pass: ldp over atmdxi no qc pass: ldp over framerelay no qc pass: ldp over ppp no qc pass: ldp over hdlc no qc pass: ldp over ethernet bridge no qc pass: ldp over ethernet vlan no qc pass: ldp over ethernet no work: ldp over ethernet no work: ldp over ethernet vlan no work: ldp over ethernet bridge no work: ldp over hdlc no work: ldp over ppp no work: ldp over framerelay no work: ldp over atmdxi no work: ldp over gre no work: ldp over broadcast subnet no work: ldp over hub and spoke subnet no work: p2p ldp tunnel no work: p2mp ldp tunnel no work: p2mp ldp tunnel head+mid no work: mp2mp ldp tunnel no work: mp2mp ldp tunnel mid+head no work: ppp over mpls no work: hdlc over mpls no work: lapb over mpls no work: framerelay over mpls no work: atmdxi over mpls no work: port mode ppp over mpls no work: ethernet over mpls no work: vlan over mpls no work: multipoint ethernet over mpls no work: interworking between l2tp3 and ethernet over mpls no work: hdlc tunneling with mpls no work: ppp tunneling with mpls no work: lapb tunneling with mpls no work: framerelay tunneling with mpls no work: atmdxi tunneling with mpls no work: ethernet tunneling with mpls no work: vlan tunneling with mpls no work: tunnel interface with mpls no work: te over ethernet no work: te over ethernet vlan no work: te over ethernet bridge no work: te over hdlc no work: te over ppp no work: te over framerelay no work: te over atmdxi no work: te over gre no work: te in chain no work: ldp over te no work: pwe over te no work: ldp and te no work: p2mp te no work: p2mp te tail+mid no work: cross connect with pwe over mpls no work: cross connect with packet over udp no work: cross connect with vxlan no work: cross connect with erspan no work: cross connect interworking with packet over udp no work: cross connect interworking with vxlan no work: cross connect interworking with erspan no work: qos ingress transmit action no work: qos egress transmit action no work: qos ingress drop action no work: qos egress drop action no work: qos ingress policer action no work: qos egress policer action no work: qos ingress priority action no work: qos egress priority action no work: qos ingress bandwidth action no work: qos egress bandwidth action no work: qos ingress shaper action no work: qos egress shaper action no work: qos ingress hierarchical action no work: qos egress hierarchical action no work: qos ingress length matcher no work: qos egress length matcher no work: qos ingress tos matcher no work: qos egress tos matcher no work: qos ingress dscp matcher no work: qos egress dscp matcher no work: qos ingress prec matcher no work: qos egress prec matcher no work: qos ingress acl matcher no work: qos egress acl matcher no work: qos ingress ethertype matcher no work: qos egress ethertype matcher no work: qos ingress matcher on bridged traffic no work: qos egress matcher on bridged traffic no work: qos ingress qosgroup set no work: qos ingress tos set no work: qos egress tos set no work: qos ingress dscp set no work: qos egress dscp set no work: qos ingress prec set no work: qos egress prec set no work: qos cos set no work: qos ingress exp set no work: qos egress exp set no work: ebgp in chain no work: confed bgp in chain no work: ibgp in chain no work: ebgp in subnet no work: confed bgp in subnet no work: ibgp in subnet no work: ibgp fullmesh in subnet no work: ibgp rr in subnet no work: ebgp over loopback no work: ibgp over loopback no work: ibgp with mpls no work: ebgp with long as number no work: ibgp with long as number no work: bgp default route no work: bgp ingress route filtering with prefixlist no work: bgp egress route filtering with prefixlist no work: bgp ingress route filtering with routemap no work: bgp egress route filtering with routemap no work: bgp filtering with locpref no work: bgp filtering with origin no work: bgp filtering with metric no work: bgp filtering with standard community no work: bgp filtering with aspath no work: bgp locpref no work: bgp aspath no work: bgp origin no work: bgp metric no work: bgp locpref vs aspath no work: bgp aspath vs origin no work: bgp origin vs metric no work: bgp filtering with extended community no work: ebgp with labels no work: ibgp with labels no work: ebgp with bfd no work: vpns over ebgp no work: vpns over ibgp no work: bgp route server no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: bgp peer template no work: bgp listen no work: eigrp point2point connection no work: eigrp point2multipoint connection no work: eigrp point2point chain no work: eigrp delay no work: eigrp address suppression no work: eigrp ingress route filtering with prefixlist no work: eigrp egress route filtering with prefixlist no work: eigrp ingress route filtering with routemap no work: eigrp egress route filtering with routemap no work: eigrp default route no work: eigrp with bfd no work: eigrp peer template no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: isis peer template no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: ospf peer template no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: pvrp peer template no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution with eigrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip in chain no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: rip peer template no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2014-01-06 19:47:24 qc pass: ldp over ethernet qc pass: ldp over ethernet vlan qc pass: ldp over ethernet bridge qc pass: ldp over hdlc qc pass: ldp over ppp qc pass: ldp over framerelay qc pass: ldp over atmdxi qc pass: ldp over gre qc pass: ldp over broadcast subnet qc pass: ldp over hub and spoke subnet qc pass: p2p ldp tunnel qc pass: p2mp ldp tunnel qc pass: p2mp ldp tunnel head+mid qc pass: mp2mp ldp tunnel qc pass: mp2mp ldp tunnel mid+head qc pass: ppp over mpls qc pass: hdlc over mpls qc pass: lapb over mpls qc pass: framerelay over mpls qc pass: atmdxi over mpls qc pass: port mode ppp over mpls qc pass: ethernet over mpls qc pass: vlan over mpls qc pass: multipoint ethernet over mpls qc pass: interworking between l2tp3 and ethernet over mpls qc pass: hdlc tunneling with mpls qc pass: ppp tunneling with mpls qc pass: lapb tunneling with mpls qc pass: framerelay tunneling with mpls qc pass: atmdxi tunneling with mpls qc pass: ethernet tunneling with mpls qc pass: vlan tunneling with mpls qc pass: tunnel interface with mpls qc pass: te over ethernet qc pass: te over ethernet vlan qc pass: te over ethernet bridge qc pass: te over hdlc qc pass: te over ppp qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with erspan qc pass: cross connect interworking with packet over udp qc pass: cross connect interworking with vxlan qc pass: cross connect interworking with erspan qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos ingress hierarchical action qc pass: qos egress hierarchical action qc pass: qos ingress length matcher qc pass: qos egress length matcher qc pass: qos ingress tos matcher qc pass: qos egress tos matcher qc pass: qos ingress dscp matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress ethertype matcher qc pass: qos egress ethertype matcher qc pass: qos ingress matcher on bridged traffic qc pass: qos egress matcher on bridged traffic qc pass: qos ingress qosgroup set qc pass: qos ingress tos set qc pass: qos egress tos set qc pass: qos ingress dscp set qc pass: qos egress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd qc pass: eigrp peer template qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: isis peer template qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: ospf peer template qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: rip peer template qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2014-01-16 12:10:56 no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp qc pass: unnamed qc pass: unnamed ---------------------------------- 2014-01-19 21:10:53 no qc pass: unnamed no qc pass: unnamed qc pass: redistribution with bgp qc pass: redistribution with bgp vpn ---------------------------------- 2014-01-20 20:31:19 no qc pass: ppp with tacacs authentication no work: ppp with tacacs authentication ---------------------------------- 2014-01-30 10:50:07 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip peer template no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip in chain no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with eigrp no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp peer template no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf peer template no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis peer template no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: eigrp peer template no qc pass: eigrp with bfd no qc pass: eigrp default route no qc pass: eigrp egress route filtering with routemap no qc pass: eigrp ingress route filtering with routemap no qc pass: eigrp egress route filtering with prefixlist no qc pass: eigrp ingress route filtering with prefixlist no qc pass: eigrp address suppression no qc pass: eigrp delay no qc pass: eigrp point2point chain no qc pass: eigrp point2multipoint connection no qc pass: eigrp point2point connection no qc pass: bgp listen no qc pass: bgp peer template no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no qc pass: bgp route server no qc pass: vpns over ibgp no qc pass: vpns over ebgp no qc pass: ebgp with bfd no qc pass: ibgp with labels no qc pass: ebgp with labels no qc pass: bgp filtering with extended community no qc pass: bgp origin vs metric no qc pass: bgp aspath vs origin no qc pass: bgp locpref vs aspath no qc pass: bgp metric no qc pass: bgp origin no qc pass: bgp aspath no qc pass: bgp locpref no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: bgp egress route filtering with routemap no qc pass: bgp ingress route filtering with routemap no qc pass: bgp egress route filtering with prefixlist no qc pass: bgp ingress route filtering with prefixlist no qc pass: bgp default route no qc pass: ibgp with long as number no qc pass: ebgp with long as number no qc pass: ibgp with mpls no qc pass: ibgp over loopback no qc pass: ebgp over loopback no qc pass: ibgp rr in subnet no qc pass: ibgp fullmesh in subnet no qc pass: ibgp in subnet no qc pass: confed bgp in subnet no qc pass: ebgp in subnet no qc pass: ibgp in chain no qc pass: confed bgp in chain no qc pass: ebgp in chain no qc pass: qos egress exp set no qc pass: qos ingress exp set no qc pass: qos cos set no qc pass: qos egress prec set no qc pass: qos ingress prec set no qc pass: qos egress dscp set no qc pass: qos ingress dscp set no qc pass: qos egress tos set no qc pass: qos ingress tos set no qc pass: qos ingress qosgroup set no qc pass: qos egress matcher on bridged traffic no qc pass: qos ingress matcher on bridged traffic no qc pass: qos egress ethertype matcher no qc pass: qos ingress ethertype matcher no qc pass: qos egress acl matcher no qc pass: qos ingress acl matcher no qc pass: qos egress prec matcher no qc pass: qos ingress prec matcher no qc pass: qos egress dscp matcher no qc pass: qos ingress dscp matcher no qc pass: qos egress tos matcher no qc pass: qos ingress tos matcher no qc pass: qos egress length matcher no qc pass: qos ingress length matcher no qc pass: qos egress hierarchical action no qc pass: qos ingress hierarchical action no qc pass: qos egress shaper action no qc pass: qos ingress shaper action no qc pass: qos egress bandwidth action no qc pass: qos ingress bandwidth action no qc pass: qos egress priority action no qc pass: qos ingress priority action no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: qos egress drop action no qc pass: qos ingress drop action no qc pass: qos egress transmit action no qc pass: qos ingress transmit action no qc pass: cross connect interworking with erspan no qc pass: cross connect interworking with vxlan no qc pass: cross connect interworking with packet over udp no qc pass: cross connect with erspan no qc pass: cross connect with vxlan no qc pass: cross connect with packet over udp no qc pass: cross connect with pwe over mpls no qc pass: p2mp te tail+mid no qc pass: p2mp te no qc pass: ldp and te no qc pass: pwe over te no qc pass: ldp over te no qc pass: te in chain no qc pass: te over gre no qc pass: te over atmdxi no qc pass: te over framerelay no qc pass: te over ppp no qc pass: te over hdlc no qc pass: te over ethernet bridge no qc pass: te over ethernet vlan no qc pass: te over ethernet no qc pass: tunnel interface with mpls no qc pass: vlan tunneling with mpls no qc pass: ethernet tunneling with mpls no qc pass: atmdxi tunneling with mpls no qc pass: framerelay tunneling with mpls no qc pass: lapb tunneling with mpls no qc pass: ppp tunneling with mpls no qc pass: hdlc tunneling with mpls no qc pass: interworking between l2tp3 and ethernet over mpls no qc pass: multipoint ethernet over mpls no qc pass: vlan over mpls no qc pass: ethernet over mpls no qc pass: port mode ppp over mpls no qc pass: atmdxi over mpls no qc pass: framerelay over mpls no qc pass: lapb over mpls no qc pass: hdlc over mpls no qc pass: ppp over mpls no qc pass: mp2mp ldp tunnel mid+head no qc pass: mp2mp ldp tunnel no qc pass: p2mp ldp tunnel head+mid no qc pass: p2mp ldp tunnel no qc pass: p2p ldp tunnel no qc pass: ldp over hub and spoke subnet no qc pass: ldp over broadcast subnet no qc pass: ldp over gre no qc pass: ldp over atmdxi no qc pass: ldp over framerelay no qc pass: ldp over ppp no qc pass: ldp over hdlc no qc pass: ldp over ethernet bridge no qc pass: ldp over ethernet vlan no qc pass: ldp over ethernet qc pass: ppp with tacacs authentication no work: ldp over ethernet no work: ldp over ethernet vlan no work: ldp over ethernet bridge no work: ldp over hdlc no work: ldp over ppp no work: ldp over framerelay no work: ldp over atmdxi no work: ldp over gre no work: ldp over broadcast subnet no work: ldp over hub and spoke subnet no work: p2p ldp tunnel no work: p2mp ldp tunnel no work: p2mp ldp tunnel head+mid no work: mp2mp ldp tunnel no work: mp2mp ldp tunnel mid+head no work: ppp over mpls no work: hdlc over mpls no work: lapb over mpls no work: framerelay over mpls no work: atmdxi over mpls no work: port mode ppp over mpls no work: ethernet over mpls no work: vlan over mpls no work: multipoint ethernet over mpls no work: interworking between l2tp3 and ethernet over mpls no work: hdlc tunneling with mpls no work: ppp tunneling with mpls no work: lapb tunneling with mpls no work: framerelay tunneling with mpls no work: atmdxi tunneling with mpls no work: ethernet tunneling with mpls no work: vlan tunneling with mpls no work: tunnel interface with mpls no work: te over ethernet no work: te over ethernet vlan no work: te over ethernet bridge no work: te over hdlc no work: te over ppp no work: te over framerelay no work: te over atmdxi no work: te over gre no work: te in chain no work: ldp over te no work: pwe over te no work: ldp and te no work: p2mp te no work: p2mp te tail+mid no work: cross connect with pwe over mpls no work: cross connect with packet over udp no work: cross connect with vxlan no work: cross connect with erspan no work: cross connect interworking with packet over udp no work: cross connect interworking with vxlan no work: cross connect interworking with erspan no work: qos ingress transmit action no work: qos egress transmit action no work: qos ingress drop action no work: qos egress drop action no work: qos ingress policer action no work: qos egress policer action no work: qos ingress priority action no work: qos egress priority action no work: qos ingress bandwidth action no work: qos egress bandwidth action no work: qos ingress shaper action no work: qos egress shaper action no work: qos ingress hierarchical action no work: qos egress hierarchical action no work: qos ingress length matcher no work: qos egress length matcher no work: qos ingress tos matcher no work: qos egress tos matcher no work: qos ingress dscp matcher no work: qos egress dscp matcher no work: qos ingress prec matcher no work: qos egress prec matcher no work: qos ingress acl matcher no work: qos egress acl matcher no work: qos ingress ethertype matcher no work: qos egress ethertype matcher no work: qos ingress matcher on bridged traffic no work: qos egress matcher on bridged traffic no work: qos ingress qosgroup set no work: qos ingress tos set no work: qos egress tos set no work: qos ingress dscp set no work: qos egress dscp set no work: qos ingress prec set no work: qos egress prec set no work: qos cos set no work: qos ingress exp set no work: qos egress exp set no work: ebgp in chain no work: confed bgp in chain no work: ibgp in chain no work: ebgp in subnet no work: confed bgp in subnet no work: ibgp in subnet no work: ibgp fullmesh in subnet no work: ibgp rr in subnet no work: ebgp over loopback no work: ibgp over loopback no work: ibgp with mpls no work: ebgp with long as number no work: ibgp with long as number no work: bgp default route no work: bgp ingress route filtering with prefixlist no work: bgp egress route filtering with prefixlist no work: bgp ingress route filtering with routemap no work: bgp egress route filtering with routemap no work: bgp filtering with locpref no work: bgp filtering with origin no work: bgp filtering with metric no work: bgp filtering with standard community no work: bgp filtering with aspath no work: bgp locpref no work: bgp aspath no work: bgp origin no work: bgp metric no work: bgp locpref vs aspath no work: bgp aspath vs origin no work: bgp origin vs metric no work: bgp filtering with extended community no work: ebgp with labels no work: ibgp with labels no work: ebgp with bfd no work: vpns over ebgp no work: vpns over ibgp no work: bgp route server no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: bgp peer template no work: bgp listen no work: eigrp point2point connection no work: eigrp point2multipoint connection no work: eigrp point2point chain no work: eigrp delay no work: eigrp address suppression no work: eigrp ingress route filtering with prefixlist no work: eigrp egress route filtering with prefixlist no work: eigrp ingress route filtering with routemap no work: eigrp egress route filtering with routemap no work: eigrp default route no work: eigrp with bfd no work: eigrp peer template no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: isis peer template no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: ospf peer template no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: pvrp peer template no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution with eigrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip in chain no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: rip peer template no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2014-01-31 21:09:30 qc pass: ldp over ethernet qc pass: ldp over ethernet vlan qc pass: ldp over ethernet bridge qc pass: ldp over hdlc qc pass: ldp over ppp qc pass: ldp over framerelay qc pass: ldp over atmdxi qc pass: ldp over gre qc pass: ldp over broadcast subnet qc pass: ldp over hub and spoke subnet qc pass: p2p ldp tunnel qc pass: p2mp ldp tunnel qc pass: p2mp ldp tunnel head+mid qc pass: mp2mp ldp tunnel qc pass: mp2mp ldp tunnel mid+head qc pass: ppp over mpls qc pass: hdlc over mpls qc pass: lapb over mpls qc pass: framerelay over mpls qc pass: atmdxi over mpls qc pass: port mode ppp over mpls qc pass: ethernet over mpls qc pass: vlan over mpls qc pass: multipoint ethernet over mpls qc pass: interworking between l2tp3 and ethernet over mpls qc pass: hdlc tunneling with mpls qc pass: ppp tunneling with mpls qc pass: lapb tunneling with mpls qc pass: framerelay tunneling with mpls qc pass: atmdxi tunneling with mpls qc pass: ethernet tunneling with mpls qc pass: vlan tunneling with mpls qc pass: tunnel interface with mpls qc pass: te over ethernet qc pass: te over ethernet vlan qc pass: te over ethernet bridge qc pass: te over hdlc qc pass: te over ppp qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with erspan qc pass: cross connect interworking with packet over udp qc pass: cross connect interworking with vxlan qc pass: cross connect interworking with erspan qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos ingress hierarchical action qc pass: qos egress hierarchical action qc pass: qos ingress length matcher qc pass: qos egress length matcher qc pass: qos ingress tos matcher qc pass: qos egress tos matcher qc pass: qos ingress dscp matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress ethertype matcher qc pass: qos egress ethertype matcher qc pass: qos ingress matcher on bridged traffic qc pass: qos egress matcher on bridged traffic qc pass: qos ingress qosgroup set qc pass: qos ingress tos set qc pass: qos egress tos set qc pass: qos ingress dscp set qc pass: qos egress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd qc pass: eigrp peer template qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: isis peer template qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: ospf peer template qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: rip peer template qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2014-02-12 13:09:30 no qc pass: tacacs server no qc pass: socks5 server no qc pass: socks4 server no qc pass: sipmodem server no qc pass: scheduler no qc pass: radius server no qc pass: proxy server no qc pass: load balancer server no qc pass: forwarder server no qc pass: dynamic tunnel destination no qc pass: relaying dns server no qc pass: authoritative dns server no qc pass: static routing with bfd tracker no qc pass: static routing with tcp tracker no qc pass: static routing with icmp tracker no qc pass: static routing with distance no qc pass: static routing no qc pass: rip peer template no qc pass: rip with bfd no qc pass: rip metric no qc pass: rip authentication no qc pass: rip default route no qc pass: rip address suppression no qc pass: rip tag no qc pass: rip hop count no qc pass: rip egress route filtering with routemap no qc pass: rip ingress route filtering with routemap no qc pass: rip egress route filtering with prefixlist no qc pass: rip ingress route filtering with prefixlist no qc pass: rip in chain no qc pass: rip on one subnet no qc pass: redistribution with everything no qc pass: redistribution with prefixes no qc pass: redistribution filtering with routemap no qc pass: redistribution filtering with prefixlist no qc pass: redistribution with eigrp no qc pass: redistribution with pvrp no qc pass: redistribution with bgp vpn no qc pass: redistribution with bgp no qc pass: redistribution with rip no qc pass: redistribution with ospf no qc pass: redistribution with isis no qc pass: pvrp peer template no qc pass: pvrp tls encryption no qc pass: pvrp ssh encryption no qc pass: pvrp authentication no qc pass: pvrp with bfd no qc pass: pvrp default route no qc pass: pvrp tag no qc pass: pvrp egress route filtering with routemap no qc pass: pvrp ingress route filtering with routemap no qc pass: pvrp egress route filtering with prefixlist no qc pass: pvrp ingress route filtering with prefixlist no qc pass: pvrp address suppression no qc pass: pvrp metric no qc pass: pvrp point2point chain no qc pass: pvrp point2multipoint connection no qc pass: pvrp point2point connection no qc pass: ospf peer template no qc pass: ospf with te no qc pass: ospf with bfd no qc pass: ospf default route no qc pass: ospf inter area egress filtering with routemap no qc pass: ospf inter area egress filtering with prefixlist no qc pass: ospf inter area ingress filtering with routemap no qc pass: ospf inter area ingress filtering with prefixlist no qc pass: ospf authentication no qc pass: ospf address suppression no qc pass: ospf external2 metric no qc pass: ospf external1 metric no qc pass: ospf external1 vs external2 no qc pass: ospf inter area vs external no qc pass: ospf intra area vs inter area no qc pass: ospf intra area metric no qc pass: ospf transit area no qc pass: ospf nssa area no qc pass: ospf stub area no qc pass: ospf broadcast chain no qc pass: ospf point2point chain no qc pass: ospf nonbroadcast connection no qc pass: ospf broadcast connection no qc pass: ospf point2multipoint nonbroadcast connection no qc pass: ospf point2multipoint connection no qc pass: ospf point2point connection no qc pass: multicast routing with mldp no qc pass: multicast routing with igmp/mld no qc pass: multicast routing with pim ssm no qc pass: multicast routing with static flooding no qc pass: isis peer template no qc pass: isis with te no qc pass: isis with bfd no qc pass: isis default route no qc pass: isis inter level egress filtering with routemap no qc pass: isis inter level egress filtering with prefixlist no qc pass: isis inter level ingress filtering with routemap no qc pass: isis inter level ingress filtering with prefixlist no qc pass: isis external metric vs intra level metric no qc pass: isis external narrow metric no qc pass: isis external metric no qc pass: isis intra level metric no qc pass: isis authentication no qc pass: isis inter-level routes no qc pass: isis address suppression no qc pass: isis updown bit with narrow metric no qc pass: isis updown bit no qc pass: isis broadcast subnet no qc pass: isis chain of broadcast nets no qc pass: isis attached no qc pass: isis overload no qc pass: isis narrow metric no qc pass: isis over gre no qc pass: isis over atmdxi no qc pass: isis over framerelay no qc pass: isis over ppp no qc pass: isis over hdlc no qc pass: isis over ethernet bridge no qc pass: isis over ethernet vlan no qc pass: isis over ethernet no qc pass: eigrp peer template no qc pass: eigrp with bfd no qc pass: eigrp default route no qc pass: eigrp egress route filtering with routemap no qc pass: eigrp ingress route filtering with routemap no qc pass: eigrp egress route filtering with prefixlist no qc pass: eigrp ingress route filtering with prefixlist no qc pass: eigrp address suppression no qc pass: eigrp delay no qc pass: eigrp point2point chain no qc pass: eigrp point2multipoint connection no qc pass: eigrp point2point connection no qc pass: bgp listen no qc pass: bgp peer template no qc pass: vpls over ibgp no qc pass: vpls over ebgp no qc pass: bgp nexthop peer no qc pass: bgp nexthop self no qc pass: bgp override as no qc pass: bgp remove private as no qc pass: bgp allow as in no qc pass: bgp aspath check no qc pass: bgp enforce first as no qc pass: bgp route server no qc pass: vpns over ibgp no qc pass: vpns over ebgp no qc pass: ebgp with bfd no qc pass: ibgp with labels no qc pass: ebgp with labels no qc pass: bgp filtering with extended community no qc pass: bgp origin vs metric no qc pass: bgp aspath vs origin no qc pass: bgp locpref vs aspath no qc pass: bgp metric no qc pass: bgp origin no qc pass: bgp aspath no qc pass: bgp locpref no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: bgp egress route filtering with routemap no qc pass: bgp ingress route filtering with routemap no qc pass: bgp egress route filtering with prefixlist no qc pass: bgp ingress route filtering with prefixlist no qc pass: bgp default route no qc pass: ibgp with long as number no qc pass: ebgp with long as number no qc pass: ibgp with mpls no qc pass: ibgp over loopback no qc pass: ebgp over loopback no qc pass: ibgp rr in subnet no qc pass: ibgp fullmesh in subnet no qc pass: ibgp in subnet no qc pass: confed bgp in subnet no qc pass: ebgp in subnet no qc pass: ibgp in chain no qc pass: confed bgp in chain no qc pass: ebgp in chain no qc pass: qos egress exp set no qc pass: qos ingress exp set no qc pass: qos cos set no qc pass: qos egress prec set no qc pass: qos ingress prec set no qc pass: qos egress dscp set no qc pass: qos ingress dscp set no qc pass: qos egress tos set no qc pass: qos ingress tos set no qc pass: qos ingress qosgroup set no qc pass: qos egress matcher on bridged traffic no qc pass: qos ingress matcher on bridged traffic no qc pass: qos egress ethertype matcher no qc pass: qos ingress ethertype matcher no qc pass: qos egress acl matcher no qc pass: qos ingress acl matcher no qc pass: qos egress prec matcher no qc pass: qos ingress prec matcher no qc pass: qos egress dscp matcher no qc pass: qos ingress dscp matcher no qc pass: qos egress tos matcher no qc pass: qos ingress tos matcher no qc pass: qos egress length matcher no qc pass: qos ingress length matcher no qc pass: qos egress hierarchical action no qc pass: qos ingress hierarchical action no qc pass: qos egress shaper action no qc pass: qos ingress shaper action no qc pass: qos egress bandwidth action no qc pass: qos ingress bandwidth action no qc pass: qos egress priority action no qc pass: qos ingress priority action no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: qos egress drop action no qc pass: qos ingress drop action no qc pass: qos egress transmit action no qc pass: qos ingress transmit action no qc pass: cross connect interworking with erspan no qc pass: cross connect interworking with vxlan no qc pass: cross connect interworking with packet over udp no qc pass: cross connect with erspan no qc pass: cross connect with vxlan no qc pass: cross connect with packet over udp no qc pass: cross connect with pwe over mpls no qc pass: p2mp te tail+mid no qc pass: p2mp te no qc pass: ldp and te no qc pass: pwe over te no qc pass: ldp over te no qc pass: te in chain no qc pass: te over gre no qc pass: te over atmdxi no qc pass: te over framerelay no qc pass: te over ppp no qc pass: te over hdlc no qc pass: te over ethernet bridge no qc pass: te over ethernet vlan no qc pass: te over ethernet no qc pass: tunnel interface with mpls no qc pass: vlan tunneling with mpls no qc pass: ethernet tunneling with mpls no qc pass: atmdxi tunneling with mpls no qc pass: framerelay tunneling with mpls no qc pass: lapb tunneling with mpls no qc pass: ppp tunneling with mpls no qc pass: hdlc tunneling with mpls no qc pass: interworking between l2tp3 and ethernet over mpls no qc pass: multipoint ethernet over mpls no qc pass: vlan over mpls no qc pass: ethernet over mpls no qc pass: port mode ppp over mpls no qc pass: atmdxi over mpls no qc pass: framerelay over mpls no qc pass: lapb over mpls no qc pass: hdlc over mpls no qc pass: ppp over mpls no qc pass: mp2mp ldp tunnel mid+head no qc pass: mp2mp ldp tunnel no qc pass: p2mp ldp tunnel head+mid no qc pass: p2mp ldp tunnel no qc pass: p2p ldp tunnel no qc pass: ldp over hub and spoke subnet no qc pass: ldp over broadcast subnet no qc pass: ldp over gre no qc pass: ldp over atmdxi no qc pass: ldp over framerelay no qc pass: ldp over ppp no qc pass: ldp over hdlc no qc pass: ldp over ethernet bridge no qc pass: ldp over ethernet vlan no qc pass: ldp over ethernet no work: ldp over ethernet no work: ldp over ethernet vlan no work: ldp over ethernet bridge no work: ldp over hdlc no work: ldp over ppp no work: ldp over framerelay no work: ldp over atmdxi no work: ldp over gre no work: ldp over broadcast subnet no work: ldp over hub and spoke subnet no work: p2p ldp tunnel no work: p2mp ldp tunnel no work: p2mp ldp tunnel head+mid no work: mp2mp ldp tunnel no work: mp2mp ldp tunnel mid+head no work: ppp over mpls no work: hdlc over mpls no work: lapb over mpls no work: framerelay over mpls no work: atmdxi over mpls no work: port mode ppp over mpls no work: ethernet over mpls no work: vlan over mpls no work: multipoint ethernet over mpls no work: interworking between l2tp3 and ethernet over mpls no work: hdlc tunneling with mpls no work: ppp tunneling with mpls no work: lapb tunneling with mpls no work: framerelay tunneling with mpls no work: atmdxi tunneling with mpls no work: ethernet tunneling with mpls no work: vlan tunneling with mpls no work: tunnel interface with mpls no work: te over ethernet no work: te over ethernet vlan no work: te over ethernet bridge no work: te over hdlc no work: te over ppp no work: te over framerelay no work: te over atmdxi no work: te over gre no work: te in chain no work: ldp over te no work: pwe over te no work: ldp and te no work: p2mp te no work: p2mp te tail+mid no work: cross connect with pwe over mpls no work: cross connect with packet over udp no work: cross connect with vxlan no work: cross connect with erspan no work: cross connect interworking with packet over udp no work: cross connect interworking with vxlan no work: cross connect interworking with erspan no work: qos ingress transmit action no work: qos egress transmit action no work: qos ingress drop action no work: qos egress drop action no work: qos ingress policer action no work: qos egress policer action no work: qos ingress priority action no work: qos egress priority action no work: qos ingress bandwidth action no work: qos egress bandwidth action no work: qos ingress shaper action no work: qos egress shaper action no work: qos ingress hierarchical action no work: qos egress hierarchical action no work: qos ingress length matcher no work: qos egress length matcher no work: qos ingress tos matcher no work: qos egress tos matcher no work: qos ingress dscp matcher no work: qos egress dscp matcher no work: qos ingress prec matcher no work: qos egress prec matcher no work: qos ingress acl matcher no work: qos egress acl matcher no work: qos ingress ethertype matcher no work: qos egress ethertype matcher no work: qos ingress matcher on bridged traffic no work: qos egress matcher on bridged traffic no work: qos ingress qosgroup set no work: qos ingress tos set no work: qos egress tos set no work: qos ingress dscp set no work: qos egress dscp set no work: qos ingress prec set no work: qos egress prec set no work: qos cos set no work: qos ingress exp set no work: qos egress exp set no work: ebgp in chain no work: confed bgp in chain no work: ibgp in chain no work: ebgp in subnet no work: confed bgp in subnet no work: ibgp in subnet no work: ibgp fullmesh in subnet no work: ibgp rr in subnet no work: ebgp over loopback no work: ibgp over loopback no work: ibgp with mpls no work: ebgp with long as number no work: ibgp with long as number no work: bgp default route no work: bgp ingress route filtering with prefixlist no work: bgp egress route filtering with prefixlist no work: bgp ingress route filtering with routemap no work: bgp egress route filtering with routemap no work: bgp filtering with locpref no work: bgp filtering with origin no work: bgp filtering with metric no work: bgp filtering with standard community no work: bgp filtering with aspath no work: bgp locpref no work: bgp aspath no work: bgp origin no work: bgp metric no work: bgp locpref vs aspath no work: bgp aspath vs origin no work: bgp origin vs metric no work: bgp filtering with extended community no work: ebgp with labels no work: ibgp with labels no work: ebgp with bfd no work: vpns over ebgp no work: vpns over ibgp no work: bgp route server no work: bgp enforce first as no work: bgp aspath check no work: bgp allow as in no work: bgp remove private as no work: bgp override as no work: bgp nexthop self no work: bgp nexthop peer no work: vpls over ebgp no work: vpls over ibgp no work: bgp peer template no work: bgp listen no work: eigrp point2point connection no work: eigrp point2multipoint connection no work: eigrp point2point chain no work: eigrp delay no work: eigrp address suppression no work: eigrp ingress route filtering with prefixlist no work: eigrp egress route filtering with prefixlist no work: eigrp ingress route filtering with routemap no work: eigrp egress route filtering with routemap no work: eigrp default route no work: eigrp with bfd no work: eigrp peer template no work: isis over ethernet no work: isis over ethernet vlan no work: isis over ethernet bridge no work: isis over hdlc no work: isis over ppp no work: isis over framerelay no work: isis over atmdxi no work: isis over gre no work: isis narrow metric no work: isis overload no work: isis attached no work: isis chain of broadcast nets no work: isis broadcast subnet no work: isis updown bit no work: isis updown bit with narrow metric no work: isis address suppression no work: isis inter-level routes no work: isis authentication no work: isis intra level metric no work: isis external metric no work: isis external narrow metric no work: isis external metric vs intra level metric no work: isis inter level ingress filtering with prefixlist no work: isis inter level ingress filtering with routemap no work: isis inter level egress filtering with prefixlist no work: isis inter level egress filtering with routemap no work: isis default route no work: isis with bfd no work: isis with te no work: isis peer template no work: multicast routing with static flooding no work: multicast routing with pim ssm no work: multicast routing with igmp/mld no work: multicast routing with mldp no work: ospf point2point connection no work: ospf point2multipoint connection no work: ospf point2multipoint nonbroadcast connection no work: ospf broadcast connection no work: ospf nonbroadcast connection no work: ospf point2point chain no work: ospf broadcast chain no work: ospf stub area no work: ospf nssa area no work: ospf transit area no work: ospf intra area metric no work: ospf intra area vs inter area no work: ospf inter area vs external no work: ospf external1 vs external2 no work: ospf external1 metric no work: ospf external2 metric no work: ospf address suppression no work: ospf authentication no work: ospf inter area ingress filtering with prefixlist no work: ospf inter area ingress filtering with routemap no work: ospf inter area egress filtering with prefixlist no work: ospf inter area egress filtering with routemap no work: ospf default route no work: ospf with bfd no work: ospf with te no work: ospf peer template no work: pvrp point2point connection no work: pvrp point2multipoint connection no work: pvrp point2point chain no work: pvrp metric no work: pvrp address suppression no work: pvrp ingress route filtering with prefixlist no work: pvrp egress route filtering with prefixlist no work: pvrp ingress route filtering with routemap no work: pvrp egress route filtering with routemap no work: pvrp tag no work: pvrp default route no work: pvrp with bfd no work: pvrp authentication no work: pvrp ssh encryption no work: pvrp tls encryption no work: pvrp peer template no work: redistribution with isis no work: redistribution with ospf no work: redistribution with rip no work: redistribution with bgp no work: redistribution with bgp vpn no work: redistribution with pvrp no work: redistribution with eigrp no work: redistribution filtering with prefixlist no work: redistribution filtering with routemap no work: redistribution with prefixes no work: redistribution with everything no work: rip on one subnet no work: rip in chain no work: rip ingress route filtering with prefixlist no work: rip egress route filtering with prefixlist no work: rip ingress route filtering with routemap no work: rip egress route filtering with routemap no work: rip hop count no work: rip tag no work: rip address suppression no work: rip default route no work: rip authentication no work: rip metric no work: rip with bfd no work: rip peer template no work: static routing no work: static routing with distance no work: static routing with icmp tracker no work: static routing with tcp tracker no work: static routing with bfd tracker no work: authoritative dns server no work: relaying dns server no work: dynamic tunnel destination no work: forwarder server no work: load balancer server no work: proxy server no work: radius server no work: scheduler no work: sipmodem server no work: socks4 server no work: socks5 server no work: tacacs server ---------------------------------- 2014-02-13 11:04:24 no qc pass: ppp with tacacs authentication no work: ppp with tacacs authentication qc pass: ldp over ethernet qc pass: ldp over ethernet vlan qc pass: ldp over ethernet bridge qc pass: ldp over hdlc qc pass: ldp over ppp qc pass: ldp over framerelay qc pass: ldp over atmdxi qc pass: ldp over gre qc pass: ldp over broadcast subnet qc pass: ldp over hub and spoke subnet qc pass: p2p ldp tunnel qc pass: p2mp ldp tunnel qc pass: p2mp ldp tunnel head+mid qc pass: mp2mp ldp tunnel qc pass: mp2mp ldp tunnel mid+head qc pass: ppp over mpls qc pass: hdlc over mpls qc pass: lapb over mpls qc pass: framerelay over mpls qc pass: atmdxi over mpls qc pass: port mode ppp over mpls qc pass: ethernet over mpls qc pass: vlan over mpls qc pass: multipoint ethernet over mpls qc pass: interworking between l2tp3 and ethernet over mpls qc pass: hdlc tunneling with mpls qc pass: ppp tunneling with mpls qc pass: lapb tunneling with mpls qc pass: framerelay tunneling with mpls qc pass: atmdxi tunneling with mpls qc pass: ethernet tunneling with mpls qc pass: vlan tunneling with mpls qc pass: tunnel interface with mpls qc pass: te over ethernet qc pass: te over ethernet vlan qc pass: te over ethernet bridge qc pass: te over hdlc qc pass: te over ppp qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with erspan qc pass: cross connect interworking with packet over udp qc pass: cross connect interworking with vxlan qc pass: cross connect interworking with erspan qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos ingress hierarchical action qc pass: qos egress hierarchical action qc pass: qos ingress length matcher qc pass: qos egress length matcher qc pass: qos ingress tos matcher qc pass: qos egress tos matcher qc pass: qos ingress dscp matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress ethertype matcher qc pass: qos egress ethertype matcher qc pass: qos ingress matcher on bridged traffic qc pass: qos egress matcher on bridged traffic qc pass: qos ingress qosgroup set qc pass: qos ingress tos set qc pass: qos egress tos set qc pass: qos ingress dscp set qc pass: qos egress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp default route qc pass: eigrp with bfd qc pass: eigrp peer template qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level egress filtering with routemap qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: isis peer template qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: ospf peer template qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip metric qc pass: rip with bfd qc pass: rip peer template qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: authoritative dns server qc pass: relaying dns server qc pass: dynamic tunnel destination qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: sipmodem server qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server ---------------------------------- 2014-02-15 09:35:23 qc pass: ppp with tacacs authentication ---------------------------------- 2014-03-25 21:25:48 qc pass: isdn todo: allow timerange within scheduler configuration todo: more delete keystrokes to readline functions todo: process sandboxing todo: configure reload (startup) todo: configure network (add to run) ---------------------------------- 2014-04-02 13:48:39 no qc pass: cross connect with erspan no qc pass: cross connect with vxlan no qc pass: cross connect with packet over udp no qc pass: cross connect with pwe over mpls no qc pass: p2mp te tail+mid no qc pass: p2mp te no qc pass: ldp and te no qc pass: pwe over te no qc pass: ldp over te no qc pass: te in chain no qc pass: te over gre no qc pass: te over atmdxi no qc pass: te over framerelay no qc pass: ppp encapsulation no qc pass: ppp with packet over dtls no work: ppp with packet over dtls no work: ppp encapsulation qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed qc pass: unnamed todo: router bgp @ no template a todo: router bgp @ template use temp2 todo: router bgp @ no neighbor 1.1.1.1 ---------------------------------- 2014-04-05 01:57:16 no todo: configure network (add to run) no todo: configure reload (startup) no todo: router bgp @ no neighbor 1.1.1.1 no todo: router bgp @ template use temp2 no todo: router bgp @ no template a no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed no qc pass: unnamed qc pass: ppp with packet over dtls qc pass: ppp encapsulation qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with erspan qc pass: ebgp password todo: show bgp allroutes ---------------------------------- 2014-04-07 19:33:16 no todo: show bgp allroutes todo: attach line not working anymore, try with deactivation and attach todo: flash pack, flash unpack with proprietary header format ---------------------------------- 2014-04-30 10:03:24 qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: ebgp password todo: fping as fast/flood pinging todo: sping as slow/detail pinging todo: alt+s as find file in commmander todo: alt+r as execute random command in commander todo: more useful mc keystrokes todo: compile with 1.6, 1.7, 1.8 java on linux... todo: real wine to rtros... todo: no as privileged stuff... todo: install player to rtros... todo: show ipv4 route demo | count todo: attach line not working anymore, try with deactivation and attach todo: flash pack, flash unpack with proprietary header format todo: allow timerange within scheduler configuration todo: more delete keystrokes to readline functions todo: process sandboxing todo: vpnized browser (xul) todo: trustpoint for certificates todo: more level of config sections todo: tab for deb pro o?-->ospf[4/6] todo: interface name tabbing todo: show upgrade todo: reenabling of routing protocols fails todo: int eth1/int eth2 todo: dhcp relay support todo: sslvpn client, server todo: dlsw client, server todo: tcp selective ack todo: xot, x75 switching todo: ipx, spx switching todo: preallocate qos buffers todo: lisp4, lisp6 todo: nhrp4, nhrp6 todo: l2vpn for isis todo: hip (rfc4423) todo: more show commands todo: more clear commands todo: more interactive tools todo: igmp4/6 snoop, pim4/6 snoop for bridging todo: multilink ppp, fr todo: x25 todo: default vrf for show commands ---------------------------------- 2014-05-02 07:25:33 todo: fping as fast/flood pinging todo: sping as slow/detail pinging todo: alt+s as find file in commmander todo: alt+r as execute random command in commander todo: more useful mc keystrokes todo: compile with 1.6, 1.7, 1.8 java on linux... todo: real wine to rtros... todo: no as privileged stuff... todo: install player to rtros... todo: show ipv4 route demo | count ---------------------------------- 2014-08-07 18:56:43 no todo: sping as slow/detail pinging no todo: fping as fast/flood pinging ---------------------------------- 2014-08-21 12:29:23 no qc pass: ppp with tacacs authentication no work: ppp with tacacs authentication qc pass: bgp filtering with aigp qc pass: bgp filtering with bandwidth ---------------------------------- 2014-09-27 10:48:05 qc pass: transparent proxy ---------------------------------- 2014-09-27 20:03:36 qc pass: ppp with tacacs authentication ---------------------------------- 2014-10-01 14:35:59 no todo: ipx, spx switching no todo: process sandboxing no todo: show ipv4 route demo | count ---------------------------------- 2014-10-26 10:12:07 qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as qc pass: bgp override as qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls over ebgp qc pass: vpls over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: ebgp password qc pass: bgp filtering with aigp qc pass: bgp filtering with bandwidth todo: alt+s as find file in commmander todo: alt+r as execute random command in commander todo: more useful mc keystrokes todo: compile with 1.6, 1.7, 1.8 java on linux... todo: real wine to rtros... todo: no as privileged stuff... todo: install player to rtros... todo: attach line not working anymore, try with deactivation and attach todo: flash pack, flash unpack with proprietary header format todo: allow timerange within scheduler configuration todo: more delete keystrokes to readline functions todo: vpnized browser (xul) todo: trustpoint for certificates todo: more level of config sections todo: tab for deb pro o?-->ospf[4/6] todo: interface name tabbing todo: show upgrade todo: reenabling of routing protocols fails todo: int eth1/int eth2 todo: dhcp relay support todo: sslvpn client, server todo: dlsw client, server todo: tcp selective ack todo: xot, x75 switching todo: preallocate qos buffers todo: lisp4, lisp6 todo: nhrp4, nhrp6 todo: l2vpn for isis todo: hip (rfc4423) todo: more show commands todo: more clear commands todo: more interactive tools todo: igmp4/6 snoop, pim4/6 snoop for bridging todo: multilink ppp, fr todo: x25 todo: default vrf for show commands ---------------------------------- 2014-10-26 13:56:39 qc pass: bgp rpki ---------------------------------- 2014-10-27 13:53:53 no todo: allow timerange within scheduler configuration qc pass: ppp with gre qc pass: hdlc with gre no work: lapb with gre qc pass: framerelay with gre ---------------------------------- 2014-10-28 09:35:25 qc pass: isdn tunneling with erspan qc pass: lapb with gre qc pass: atmdxi with gre qc pass: isdn with gre qc pass: isdn over l2tp3 qc pass: isdn tunneling with l2tp3 qc pass: isdn tunneling with packet over udp qc pass: isdn tunneling with vxlan qc pass: cross connect isdn interfaces qc pass: isdn over mpls qc pass: isdn tunneling with mpls ---------------------------------- 2014-11-03 09:26:47 qc pass: multipoint ethernet over vxlan ---------------------------------- 2014-11-12 14:57:38 no todo: vpnized browser (xul) no todo: flash pack, flash unpack with proprietary header format no todo: install player to rtros... no todo: no as privileged stuff... no todo: real wine to rtros... no todo: compile with 1.6, 1.7, 1.8 java on linux... qc pass: etherip over ipv4 qc pass: etherip over ipv6 qc pass: etherip over loopback qc pass: hdlc tunneling with etherip qc pass: ppp tunneling with etherip qc pass: lapb tunneling with etherip qc pass: framerelay tunneling with etherip qc pass: atmdxi tunneling with etherip qc pass: isdn tunneling with etherip qc pass: ethernet tunneling with etherip qc pass: vlan tunneling with etherip qc pass: tunnel interface with etherip qc pass: cross connect with etherip qc pass: cross connect interworking with etherip ---------------------------------- 2014-11-13 14:22:01 qc pass: mplsip over ipv4 qc pass: mplsip over ipv6 qc pass: mplsip over mplsip qc pass: mplsip over loopback ---------------------------------- 2014-11-16 09:43:26 qc pass: swipe over ipv4 qc pass: swipe over ipv6 qc pass: swipe over swipe qc pass: swipe over loopback ---------------------------------- 2014-11-18 11:21:29 qc pass: swipe with des qc pass: swipe with blowfish qc pass: swipe with 3des qc pass: swipe with aes128 qc pass: swipe with aes192 qc pass: swipe with aes256 qc pass: swipe with md5 qc pass: swipe with sha1 qc pass: swipe with sha256 qc pass: swipe with sha512 ---------------------------------- 2014-11-22 11:10:07 qc pass: geneve over ipv4 qc pass: geneve over ipv6 qc pass: geneve over loopback qc pass: hdlc tunneling with geneve qc pass: ppp tunneling with geneve qc pass: lapb tunneling with geneve qc pass: framerelay tunneling with geneve qc pass: atmdxi tunneling with geneve qc pass: isdn tunneling with geneve qc pass: ethernet tunneling with geneve qc pass: vlan tunneling with geneve qc pass: tunnel interface with geneve qc pass: macsec with des qc pass: macsec with blowfish qc pass: macsec with 3des qc pass: macsec with aes128 qc pass: macsec with aes192 qc pass: macsec with aes256 qc pass: macsec with md5 qc pass: macsec with sha1 qc pass: macsec with sha256 qc pass: macsec with sha512 qc pass: cross connect with geneve qc pass: cross connect interworking with geneve ---------------------------------- 2014-11-23 12:11:17 qc pass: multipoint ethernet over geneve qc pass: nvgre over ipv4 qc pass: nvgre over ipv6 qc pass: nvgre over loopback qc pass: hdlc tunneling with nvgre qc pass: ppp tunneling with nvgre qc pass: lapb tunneling with nvgre qc pass: framerelay tunneling with nvgre qc pass: atmdxi tunneling with nvgre qc pass: isdn tunneling with nvgre qc pass: ethernet tunneling with nvgre qc pass: vlan tunneling with nvgre qc pass: tunnel interface with nvgre qc pass: cross connect with nvgre qc pass: cross connect interworking with nvgre ---------------------------------- 2014-11-24 12:45:22 qc pass: cross connect with everything ---------------------------------- 2014-11-27 09:30:02 qc pass: minenc over ipv4 qc pass: minenc over ipv6 qc pass: minenc over minenc qc pass: minenc over loopback ---------------------------------- 2014-11-27 21:05:36 qc pass: ipenc over ipv4 qc pass: ipenc over ipv6 qc pass: ipenc over ipenc qc pass: ipenc over loopback ---------------------------------- 2014-11-29 10:16:07 qc pass: tmux over ipv4 qc pass: tmux over ipv6 qc pass: tmux over tmux qc pass: tmux over loopback ---------------------------------- 2014-11-30 14:10:49 qc pass: inlsp over ipv4 qc pass: inlsp over ipv6 qc pass: inlsp over inlsp qc pass: inlsp over loopback qc pass: inlsp with des qc pass: inlsp with blowfish qc pass: inlsp with 3des qc pass: inlsp with aes128 qc pass: inlsp with aes192 qc pass: inlsp with aes256 qc pass: inlsp with md5 qc pass: inlsp with sha1 qc pass: inlsp with sha256 qc pass: inlsp with sha512 qc pass: skip over ipv4 qc pass: skip over ipv6 qc pass: skip over skip qc pass: skip over loopback qc pass: skip with des qc pass: skip with blowfish qc pass: skip with 3des qc pass: skip with aes128 qc pass: skip with aes192 qc pass: skip with aes256 qc pass: skip with md5 qc pass: skip with sha1 qc pass: skip with sha256 qc pass: skip with sha512 ---------------------------------- 2014-12-02 11:15:56 qc pass: ppp with ax25 qc pass: hdlc with ax25 qc pass: lapb with ax25 qc pass: framerelay with ax25 qc pass: atmdxi with ax25 qc pass: isdn with ax25 ---------------------------------- 2014-12-03 17:13:13 qc pass: macsec with group1 qc pass: macsec with group2 qc pass: macsec with group5 qc pass: macsec with group14 qc pass: macsec with group15 qc pass: macsec with group16 qc pass: macsec with group17 qc pass: macsec with group18 qc pass: macsec with group22 qc pass: macsec with group23 qc pass: macsec with group24 ---------------------------------- 2014-12-10 16:11:40 qc pass: ipcomp over ipv4 qc pass: ipcomp over ipv6 qc pass: ipcomp over ipcomp qc pass: ipcomp over loopback qc pass: pipe over ipv4 qc pass: pipe over ipv6 qc pass: pipe over pipe qc pass: pipe over loopback ---------------------------------- 2014-12-14 07:26:40 qc pass: nos over ipv4 qc pass: nos over ipv6 qc pass: nos over nos qc pass: nos over loopback ---------------------------------- 2014-12-17 15:01:23 qc pass: multichassis bundle ---------------------------------- 2014-12-22 10:57:41 qc pass: uti over ipv4 qc pass: uti over ipv6 qc pass: uti over loopback qc pass: hdlc tunneling with uti qc pass: ppp tunneling with uti qc pass: lapb tunneling with uti qc pass: framerelay tunneling with uti qc pass: atmdxi tunneling with uti qc pass: isdn tunneling with uti qc pass: ethernet tunneling with uti qc pass: vlan tunneling with uti qc pass: tunnel interface with uti qc pass: cross connect with uti qc pass: cross connect interworking with uti ---------------------------------- 2015-01-03 11:38:54 no qc pass: hsrp over ethernet no work: hsrp over ethernet ---------------------------------- 2015-01-18 10:33:02 qc pass: hsrp over ethernet qc pass: pvrp with labels ---------------------------------- 2015-01-31 11:57:17 qc pass: ldp over loopback ---------------------------------- 2015-02-25 16:59:51 qc pass: babel on one subnet qc pass: babel in chain qc pass: babel ingress route filtering with prefixlist qc pass: babel egress route filtering with prefixlist qc pass: babel ingress route filtering with routemap qc pass: babel egress route filtering with routemap qc pass: babel max metric qc pass: babel address suppression qc pass: babel default route qc pass: babel metric qc pass: babel with bfd qc pass: babel peer template qc pass: redistribution with babel ---------------------------------- 2015-03-03 18:02:17 qc pass: lsrp point2point connection qc pass: lsrp point2multipoint connection qc pass: lsrp point2point chain qc pass: lsrp metric qc pass: lsrp address suppression qc pass: lsrp route filtering with prefixlist qc pass: lsrp route filtering with routemap qc pass: lsrp tag qc pass: lsrp default route qc pass: lsrp with bfd qc pass: lsrp authentication qc pass: lsrp ssh encryption qc pass: lsrp tls encryption qc pass: lsrp peer template qc pass: redistribution with lsrp ---------------------------------- 2015-03-07 10:42:27 qc pass: vdc parent interface qc pass: vdc parent connect qc pass: vdc peer connect ---------------------------------- 2015-04-04 06:20:01 qc pass: ethernet hairpin qc pass: serial hairpin qc pass: bundle hairpin qc pass: bridge hairpin ---------------------------------- 2015-04-22 07:36:21 qc pass: mplsudp over ipv4 qc pass: mplsudp over ipv6 qc pass: mplsudp over mplsudp qc pass: mplsudp over loopback ---------------------------------- 2015-05-23 13:11:28 qc pass: lsrp with segment routing ---------------------------------- 2015-05-25 10:36:16 no todo: nhrp4, nhrp6 todo: segment routing for isis, ospf4/6 ---------------------------------- 2015-05-26 11:13:02 qc pass: isis multi-topology qc pass: isis updown bit with multi-topology qc pass: isis external multi-topology qc pass: isis multi-topology with te qc pass: isis chain of broadcast nets with narrow metric qc pass: isis broadcast subnet with narrow metric qc pass: isis chain of broadcast nets with multi-topology qc pass: isis broadcast subnet with multi-topology ---------------------------------- 2015-06-01 21:04:03 no todo: segment routing for isis, ospf4/6 qc pass: isis with segment routing qc pass: isis inter-level with segment routing qc pass: isis multi-topology with segment routing todo: segment routing for ospf4/6 ---------------------------------- 2015-06-04 17:11:39 no todo: segment routing for ospf4/6 qc pass: ospf with segment routing qc pass: ospf transit area with segment routing ---------------------------------- 2015-07-04 12:53:11 qc pass: lisp over ipv4 qc pass: lisp over ipv6 qc pass: lisp over lisp qc pass: lisp over loopback qc pass: bgp additional path qc pass: bgp additional path with labels qc pass: vpns over bgp additional path qc pass: vpls over bgp additional path ---------------------------------- 2015-07-10 16:44:46 no qc pass: process redundancy no work: process redundancy qc pass: bgp nexthop unchanged ---------------------------------- 2015-07-14 03:09:00 no qc pass: isis chain of broadcast nets with narrow metric qc pass: process redundancy no work: isis chain of broadcast nets with narrow metric ---------------------------------- 2015-07-15 00:30:39 qc pass: isis chain of broadcast nets with narrow metric todo: evpn for bgp (rfc7432) ---------------------------------- 2015-07-15 13:11:33 no qc pass: bgp override as no qc pass: bgp remove private as qc pass: bgp remove private as out qc pass: bgp override as out qc pass: bgp remove private as in qc pass: bgp override as in todo: bgp update group ---------------------------------- 2015-07-22 14:42:01 no todo: bgp update group qc pass: ebgp with next hop tracking qc pass: ibgp with next hop tracking ---------------------------------- 2015-07-23 11:37:07 qc pass: vpns over ibgp rr qc pass: vpls over ibgp rr ---------------------------------- 2015-07-24 00:30:38 no qc pass: isis chain of broadcast nets qc pass: bgp clustlist qc pass: bgp metric vs clustlist qc pass: bgp distance qc pass: bgp distance vs locpref no work: isis chain of broadcast nets ---------------------------------- 2015-07-24 05:41:13 qc pass: isis chain of broadcast nets ---------------------------------- 2015-07-26 00:30:41 qc pass: ebgp in chain with soft-reconfig qc pass: confed bgp in chain with soft-reconfig qc pass: ibgp in chain with soft-reconfig qc pass: ibgp rr in subnet with soft-reconfig qc pass: bgp ingress route filtering with prefixlist with soft-reconfig qc pass: bgp egress route filtering with prefixlist with soft-reconfig qc pass: bgp ingress route filtering with routemap with soft-reconfig qc pass: bgp egress route filtering with routemap with soft-reconfig qc pass: bgp filtering with locpref with soft-reconfig qc pass: bgp filtering with origin with soft-reconfig qc pass: bgp filtering with metric with soft-reconfig qc pass: bgp filtering with standard community with soft-reconfig qc pass: bgp filtering with aspath with soft-reconfig qc pass: bgp locpref with soft-reconfig qc pass: bgp aspath with soft-reconfig qc pass: bgp origin with soft-reconfig qc pass: bgp metric with soft-reconfig qc pass: bgp locpref vs aspath with soft-reconfig qc pass: bgp aspath vs origin with soft-reconfig qc pass: bgp origin vs metric with soft-reconfig qc pass: bgp filtering with extended community with soft-reconfig qc pass: bgp clustlist with soft-reconfig qc pass: bgp metric vs clustlist with soft-reconfig qc pass: bgp distance with soft-reconfig qc pass: bgp distance vs locpref with soft-reconfig qc pass: bgp filtering with aigp with soft-reconfig qc pass: bgp filtering with bandwidth with soft-reconfig qc pass: bgp with a lot prefix ---------------------------------- 2015-07-28 00:05:39 qc pass: babel prefix withdraw qc pass: ebgp prefix withdraw qc pass: confed bgp prefix withdraw qc pass: ibgp prefix withdraw qc pass: ibgp fullmesh prefix withdraw qc pass: ibgp rr prefix withdraw qc pass: ebgp prefix withdraw with soft-reconfig qc pass: confed bgp prefix withdraw with soft-reconfig qc pass: ibgp prefix withdraw with soft-reconfig qc pass: ibgp fullmesh prefix withdraw with soft-reconfig qc pass: ibgp rr prefix withdraw with soft-reconfig qc pass: eigrp prefix withdraw qc pass: isis prefix withdraw qc pass: lsrp prefix withdraw qc pass: ospf prefix withdraw qc pass: pvrp prefix withdraw qc pass: rip prefix withdraw ---------------------------------- 2015-07-29 00:05:39 qc pass: vpns over confed bgp qc pass: vpls over confed bgp qc pass: vpns over bgp route server qc pass: vpls over bgp route server qc pass: bgp route server with soft-reconfig qc pass: bgp route server prefix withdraw qc pass: bgp route server prefix withdraw with soft-reconfig qc pass: multisite vpns over ibgp rr qc pass: multisite vpls over ibgp rr qc pass: bgp change in locpref qc pass: bgp change in aspath qc pass: bgp change in origin qc pass: bgp change in metric qc pass: bgp change in aigp qc pass: bgp change in bandwidth qc pass: bgp change in standard community qc pass: bgp change in extended community qc pass: bgp change in locpref with soft-reconfig qc pass: bgp change in aspath with soft-reconfig qc pass: bgp change in origin with soft-reconfig qc pass: bgp change in metric with soft-reconfig qc pass: bgp change in aigp with soft-reconfig qc pass: bgp change in bandwidth with soft-reconfig qc pass: bgp change in standard community with soft-reconfig qc pass: bgp change in extended community with soft-reconfig qc pass: isis change in metric qc pass: lsrp change in metric qc pass: lsrp change in tag qc pass: ospf change in metric qc pass: ospf change in tag ---------------------------------- 2015-08-04 18:22:22 qc pass: babel aggregation qc pass: bgp aggregation qc pass: bgp maximum prefix qc pass: eigrp aggregation qc pass: isis aggregate qc pass: ospf aggregate qc pass: pvrp aggregation qc pass: rip aggregation ---------------------------------- 2015-08-15 00:05:40 qc pass: evpn over ebgp qc pass: evpn over ibgp qc pass: evpn over bgp additional path qc pass: evpn over ibgp rr qc pass: evpn over confed bgp qc pass: evpn over bgp route server qc pass: multisite evpn over ibgp rr qc pass: ethersite vpls over ibgp qc pass: ethersite evpn over ibgp ---------------------------------- 2015-08-15 10:03:55 qc pass: ethersite vpns over ibgp qc pass: vpns over bgp with soft-reconfig qc pass: vpls over bgp with soft-reconfig qc pass: evpn over bgp with soft-reconfig ---------------------------------- 2015-08-16 00:05:39 no qc pass: isis chain of broadcast nets with narrow metric no work: isis chain of broadcast nets with narrow metric ---------------------------------- 2015-08-17 00:05:39 qc pass: isis chain of broadcast nets with narrow metric ---------------------------------- 2015-08-25 12:01:45 qc pass: unicast+vpns over bgp qc pass: unicast+vpls over bgp qc pass: unicast+evpn over bgp qc pass: unicast+vpns over bgp with soft-reconfig qc pass: unicast+vpls over bgp with soft-reconfig qc pass: unicast+evpn over bgp with soft-reconfig todo: tcl to route-map attribute manipulation ---------------------------------- 2015-08-28 00:11:12 qc pass: babel auto mesh tunnel qc pass: unicast+vpns over bgp additional path qc pass: unicast+vpls over bgp additional path qc pass: unicast+evpn over bgp additional path qc pass: bgp auto mesh tunnel qc pass: vpns over bgp auto mesh tunnel qc pass: vpls over bgp auto mesh tunnel qc pass: evpn over bgp auto mesh tunnel qc pass: eigrp auto mesh tunnel qc pass: isis auto mesh tunnel qc pass: lsrp auto mesh tunnel qc pass: ospf auto mesh tunnel qc pass: pvrp auto mesh tunnel qc pass: rip auto mesh tunnel no todo: tcl to route-map attribute manipulation todo: tcl and external events to tracker ---------------------------------- 2015-08-30 08:56:39 no todo: evpn for bgp (rfc7432) no todo: tcl and external events to tracker ---------------------------------- 2015-09-08 06:10:10 no qc pass: process redundancy no work: process redundancy ---------------------------------- 2015-09-09 00:05:39 qc pass: process redundancy todo: interop test cases ---------------------------------- 2015-09-13 14:07:44 no todo: interop test cases qc pass: interop: ebgp qc pass: interop: ibgp qc pass: interop: bgp locpref qc pass: interop: bgp origin qc pass: interop: bgp metric qc pass: interop: bgp community qc pass: interop: bgp aspath qc pass: interop: bgp with labels qc pass: interop: bgp addpath qc pass: interop: bgp prefix withdraw qc pass: interop: bgp vpn qc pass: interop: bgp authentication qc pass: interop: dhcp server qc pass: interop: dhcp client qc pass: interop: dns qc pass: interop: eigrp qc pass: interop: eigrp prefix withdraw qc pass: interop: ethernet encapsulation qc pass: interop: dot1q encapsulation qc pass: interop: spantree nonroot qc pass: interop: spantree root qc pass: interop: ike1 with ipv4 qc pass: interop: ike1 with ipv6 qc pass: interop: ike1 with 3des qc pass: interop: ike1 with aes128 qc pass: interop: ike1 with aes192 qc pass: interop: ike1 with aes256 qc pass: interop: ike1 with sha1 qc pass: interop: ike1 with sha256 qc pass: interop: ike1 with sha512 qc pass: interop: ike1 with group2 qc pass: interop: ike1 with group5 qc pass: interop: ike1 with group14 qc pass: interop: ike1 with group15 qc pass: interop: ike1 with group16 qc pass: interop: ike1 with group24 qc pass: interop: ike2 with ipv4 qc pass: interop: ike2 with ipv6 qc pass: interop: ike2 with 3des qc pass: interop: ike2 with aes128 qc pass: interop: ike2 with aes192 qc pass: interop: ike2 with aes256 qc pass: interop: ike2 with sha1 qc pass: interop: ike2 with sha256 qc pass: interop: ike2 with sha512 qc pass: interop: ike2 with group2 qc pass: interop: ike2 with group5 qc pass: interop: ike2 with group14 qc pass: interop: ike2 with group15 qc pass: interop: ike2 with group16 qc pass: interop: ike2 with group24 qc pass: interop: point2point isis qc pass: interop: isis dis qc pass: interop: isis nondis qc pass: interop: isis narrow metric qc pass: interop: isis te qc pass: interop: isis multi-topology qc pass: interop: isis prefix withdraw qc pass: interop: isis authentication qc pass: interop: l2tp2 client qc pass: interop: l2tp2 server qc pass: interop: l2tp3 server qc pass: interop: ethernet tunneling with l2tp3 qc pass: interop: ldp lsp qc pass: interop: ethernet over mpls qc pass: interop: igmp3/mld2 qc pass: interop: pim qc pass: interop: point2point ospf qc pass: interop: ospf dr qc pass: interop: ospf nondr qc pass: interop: ospf transit area qc pass: interop: ospf stub area qc pass: interop: ospf nssa area qc pass: interop: ospf te qc pass: interop: ospf prefix withdraw qc pass: interop: ospf authentication qc pass: interop: pppoe client qc pass: interop: pppoe server qc pass: interop: pppoe with pap qc pass: interop: pppoe with chap qc pass: interop: pppoe with eap qc pass: interop: radius qc pass: interop: rip qc pass: interop: rip prefix withdraw qc pass: interop: rip authentication qc pass: interop: ssh qc pass: interop: tacacs qc pass: interop: gre tunnel qc pass: interop: ipip tunnel ---------------------------------- 2015-09-19 05:21:19 todo: ringbuffer capture on interfaces todo: bfd need to send with ttl=255, recheck after todo: tcp (bgp,ldp) password need to be repaired ---------------------------------- 2015-09-21 09:20:01 no todo: tcp (bgp,ldp) password need to be repaired no todo: ringbuffer capture on interfaces ---------------------------------- 2015-09-23 16:27:15 qc pass: static routing with labels todo: webdav server ---------------------------------- 2015-09-26 08:17:54 qc pass: targeted ldp qc pass: eigrp stub no todo: webdav server ---------------------------------- 2015-09-28 19:32:51 no qc pass: evpn over bgp auto mesh tunnel no qc pass: vpls over bgp auto mesh tunnel no qc pass: unicast+evpn over bgp additional path no qc pass: unicast+vpls over bgp additional path no qc pass: unicast+evpn over bgp with soft-reconfig no qc pass: unicast+vpls over bgp with soft-reconfig no qc pass: unicast+evpn over bgp no qc pass: unicast+vpls over bgp no qc pass: evpn over bgp with soft-reconfig no qc pass: vpls over bgp with soft-reconfig no qc pass: ethersite evpn over ibgp no qc pass: ethersite vpls over ibgp no qc pass: multisite evpn over ibgp rr no qc pass: evpn over bgp route server no qc pass: evpn over confed bgp no qc pass: evpn over ibgp rr no qc pass: evpn over bgp additional path no qc pass: evpn over ibgp no qc pass: evpn over ebgp no qc pass: multisite vpls over ibgp rr no qc pass: vpls over bgp route server no qc pass: vpls over confed bgp no qc pass: vpls over ibgp rr no qc pass: vpls over bgp additional path no qc pass: vpls over ibgp no qc pass: vpls over ebgp qc pass: vpls/ldp over ebgp qc pass: vpls/ldp over ibgp qc pass: vpls/ldp over bgp additional path qc pass: vpls/ldp over ibgp rr qc pass: vpls/ldp over confed bgp qc pass: vpls/ldp over bgp route server qc pass: multisite vpls/ldp over ibgp rr qc pass: evpn/pbb over ebgp qc pass: evpn/pbb over ibgp qc pass: evpn/pbb over bgp additional path qc pass: evpn/pbb over ibgp rr qc pass: evpn/pbb over confed bgp qc pass: evpn/pbb over bgp route server qc pass: multisite evpn/pbb over ibgp rr qc pass: ethersite vpls/ldp over ibgp qc pass: ethersite evpn/pbb over ibgp qc pass: vpls/ldp over bgp with soft-reconfig qc pass: evpn/pbb over bgp with soft-reconfig qc pass: unicast+vpls/ldp over bgp qc pass: unicast+evpn/pbb over bgp qc pass: unicast+vpls/ldp over bgp with soft-reconfig qc pass: unicast+evpn/pbb over bgp with soft-reconfig qc pass: unicast+vpls/ldp over bgp additional path qc pass: unicast+evpn/pbb over bgp additional path qc pass: vpls/ldp over bgp auto mesh tunnel qc pass: evpn/pbb over bgp auto mesh tunnel qc pass: vpls/bgp over ebgp qc pass: vpls/bgp over ibgp qc pass: vpls/bgp over bgp additional path qc pass: vpls/bgp over ibgp rr qc pass: vpls/bgp over confed bgp qc pass: vpls/bgp over bgp route server qc pass: multisite vpls/bgp over ibgp rr qc pass: ethersite vpls/bgp over ibgp qc pass: vpls/bgp over bgp with soft-reconfig qc pass: unicast+vpls/bgp over bgp qc pass: unicast+vpls/bgp over bgp with soft-reconfig qc pass: unicast+vpls/bgp over bgp additional path qc pass: vpls/bgp over bgp auto mesh tunnel qc pass: vpls/ldp+vpls/bgp over bgp ---------------------------------- 2015-10-14 04:28:54 todo: more filters: begin, first, last, uniq, sort ---------------------------------- 2015-10-14 16:12:48 no todo: more delete keystrokes to readline functions no todo: more useful mc keystrokes no todo: alt+r as execute random command in commander no todo: alt+s as find file in commmander no todo: more filters: begin, first, last, uniq, sort ---------------------------------- 2015-10-19 15:17:03 no qc pass: ibgp with next hop tracking no qc pass: ebgp with next hop tracking qc pass: ebgp with nexthop tracking qc pass: ibgp with nexthop tracking qc pass: ibgp conquer rr in subnet qc pass: ibgp conquer rr in subnet with soft-reconfig qc pass: ibgp conquer rr prefix withdraw qc pass: ibgp conquer rr prefix withdraw with soft-reconfig ---------------------------------- 2015-11-11 19:51:08 qc pass: unicast+mvpn over bgp qc pass: unicast+mdt over bgp qc pass: unicast+flowspec over bgp qc pass: unicast+flowspecvpn over bgp qc pass: unicast+mvpn over bgp with soft-reconfig qc pass: unicast+mdt over bgp with soft-reconfig qc pass: unicast+flowspec over bgp with soft-reconfig qc pass: unicast+flowspecvpn over bgp with soft-reconfig qc pass: unicast+mvpn over bgp with additional path qc pass: unicast+mdt over bgp with additional path qc pass: unicast+flowspec over bgp with additional path qc pass: unicast+flowspecvpn over bgp with additional path todo: mrt (rfc6396) ---------------------------------- 2015-11-21 20:25:16 no todo: mrt (rfc6396) todo: compare should write out that which attributes changed ---------------------------------- 2015-12-05 12:32:44 qc pass: ldp password qc pass: targeted ldp password ---------------------------------- 2015-12-08 22:12:32 qc pass: evpn/vxlan over ebgp qc pass: evpn/vxlan over ibgp qc pass: evpn/vxlan over bgp additional path qc pass: evpn/vxlan over ibgp rr qc pass: evpn/vxlan over confed bgp qc pass: evpn/vxlan over bgp route server qc pass: multisite evpn/vxlan over ibgp rr qc pass: ethersite evpn/vxlan over ibgp qc pass: evpn/vxlan over bgp with soft-reconfig qc pass: unicast+evpn/vxlan over bgp qc pass: unicast+evpn/vxlan over bgp with soft-reconfig qc pass: unicast+evpn/vxlan over bgp additional path qc pass: evpn/vxlan over bgp auto mesh tunnel qc pass: evpn/pbb+vpls/vxlan over ebgp ---------------------------------- 2015-12-10 23:51:34 qc pass: evpn/cmac over ebgp qc pass: evpn/cmac over ibgp qc pass: evpn/cmac over bgp additional path qc pass: evpn/cmac over ibgp rr qc pass: evpn/cmac over confed bgp qc pass: evpn/cmac over bgp route server qc pass: multisite evpn/cmac over ibgp rr qc pass: ethersite evpn/cmac over ibgp qc pass: evpn/cmac over bgp with soft-reconfig qc pass: unicast+evpn/cmac over bgp qc pass: unicast+evpn/cmac over bgp with soft-reconfig qc pass: unicast+evpn/cmac over bgp additional path qc pass: evpn/cmac over bgp auto mesh tunnel qc pass: evpn/pbb+vpls/cmac over ebgp ---------------------------------- 2015-12-25 13:33:51 qc pass: ingress ttl matching access list qc pass: egress ttl matching access list qc pass: ingress tos matching access list qc pass: egress tos matching access list qc pass: qos ingress ttl matcher qc pass: qos egress ttl matcher qc pass: ibgp with ttl-security qc pass: ebgp with ttl-security ---------------------------------- 2015-12-31 01:05:42 no qc pass: bgp rpki no work: bgp rpki ---------------------------------- 2015-12-31 13:21:18 qc pass: bgp rpki ---------------------------------- 2016-01-02 10:21:27 todo: enable should default to secret instead of password, in this way i can (reall? sure?) give show startup @ priv#1 todo: consider reenabling ecdsa or ecdh, or both or none. more study rqd after junoleaks... todo: reenable which elliptic courves? sure? why that? can you give your real name to your opinion? todo: kfreebsd jailt, kfreebsd hipervisor (!) todo: https://tools.ietf.org/html/draft-ietf-tn3270e-telnet-tls-06 ---------------------------------- 2016-01-04 21:03:14 todo: inspect to log layer2 addresses todo: enable should default to secret instead of password, in this way i can (sure?) give show startup @ priv#1 todo: macmove logging to bridge!!! todo: arpwatch for ipv4, ndwatch for ipv6 todo: reenable which elliptic courves? sure? why that? todo: kfreebsd jailt, kfreebsd hipervisor support for vdc todo: parse privilege levels from radius and tacacs todo: ldap client, server todo: tunnel shutdown command todo: tunnel autobandwidth for te ---------------------------------- 2016-01-06 01:05:41 no todo: bfd need to send with ttl=255, recheck after no todo: compare should write out that which attributes changed no todo: tunnel autobandwidth for te no todo: tunnel shutdown command no todo: kfreebsd jailt, kfreebsd hipervisor support for vdc no todo: arpwatch for ipv4, ndwatch for ipv6 no todo: macmove logging to bridge!!! no todo: enable should default to secret instead of password, in this way i can (sure?) give show startup @ priv#1 no todo: inspect to log layer2 addresses todo: tunnel shutdown todo: tunnel autobandwidth todo: bgp compare should write out that which attributes changed todo: bfd need to send with ttl=255 todo: arpwatch for ipv4/6 ---------------------------------- 2016-01-16 08:19:46 no todo: tunnel shutdown todo: packet flood command todo: tunnel shutdown command todo: ncp close should honored again todo: vdc tree drawing ---------------------------------- 2016-01-19 07:31:35 todo: usage countdown on aaa entries ---------------------------------- 2016-01-22 10:33:57 no todo: packet flood command todo: experimental packet flood command todo: packet fuzzer for some interesting findings todo: bdi infrastructure, service instances, etc todo: buggy-mode command for experimental features todo: dissect show me-the-xxx command, add more todo: show me the bug command which is also experimental!!! :) todo: lsrp should write shortver instead of segrou ---------------------------------- 2016-01-25 18:43:57 todo: reload vdc asdf looping as experimental!!! ---------------------------------- 2016-02-04 01:05:41 no todo: show me the bug command which is also experimental!!! :) no todo: buggy-mode command for experimental features ---------------------------------- 2016-02-07 07:22:56 no todo: tunnel shutdown command no todo: lsrp should write shortver instead of segrou no todo: dissect show me-the-xxx command, add more ---------------------------------- 2016-02-09 09:33:38 no todo: packet fuzzer for some interesting findings no todo: experimental packet flood command ---------------------------------- 2016-02-26 08:59:20 no todo: usage countdown on aaa entries ---------------------------------- 2016-07-14 13:21:10 todo: reload vdc asdf looping as experimental!!! todo: bdi infrastructure, service instances, etc todo: ncp close should honored again todo: vdc tree drawing todo: reenable which elliptic courves? sure? why that? todo: https://tools.ietf.org/html/draft-ietf-tn3270e-telnet-tls-06 todo: parse privilege levels from radius and tacacs todo: ldap client, server todo: tunnel autobandwidth todo: bgp compare should write out that which attributes changed todo: bfd need to send with ttl=255 todo: attach line not working anymore, try with deactivation and attach todo: trustpoint for certificates todo: more level of config sections todo: tab for deb pro o?-->ospf[4/6] todo: interface name tabbing todo: show upgrade todo: reenabling of routing protocols fails todo: int eth1/int eth2 todo: dhcp relay support todo: sslvpn client, server todo: dlsw client, server todo: tcp selective ack todo: xot, x75 switching todo: preallocate qos buffers todo: lisp4, lisp6 todo: l2vpn for isis todo: hip (rfc4423) todo: more show commands todo: more clear commands todo: more interactive tools todo: arpwatch for ipv4/6 todo: igmp4/6 snoop, pim4/6 snoop for bridging todo: multilink ppp, fr todo: x25 todo: default vrf for show commands ---------------------------------- 2016-07-14 13:29:15 qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp filtering with locpref qc pass: bgp filtering with origin qc pass: bgp filtering with metric qc pass: bgp filtering with standard community qc pass: bgp filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as out qc pass: bgp override as out qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls/ldp over ebgp qc pass: vpls/ldp over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: ebgp password qc pass: bgp filtering with aigp qc pass: bgp filtering with bandwidth qc pass: bgp rpki qc pass: bgp additional path qc pass: bgp additional path with labels qc pass: vpns over bgp additional path qc pass: vpls/ldp over bgp additional path qc pass: bgp nexthop unchanged qc pass: bgp remove private as in qc pass: bgp override as in qc pass: ebgp with nexthop tracking qc pass: ibgp with nexthop tracking qc pass: vpns over ibgp rr qc pass: vpls/ldp over ibgp rr qc pass: bgp clustlist qc pass: bgp metric vs clustlist qc pass: bgp distance qc pass: bgp distance vs locpref qc pass: ebgp in chain with soft-reconfig qc pass: confed bgp in chain with soft-reconfig qc pass: ibgp in chain with soft-reconfig qc pass: ibgp rr in subnet with soft-reconfig qc pass: bgp ingress route filtering with prefixlist with soft-reconfig qc pass: bgp egress route filtering with prefixlist with soft-reconfig qc pass: bgp ingress route filtering with routemap with soft-reconfig qc pass: bgp egress route filtering with routemap with soft-reconfig qc pass: bgp filtering with locpref with soft-reconfig qc pass: bgp filtering with origin with soft-reconfig qc pass: bgp filtering with metric with soft-reconfig qc pass: bgp filtering with standard community with soft-reconfig qc pass: bgp filtering with aspath with soft-reconfig qc pass: bgp locpref with soft-reconfig qc pass: bgp aspath with soft-reconfig qc pass: bgp origin with soft-reconfig qc pass: bgp metric with soft-reconfig qc pass: bgp locpref vs aspath with soft-reconfig qc pass: bgp aspath vs origin with soft-reconfig qc pass: bgp origin vs metric with soft-reconfig qc pass: bgp filtering with extended community with soft-reconfig qc pass: bgp clustlist with soft-reconfig qc pass: bgp metric vs clustlist with soft-reconfig qc pass: bgp distance with soft-reconfig qc pass: bgp distance vs locpref with soft-reconfig qc pass: bgp filtering with aigp with soft-reconfig qc pass: bgp filtering with bandwidth with soft-reconfig qc pass: bgp with a lot prefix qc pass: ebgp prefix withdraw qc pass: confed bgp prefix withdraw qc pass: ibgp prefix withdraw qc pass: ibgp fullmesh prefix withdraw qc pass: ibgp rr prefix withdraw qc pass: ebgp prefix withdraw with soft-reconfig qc pass: confed bgp prefix withdraw with soft-reconfig qc pass: ibgp prefix withdraw with soft-reconfig qc pass: ibgp fullmesh prefix withdraw with soft-reconfig qc pass: ibgp rr prefix withdraw with soft-reconfig qc pass: vpns over confed bgp qc pass: vpls/ldp over confed bgp qc pass: vpns over bgp route server qc pass: vpls/ldp over bgp route server qc pass: bgp route server with soft-reconfig qc pass: bgp route server prefix withdraw qc pass: bgp route server prefix withdraw with soft-reconfig qc pass: multisite vpns over ibgp rr no work: multisite vpls/ldp over ibgp rr qc pass: bgp change in locpref qc pass: bgp change in aspath qc pass: bgp change in origin qc pass: bgp change in metric qc pass: bgp change in aigp qc pass: bgp change in bandwidth qc pass: bgp change in standard community qc pass: bgp change in extended community qc pass: bgp change in locpref with soft-reconfig qc pass: bgp change in aspath with soft-reconfig qc pass: bgp change in origin with soft-reconfig qc pass: bgp change in metric with soft-reconfig qc pass: bgp change in aigp with soft-reconfig qc pass: bgp change in bandwidth with soft-reconfig qc pass: bgp change in standard community with soft-reconfig qc pass: bgp change in extended community with soft-reconfig qc pass: bgp aggregation qc pass: bgp maximum prefix qc pass: evpn/pbb over ebgp qc pass: evpn/pbb over ibgp qc pass: evpn/pbb over bgp additional path qc pass: evpn/pbb over ibgp rr qc pass: evpn/pbb over confed bgp qc pass: evpn/pbb over bgp route server qc pass: multisite evpn/pbb over ibgp rr qc pass: ethersite vpls/ldp over ibgp qc pass: ethersite evpn/pbb over ibgp qc pass: ethersite vpns over ibgp qc pass: vpns over bgp with soft-reconfig qc pass: vpls/ldp over bgp with soft-reconfig qc pass: evpn/pbb over bgp with soft-reconfig qc pass: unicast+vpns over bgp qc pass: unicast+vpls/ldp over bgp qc pass: unicast+evpn/pbb over bgp qc pass: unicast+vpns over bgp with soft-reconfig qc pass: unicast+vpls/ldp over bgp with soft-reconfig qc pass: unicast+evpn/pbb over bgp with soft-reconfig qc pass: unicast+vpns over bgp additional path qc pass: unicast+vpls/ldp over bgp additional path qc pass: unicast+evpn/pbb over bgp additional path qc pass: bgp auto mesh tunnel qc pass: vpns over bgp auto mesh tunnel qc pass: vpls/ldp over bgp auto mesh tunnel qc pass: evpn/pbb over bgp auto mesh tunnel qc pass: vpls/bgp over ebgp qc pass: vpls/bgp over ibgp qc pass: vpls/bgp over bgp additional path qc pass: vpls/bgp over ibgp rr qc pass: vpls/bgp over confed bgp qc pass: vpls/bgp over bgp route server qc pass: multisite vpls/bgp over ibgp rr qc pass: ethersite vpls/bgp over ibgp qc pass: vpls/bgp over bgp with soft-reconfig qc pass: unicast+vpls/bgp over bgp qc pass: unicast+vpls/bgp over bgp with soft-reconfig qc pass: unicast+vpls/bgp over bgp additional path qc pass: vpls/bgp over bgp auto mesh tunnel qc pass: vpls/ldp+vpls/bgp over bgp qc pass: ibgp conquer rr in subnet qc pass: ibgp conquer rr in subnet with soft-reconfig qc pass: ibgp conquer rr prefix withdraw qc pass: ibgp conquer rr prefix withdraw with soft-reconfig qc pass: unicast+mvpn over bgp qc pass: unicast+mdt over bgp qc pass: unicast+flowspec over bgp qc pass: unicast+flowspecvpn over bgp qc pass: unicast+mvpn over bgp with soft-reconfig qc pass: unicast+mdt over bgp with soft-reconfig qc pass: unicast+flowspec over bgp with soft-reconfig qc pass: unicast+flowspecvpn over bgp with soft-reconfig qc pass: unicast+mvpn over bgp with additional path qc pass: unicast+mdt over bgp with additional path qc pass: unicast+flowspec over bgp with additional path qc pass: unicast+flowspecvpn over bgp with additional path qc pass: evpn/vxlan over ebgp qc pass: evpn/vxlan over ibgp qc pass: evpn/vxlan over bgp additional path qc pass: evpn/vxlan over ibgp rr qc pass: evpn/vxlan over confed bgp qc pass: evpn/vxlan over bgp route server qc pass: multisite evpn/vxlan over ibgp rr qc pass: ethersite evpn/vxlan over ibgp qc pass: evpn/vxlan over bgp with soft-reconfig qc pass: unicast+evpn/vxlan over bgp qc pass: unicast+evpn/vxlan over bgp with soft-reconfig qc pass: unicast+evpn/vxlan over bgp additional path qc pass: evpn/vxlan over bgp auto mesh tunnel qc pass: evpn/pbb+vpls/vxlan over ebgp qc pass: evpn/cmac over ebgp qc pass: evpn/cmac over ibgp qc pass: evpn/cmac over bgp additional path qc pass: evpn/cmac over ibgp rr qc pass: evpn/cmac over confed bgp qc pass: evpn/cmac over bgp route server qc pass: multisite evpn/cmac over ibgp rr qc pass: ethersite evpn/cmac over ibgp qc pass: evpn/cmac over bgp with soft-reconfig qc pass: unicast+evpn/cmac over bgp qc pass: unicast+evpn/cmac over bgp with soft-reconfig qc pass: unicast+evpn/cmac over bgp additional path qc pass: evpn/cmac over bgp auto mesh tunnel qc pass: evpn/pbb+vpls/cmac over ebgp qc pass: ibgp with ttl-security qc pass: ebgp with ttl-security todo: reload vdc asdf looping as experimental!!! todo: bdi infrastructure, service instances, etc todo: ncp close should honored again todo: vdc tree drawing todo: reenable which elliptic courves? sure? why that? todo: https://tools.ietf.org/html/draft-ietf-tn3270e-telnet-tls-06 todo: parse privilege levels from radius and tacacs todo: ldap client, server todo: tunnel autobandwidth todo: bgp compare should write out that which attributes changed todo: bfd need to send with ttl=255 todo: attach line not working anymore, try with deactivation and attach todo: trustpoint for certificates todo: more level of config sections todo: tab for deb pro o?-->ospf[4/6] todo: interface name tabbing todo: show upgrade todo: reenabling of routing protocols fails todo: int eth1/int eth2 todo: dhcp relay support todo: sslvpn client, server todo: dlsw client, server todo: tcp selective ack todo: xot, x75 switching todo: preallocate qos buffers todo: lisp4, lisp6 todo: l2vpn for isis todo: hip (rfc4423) todo: more show commands todo: more clear commands todo: more interactive tools todo: arpwatch for ipv4/6 todo: igmp4/6 snoop, pim4/6 snoop for bridging todo: multilink ppp, fr todo: x25 todo: default vrf for show commands ---------------------------------- 2016-07-30 09:51:43 no todo: dlsw client, server qc pass: dlsw over ipv4 qc pass: dlsw over ipv6 qc pass: dlsw over loopback qc pass: hdlc tunneling with dlsw qc pass: ppp tunneling with dlsw qc pass: lapb tunneling with dlsw qc pass: framerelay tunneling with dlsw qc pass: atmdxi tunneling with dlsw qc pass: isdn tunneling with dlsw qc pass: ethernet tunneling with dlsw qc pass: vlan tunneling with dlsw qc pass: tunnel interface with dlsw qc pass: cross connect interworking with dlsw ---------------------------------- 2016-08-21 09:13:33 no qc pass: bridged ethernet over bridge no qc pass: bridge with spantree no qc pass: bridged ethernet over gre no qc pass: bridged ethernet over atmsar no qc pass: bridged ethernet over atmdxi no qc pass: bridged ethernet over framerelay no qc pass: bridged ethernet over ppp no qc pass: bridged ethernet over hdlc no qc pass: star bridged ethernet no qc pass: chain bridged ethernet vlan no qc pass: chain bridged ethernet no qc pass: isdn with ax25 no qc pass: atmdxi with ax25 no qc pass: framerelay with ax25 no qc pass: lapb with ax25 no qc pass: hdlc with ax25 no qc pass: ppp with ax25 no qc pass: atmsar encapsulation no qc pass: atmdxi encapsulation no qc pass: dummy test no work: dummy test no work: atmdxi encapsulation no work: atmsar encapsulation no work: ppp with ax25 no work: hdlc with ax25 no work: lapb with ax25 no work: framerelay with ax25 no work: atmdxi with ax25 no work: isdn with ax25 no work: chain bridged ethernet no work: chain bridged ethernet vlan no work: star bridged ethernet no work: bridged ethernet over hdlc no work: bridged ethernet over ppp no work: bridged ethernet over framerelay no work: bridged ethernet over atmdxi no work: bridged ethernet over atmsar no work: bridged ethernet over gre no work: bridge with spantree no work: bridged ethernet over bridge todo: sh ipv4 isis 100 data 2 doesn't work anymore too nicely...:) todo: ctunnel interface which is the same as tunnel interface --> interface aliasing... ---------------------------------- 2016-08-23 00:05:36 no todo: sh ipv4 isis 100 data 2 doesn't work anymore too nicely...:) qc pass: dummy test qc pass: atmdxi encapsulation qc pass: atmsar encapsulation qc pass: ppp with ax25 qc pass: hdlc with ax25 qc pass: lapb with ax25 qc pass: framerelay with ax25 qc pass: atmdxi with ax25 qc pass: isdn with ax25 qc pass: chain bridged ethernet qc pass: chain bridged ethernet vlan qc pass: star bridged ethernet qc pass: bridged ethernet over hdlc qc pass: bridged ethernet over ppp qc pass: bridged ethernet over framerelay qc pass: bridged ethernet over atmdxi qc pass: bridged ethernet over atmsar qc pass: bridged ethernet over gre qc pass: bridge with spantree qc pass: bridged ethernet over bridge todo: interface range command... todo: sh ipv4 isis 100 data 2 doesn't work anymore too nicely... ---------------------------------- 2016-09-10 11:54:49 todo: mpls label security ---------------------------------- 2017-02-19 22:32:48 qc pass: bgp filtering with large community qc pass: bgp filtering with large community with soft-reconfig qc pass: bgp change in large community qc pass: bgp change in large community with soft-reconfig ---------------------------------- 2017-03-10 08:59:52 qc pass: udpgre over ipv4 qc pass: udpgre over ipv6 qc pass: udpgre over udpgre qc pass: udpgre over loopback ---------------------------------- 2017-03-17 08:33:22 no todo: vdc tree drawing no todo: ctunnel interface which is the same as tunnel interface --> interface aliasing... no todo: sh ipv4 isis 100 data 2 doesn't work anymore too nicely... no qc pass: rip metric no qc pass: pvrp metric qc pass: babel triangle connection qc pass: bgp triangle connection qc pass: eigrp triangle connection qc pass: isis triangle connection qc pass: lsrp triangle connection qc pass: ospf triangle connection qc pass: pvrp incoming metric qc pass: pvrp outgoing metric qc pass: pvrp triangle connection qc pass: rip incoming metric qc pass: rip outgoing metric qc pass: rip triangle connection ---------------------------------- 2017-03-18 21:48:24 no qc pass: rip outgoing metric no qc pass: rip incoming metric no qc pass: pvrp outgoing metric no qc pass: pvrp incoming metric qc pass: ingress dscp matching access list qc pass: egress dscp matching access list qc pass: ingress precedence matching access list qc pass: egress precedence matching access list qc pass: ingress length matching access list qc pass: egress length matching access list qc pass: pvrp incoming interface metric qc pass: pvrp outgoing interface metric qc pass: pvrp incoming routemap metric qc pass: pvrp outgoing routemap metric qc pass: rip incoming interface metric qc pass: rip outgoing interface metric qc pass: rip incoming routemap metric qc pass: rip outgoing interface metric ---------------------------------- 2017-04-05 21:43:35 no todo: tab for deb pro o?-->ospf[4/6] qc pass: rip outgoing routemap metric ---------------------------------- 2017-04-08 06:05:36 qc pass: redistribution filtering with hierarchical routemap ---------------------------------- 2017-04-09 21:42:35 no todo: reenabling of routing protocols fails no qc pass: eigrp delay no qc pass: bgp filtering with large community with soft-reconfig no qc pass: bgp filtering with large community no qc pass: bgp filtering with bandwidth with soft-reconfig no qc pass: bgp filtering with aigp with soft-reconfig no qc pass: bgp filtering with extended community with soft-reconfig no qc pass: bgp filtering with aspath with soft-reconfig no qc pass: bgp filtering with standard community with soft-reconfig no qc pass: bgp filtering with metric with soft-reconfig no qc pass: bgp filtering with origin with soft-reconfig no qc pass: bgp filtering with locpref with soft-reconfig no qc pass: ebgp with nexthop tracking no qc pass: bgp filtering with bandwidth no qc pass: bgp filtering with aigp no qc pass: bgp filtering with extended community no qc pass: bgp filtering with aspath no qc pass: bgp filtering with standard community no qc pass: bgp filtering with metric no qc pass: bgp filtering with origin no qc pass: bgp filtering with locpref no qc pass: babel triangle connection no qc pass: babel metric qc pass: babel incoming metric with routemap no work: babel triangle connection qc pass: babel ingress route filtering with routepolicy qc pass: babel egress route filtering with routepolicy qc pass: babel outgoing metric with routemap qc pass: babel incoming metric with routepolicy qc pass: babel outgoing metric with routepolicy qc pass: babel incoming interface metric qc pass: babel outgoing interface metric qc pass: bgp routemap filtering with locpref qc pass: bgp routemap filtering with origin qc pass: bgp routemap filtering with metric qc pass: bgp routemap filtering with standard community qc pass: bgp routemap filtering with aspath qc pass: bgp routemap filtering with extended community qc pass: bgp routemap filtering with aigp qc pass: bgp routemap filtering with bandwidth no work: ebgp with nexthop tracking qc pass: bgp routemap filtering with locpref with soft-reconfig qc pass: bgp routemap filtering with origin with soft-reconfig qc pass: bgp routemap filtering with metric with soft-reconfig qc pass: bgp routemap filtering with standard community with soft-reconfig qc pass: bgp routemap filtering with aspath with soft-reconfig qc pass: bgp routemap filtering with extended community with soft-reconfig qc pass: bgp routemap filtering with aigp with soft-reconfig qc pass: bgp routemap filtering with bandwidth with soft-reconfig qc pass: bgp routemap filtering with large community qc pass: bgp routemap filtering with large community with soft-reconfig qc pass: bgp routemap filtering with aspath length qc pass: bgp routepolicy filtering with aspath length qc pass: bgp routemap filtering with aspath length witt soft-reconfig qc pass: bgp routepolicy filtering with aspath length with soft-reconfig qc pass: bgp ingress route filtering with routepolicy qc pass: bgp egress route filtering with routepolicy qc pass: bgp routepolicy filtering with locpref qc pass: bgp routepolicy filtering with origin qc pass: bgp routepolicy filtering with metric qc pass: bgp routepolicy filtering with aspath qc pass: bgp routepolicy filtering with extended community qc pass: bgp routepolicy filtering with aigp qc pass: bgp routepolicy filtering with bandwidth qc pass: bgp ingress route filtering with routepolicy with soft-reconfig qc pass: bgp egress route filtering with routepolicy with soft-reconfig qc pass: bgp routepolicy filtering with locpref with soft-reconfig qc pass: bgp routepolicy filtering with origin with soft-reconfig qc pass: bgp routepolicy filtering with metric with soft-reconfig qc pass: bgp routepolicy filtering with standard community with soft-reconfig qc pass: bgp routepolicy filtering with aspath with soft-reconfig qc pass: bgp routepolicy filtering with extended community with soft-reconfig qc pass: bgp routepolicy filtering with aigp with soft-reconfig qc pass: bgp routepolicy filtering with bandwidth with soft-reconfig qc pass: bgp routepolicy filtering with large community qc pass: bgp routepolicy filtering with large community with soft-reconfig qc pass: eigrp ingress delay qc pass: eigrp ingress route filtering with routepolicy qc pass: eigrp egress route filtering with routepolicy qc pass: eigrp egress delay qc pass: isis inter level ingress filtering with routepolicy qc pass: isis inter level egress filtering with routepolicy qc pass: lsrp route filtering with routepolicy qc pass: ospf inter area ingress filtering with routepolicy qc pass: ospf inter area egress filtering with routepolicy qc pass: pvrp incoming routepolicy metric qc pass: pvrp outgoing routepolicy metric qc pass: pvrp ingress route filtering with routepolicy qc pass: pvrp egress route filtering with routepolicy qc pass: redistribution filtering with routepolicy qc pass: redistribution filtering with hierarchical routepolicy qc pass: rip ingress route filtering with routepolicy qc pass: rip egress route filtering with routepolicy qc pass: rip incoming routepolicy metric qc pass: rip outgoing routepolicy metric ---------------------------------- 2017-04-10 07:54:28 no qc pass: ibgp with nexthop tracking qc pass: babel triangle connection qc pass: ebgp with nexthop tracking routemap qc pass: ibgp with nexthop tracking routemap qc pass: ebgp with nexthop tracking routepolicy qc pass: ibgp with nexthop tracking routepolicy ---------------------------------- 2017-04-21 05:06:25 no todo: reload vdc asdf looping as experimental!!! no todo: interface range command... qc pass: event manager todo: interface range command todo: reload vdc asdf looping as experimental ---------------------------------- 2017-04-23 15:34:27 qc pass: ppp over pckoudp pwhe qc pass: ethernet over pckoudp pwhe qc pass: ethernet over vxlan pwhe qc pass: ethernet over geneve pwhe qc pass: ethernet over erspan pwhe qc pass: ethernet over dlsw pwhe qc pass: ethernet over etherip pwhe qc pass: ethernet over uti pwhe qc pass: ethernet over nvgre pwhe qc pass: ppp over greppp pwhe qc pass: ppp over ax25 pwhe qc pass: ppp over l2tp3 pwhe qc pass: ethernet over l2tp3 pwhe qc pass: ppp over mpls pwhe qc pass: ethernet over mpls pwhe ---------------------------------- 2017-04-29 16:31:58 qc pass: ip over anyconnect qc pass: ppp over l2f pwhe qc pass: ppp over l2tp2 pwhe ---------------------------------- 2017-05-02 20:36:59 qc pass: openvpn over ipv4 qc pass: openvpn over ipv6 qc pass: openvpn over openvpn qc pass: openvpn over loopback qc pass: openvpn with des qc pass: openvpn with blowfish qc pass: openvpn with 3des qc pass: openvpn with aes128 qc pass: openvpn with aes192 qc pass: openvpn with aes256 qc pass: openvpn with md5 qc pass: openvpn with sha1 qc pass: openvpn with sha256 qc pass: openvpn with sha512 qc pass: static routing with interface ---------------------------------- 2017-05-07 09:28:00 qc pass: sep with ax25 qc pass: sep tunneling with dlsw qc pass: sep tunneling with erspan qc pass: sep tunneling with etherip qc pass: sep tunneling with geneve qc pass: sep with gre qc pass: sep over l2tp3 qc pass: sep tunneling with l2tp3 qc pass: sep tunneling with nvgre qc pass: sep tunneling with packet over udp qc pass: sep qc pass: sep tunneling with uti qc pass: sep tunneling with vxlan qc pass: cross connect sep interfaces qc pass: sep over mpls qc pass: sep tunneling with mpls ---------------------------------- 2017-05-09 19:58:11 no todo: sslvpn client, server no qc pass: ethernet over pckoudp pwhe no qc pass: ppp over pckoudp pwhe qc pass: ppp over packet over udp pwhe qc pass: ethernet over packet over udp pwhe ---------------------------------- 2017-05-14 13:30:33 qc pass: openflow: software routing qc pass: openflow: ip routing qc pass: openflow: mpls routing ---------------------------------- 2017-05-16 08:49:26 qc pass: openflow: bridging and routing ---------------------------------- 2017-05-18 12:28:14 qc pass: slaac qc pass: ppp over pptp pwhe ---------------------------------- 2017-05-20 12:52:56 qc pass: openflow: multicast routing qc pass: openflow: mldp routing ---------------------------------- 2017-05-27 11:38:45 qc pass: olsr on one subnet qc pass: olsr in chain qc pass: olsr ingress route filtering with prefixlist qc pass: olsr egress route filtering with prefixlist qc pass: olsr ingress route filtering with routemap qc pass: olsr egress route filtering with routemap qc pass: olsr ingress route filtering with routepolicy qc pass: olsr egress route filtering with routepolicy qc pass: olsr max metric qc pass: olsr address suppression qc pass: olsr default route qc pass: olsr incoming interface metric qc pass: olsr outgoing interface metric qc pass: olsr incoming metric with routemap qc pass: olsr outgoing metric with routemap qc pass: olsr incoming metric with routepolicy qc pass: olsr outgoing metric with routepolicy qc pass: olsr with bfd qc pass: olsr peer template qc pass: olsr prefix withdraw qc pass: olsr aggregation qc pass: olsr auto mesh tunnel qc pass: olsr triangle connection qc pass: redistribution with olsr ---------------------------------- 2017-07-07 10:07:22 no qc pass: interop: bgp vpn qc pass: interop: bgp vpnv4 qc pass: interop: bgp vpnv6 qc pass: othervpn over ebgp qc pass: othervpns over ibgp qc pass: othervpns over bgp additional path qc pass: othervpns over ibgp rr qc pass: othervpns over confed bgp qc pass: othervpns over bgp route server qc pass: multisite othervpns over ibgp rr qc pass: ethersite othervpns over ibgp qc pass: othervpns over bgp with soft-reconfig qc pass: unicast+othervpns over bgp qc pass: unicast+othervpns over bgp with soft-reconfig qc pass: unicast+othervpns over bgp additional path qc pass: othervpns over bgp auto mesh tunnel ---------------------------------- 2017-07-08 13:16:34 qc pass: unicast+vpnmul over bgp qc pass: unicast+vpnmul over bgp with soft-reconfig qc pass: unicast+vpnmul over bgp with additional path ---------------------------------- 2017-07-10 09:37:59 no qc pass: bgp routemap filtering with aspath length witt soft-reconfig qc pass: bgp routemap filtering with aspath length with soft-reconfig qc pass: multicast between pim and mldp ---------------------------------- 2017-07-11 12:15:12 qc pass: multicast vpn routing with mldp qc pass: multicast vpn between pim and mldp ---------------------------------- 2017-07-11 22:00:42 qc pass: unicast+othermvpn over bgp qc pass: unicast+othermvpn over bgp with soft-reconfig qc pass: unicast+othermvpn over bgp with additional path qc pass: unicast+otherflowspecvpn over bgp qc pass: unicast+otherflowspecvpn over bgp with soft-reconfig qc pass: unicast+otherflowspecvpn over bgp with additional path qc pass: unicast+othervpnmul over bgp qc pass: unicast+othervpnmul over bgp with soft-reconfig qc pass: unicast+othervpnmul over bgp with additional path qc pass: multicast othervpn routing with mldp qc pass: multicast othervpn between pim and mldp ---------------------------------- 2017-07-12 17:38:06 qc pass: proxy arp/nd qc pass: unicast+multicast over bgp qc pass: unicast+multicast over bgp with soft-reconfig qc pass: unicast+multicast over bgp with additional path qc pass: bgp csc vpn qc pass: multicast routing ttl treshold qc pass: multicast routing decoupled from unicast ---------------------------------- 2017-07-17 20:25:07 no qc pass: othervpn over ebgp no qc pass: proxy arp/nd qc pass: proxy remote arp/nd qc pass: proxy local arp/nd qc pass: othervpns over ebgp qc pass: unicast+other over bgp qc pass: unicast+other over bgp with soft-reconfig qc pass: unicast+other over bgp with additional path ---------------------------------- 2017-07-20 10:38:43 qc pass: ebgp prefix movement qc pass: confed bgp prefix movement qc pass: ibgp rr prefix movement qc pass: bgp route server prefix movement qc pass: ibgp conquer rr prefix movement qc pass: ibgp fullmesh prefix movement qc pass: ebgp prefix movement with soft-reconfig qc pass: confed bgp prefix movement with soft-reconfig qc pass: ibgp rr prefix movement with soft-reconfig qc pass: bgp route server prefix movement with soft-reconfig qc pass: ibgp conquer rr prefix movement with soft-reconfig qc pass: ibgp fullmesh prefix movement with soft-reconfig qc pass: isis prefix movement qc pass: lsrp prefix movement qc pass: ospf prefix movement qc pass: pvrp prefix movement ---------------------------------- 2017-07-22 05:26:47 qc pass: bgp csc othervpn qc pass: redistribution with bgp othervpn ---------------------------------- 2017-07-23 12:02:17 qc pass: bgp prefix hammering qc pass: redistribution prefix withdraw qc pass: redistribution change in metric qc pass: redistribution prefix movement ---------------------------------- 2017-07-25 05:00:28 qc pass: bgp csc vpn with ldp qc pass: bgp csc othervpn with ldp ---------------------------------- 2017-07-27 07:33:15 qc pass: unicast+mspw over bgp qc pass: unicast+mspw over bgp with soft-reconfig qc pass: unicast+mspw over bgp with additional path ---------------------------------- 2017-07-29 15:45:39 qc pass: bgp with segment routing ---------------------------------- 2017-08-06 13:31:14 qc pass: ebgp vpn client qc pass: ibgp vpn client qc pass: ebgp vpn client with soft-reconfig qc pass: ibgp vpn client with soft-reconfig qc pass: bgp symmetric compression qc pass: bgp asymmetric compression ---------------------------------- 2017-08-10 15:04:10 qc pass: bgp none compression qc pass: bgp prefix packing ---------------------------------- 2017-09-19 07:21:14 no todo: arpwatch for ipv4/6 ---------------------------------- 2017-10-06 18:17:58 qc pass: ingress label filtering with ldp qc pass: egress label filtering with ldp qc pass: vrf label filtering with ldp ---------------------------------- 2017-10-11 21:23:24 qc pass: recursive dns server ---------------------------------- 2017-10-14 08:16:37 no todo: mpls label security ---------------------------------- 2017-10-18 14:07:20 qc pass: qos ingress ttl set qc pass: qos egress ttl set qc pass: ebgp with nexthop tracking interface qc pass: ibgp with nexthop tracking interface ---------------------------------- 2017-10-30 15:35:10 qc pass: bier in chain qc pass: bier in star qc pass: bier in dense chain qc pass: bier in dense star qc pass: bier on multiple si qc pass: bier on mixed si qc pass: bier with 64b bsl qc pass: bier with 128b bsl qc pass: bier with 256b bsl qc pass: bier with 512b bsl qc pass: bier with 1k bsl qc pass: bier with 2k bsl qc pass: bier with 4k bsl qc pass: segment routing in chain qc pass: segment routing in star qc pass: te over segment routing qc pass: pwe over segment routing qc pass: lsrp with bier ---------------------------------- 2017-10-31 20:50:26 qc pass: backup bundle ---------------------------------- 2017-11-02 16:39:45 qc pass: multicast routing with pim join source qc pass: multicast routing with pim over bier qc pass: multicast between pim and pim over bier ---------------------------------- 2017-11-03 17:52:41 qc pass: bgp with labels and segment routing qc pass: vpns over bgp with segment routing qc pass: othervpns over bgp with segment routing qc pass: bgp with segment routing ---------------------------------- 2017-11-04 17:48:07 no qc pass: othervpns over bgp with segment routing no qc pass: vpns over bgp with segment routing no qc pass: bgp with labels and segment routing qc pass: bgp with labels over segment routing qc pass: vpns over bgp over segment routing qc pass: othervpns over bgp over segment routing ---------------------------------- 2017-11-05 14:56:51 qc pass: bier over broadcast subnet qc pass: segment routing over broadcast subnet ---------------------------------- 2017-11-06 14:06:48 qc pass: mixed protocol over bier qc pass: mpls over bier qc pass: bgp with bier qc pass: isis with bier qc pass: isis inter-level with bier qc pass: isis multi-topology with bier qc pass: ospf with bier qc pass: ospf transit area with bier ---------------------------------- 2017-12-07 09:28:36 no qc pass: ldp over ppp no work: ldp over ppp ---------------------------------- 2017-12-07 21:38:51 no todo: ncp close should honored again qc pass: ldp over ppp ---------------------------------- 2017-12-19 12:12:12 no todo: new release signing key ---------------------------------- 2018-01-06 23:12:45 qc pass: policy routing with nexthop qc pass: policy routing with interface and nexthop between vrfs qc pass: policy routing with interface and nexthop qc pass: policy routing with interface and nexthop between vrfs qc pass: policy routing between vrfs with routing qc pass: policy routing with nexthop on interface ---------------------------------- 2018-01-15 06:20:44 qc pass: bgp routemap filtering with rd qc pass: bgp routepolicy filtering with rd qc pass: bgp routemap filtering with rd with soft-reconfig qc pass: bgp routepolicy filtering with rd with soft-reconfig qc pass: policy routing with interface and nexthop between vrfs ---------------------------------- 2018-01-16 06:59:54 qc pass: policy routing with nexthop on interface between vrfs ---------------------------------- 2018-02-03 06:28:42 qc pass: bgp routemap filtering with afi qc pass: bgp routepolicy filtering with afi qc pass: bgp routemap filtering with afi with soft-reconfig qc pass: bgp routepolicy filtering with afi with soft-reconfig ---------------------------------- 2018-02-11 21:05:55 no qc pass: rip auto mesh tunnel no qc pass: pvrp auto mesh tunnel no qc pass: ospf auto mesh tunnel no qc pass: olsr auto mesh tunnel no qc pass: lsrp auto mesh tunnel no qc pass: isis auto mesh tunnel no qc pass: eigrp auto mesh tunnel no qc pass: bgp auto mesh tunnel no qc pass: babel auto mesh tunnel no work: babel auto mesh tunnel no work: bgp auto mesh tunnel no work: eigrp auto mesh tunnel no work: isis auto mesh tunnel no work: lsrp auto mesh tunnel no work: olsr auto mesh tunnel no work: ospf auto mesh tunnel no work: pvrp auto mesh tunnel no work: rip auto mesh tunnel todo: todo: safe=1000: todo: todo: lenovo=9: todo: todo: player=99: todo: todo: automesh to the end of route table calculator todo: rename taba to tabu in route table calculator todo: optimize redistributed routes too at notifyrouters todo: ospf and isis missed notifications, schedwork/run use syncint todo: lsrp to use syncint as todo todo: statistics for redistribution todo: show commands for redistribution todo: route table calculation must not merge distance>255 ---------------------------------- 2018-02-12 18:20:36 no todo: route table calculation must not merge distance>255 no todo: show commands for redistribution no todo: statistics for redistribution no todo: lsrp to use syncint as todo no todo: ospf and isis missed notifications, schedwork/run use syncint no todo: optimize redistributed routes too at notifyrouters no todo: rename taba to tabu in route table calculator no todo: automesh to the end of route table calculator no todo: player=99: no todo: lenovo=9: no todo: safe=1000: no todo: reload vdc asdf looping as experimental qc pass: babel auto mesh tunnel qc pass: bgp auto mesh tunnel qc pass: eigrp auto mesh tunnel qc pass: isis auto mesh tunnel qc pass: lsrp auto mesh tunnel qc pass: olsr auto mesh tunnel qc pass: ospf auto mesh tunnel qc pass: pvrp auto mesh tunnel qc pass: rip auto mesh tunnel todo: reload vdc/process asdf stop/start todo: todo: done: player/99: rout-ospf37.tst: no work: ospf prefix movement todo: done: ospf and isis missed notifications, schedwork/run todo use syncint todo: done: lsrp to use syncint as todo todo: done: tester should collect tracebacks todo: done: show commands for redistributed, computed todo: done: statistics for redistribution todo: done: optimize redistributed routes too at notifyrouters todo: done: rename taba to tabu in route table calculator todo: done: isakmp bug todo: done: a lot of: tab.tabGenV2.doGet:tabGenV2.java:266/tab.tabGenV2.doFind:tabGenV2.java:215/tab.tabGenV2.find:tabGenV2.java:147 todo: done: a lot of: tab.tabGenV2.doGet:tabGenV2.java:266/tab.tabGenV2.get:tabGenV2.java:135 todo: done: automesh to the end of route table calculator todo: done: route table calculation must not merge distance>255 todo: todo: try: boxing size, begin, data to a class todo: try: dofind: first find the block, then the entry within the block todo: todo: safe/1000: todo: todo: lenovo/9: todo: todo: player/99: ---------------------------------- 2018-02-13 20:48:59 no todo: player/99: no todo: lenovo/9: no todo: safe/1000: no todo: try: dofind: first find the block, then the entry within the block no todo: try: boxing size, begin, data to a class no todo: reload vdc/process asdf stop/start todo: done: reload vdc/process asdf stop/start todo: done: mcast bug todo: done: dofind: first find the block, then the entry within the block todo: done: pipeline unsync per byte actions todo: todo: sleep exec/tcl commands todo: buffer config to forwarder/loadbalancer todo: spf should give topology checksum by adding outputs and invoking String.hashCode() todo: todo: tests: todo: done=2,3,1000 todo: lenovo= todo: player= todo: safe= ---------------------------------- 2018-02-14 18:50:10 no todo: safe= no todo: player= no todo: lenovo= no todo: done=2,3,1000 no todo: spf should give topology checksum by adding outputs and invoking String.hashCode() no todo: buffer config to forwarder/loadbalancer no todo: sleep exec/tcl commands todo: done: spf should give topology checksum by adding outputs and invoking String.hashCode() todo: done: buffer config to forwarder/loadbalancer todo: done: sleep exec/tcl commands todo: done: tester parameter for jvm memory todo: done: move route table checker to tabroute todo: done: flood topology summary in lsrp todo: todo: done=2,3,9,13,17,50,99,500,1000 todo: lenovo=4000 todo: player=250 todo: safe=2000 ---------------------------------- 2018-02-15 07:02:16 no todo: safe=2000 no todo: player=250 no todo: lenovo=4000 no todo: done=2,3,9,13,17,50,99,500,1000 no todo: tests: no todo: no todo: done: flood topology summary in lsrp no todo: done: move route table checker to tabroute no todo: done: tester parameter for jvm memory no todo: done: sleep exec/tcl commands no todo: done: buffer config to forwarder/loadbalancer no todo: done: spf should give topology checksum by adding outputs and invoking String.hashCode() no todo: done: pipeline unsync per byte actions no todo: done: dofind: first find the block, then the entry within the block no todo: done: route table calculation must not merge distance>255 no todo: done: automesh to the end of route table calculator no todo: done: a lot of: tab.tabGenV2.doGet:tabGenV2.java:266/tab.tabGenV2.get:tabGenV2.java:135 no todo: done: a lot of: tab.tabGenV2.doGet:tabGenV2.java:266/tab.tabGenV2.doFind:tabGenV2.java:215/tab.tabGenV2.find:tabGenV2.java:147 no todo: done: mcast bug no todo: done: isakmp bug no todo: done: rename taba to tabu in route table calculator no todo: done: optimize redistributed routes too at notifyrouters no todo: done: statistics for redistribution no todo: done: show commands for redistributed, computed no todo: done: tester should collect tracebacks no todo: done: lsrp to use syncint as todo no todo: done: ospf and isis missed notifications, schedwork/run todo use syncint no todo: done: player/99: rout-ospf37.tst: no work: ospf prefix movement no todo: done: reload vdc/process asdf stop/start no todo: ---------------------------------- 2018-02-16 09:31:21 qc pass: bgp hard reset qc pass: bgp hard reset with soft-reconfig qc pass: bgp soft in reset qc pass: bgp soft in reset with soft-reconfig qc pass: bgp soft out reset qc pass: bgp soft out reset with soft-reconfig ---------------------------------- 2018-02-17 06:17:24 no todo: show upgrade no todo: more level of config sections no todo: attach line not working anymore, try with deactivation and attach no todo: tunnel autobandwidth no todo: bdi infrastructure, service instances, etc ---------------------------------- 2018-02-18 17:56:39 qc pass: bridged evcs over ethernet qc pass: bridged evcs over hdlc qc pass: bridged evcs over gre qc pass: bridged evcs and subif qc pass: bridged evcs and main qc pass: xconnect evcs terminated on xconnects qc pass: xconnect evcs terminated on pwhes qc pass: xconnect terminated on pwhe subifs qc pass: xconnect terminated on pwhe bridged evcs qc pass: xconnect terminated on pwhe xconnect evcs ---------------------------------- 2018-02-19 06:39:13 qc pass: bridge split horizon qc pass: bridge mac learning ---------------------------------- 2018-02-27 16:37:00 qc pass: interop: vpls/ldp over bgp qc pass: interop: vpls/bgp over bgp qc pass: interop: isis p2mp te qc pass: interop: isis sr qc pass: interop: ldp p2mp lsp qc pass: interop: ldp mp2mp lsp qc pass: interop: ospf p2mp te qc pass: interop: ospf sr ---------------------------------- 2018-03-04 12:42:07 qc pass: cross connect vlan subinterfaces qc pass: cross connect vlan subinterfaces of same interface ---------------------------------- 2018-03-06 20:16:04 qc pass: source prefix translation qc pass: target prefix translation todo: remote tester ---------------------------------- 2018-03-09 08:26:10 no qc pass: sipmodem server qc pass: modem with alaw qc pass: modem with ulaw qc pass: modem with alaw through proxy qc pass: modem with ulaw through proxy qc pass: modem with alaw through peer qc pass: modem with ulaw through peer ---------------------------------- 2018-03-12 03:32:27 qc pass: modem with alaw and ulaw through peer ---------------------------------- 2018-03-29 21:33:31 qc pass: ingress destination matching hibryd access list qc pass: egress destination matching hibryd access list qc pass: ingress source matching hibryd access list qc pass: egress source matching hibryd access list ---------------------------------- 2018-04-04 18:28:09 qc pass: static arp/nd entry qc pass: interop: vxlan tunnel ---------------------------------- 2018-04-06 14:44:46 qc pass: xconnect evcs terminated on vpdns qc pass: nsh over ethernet qc pass: nsh over ethernet vlan qc pass: nsh over ethernet bridge qc pass: nsh over hdlc qc pass: nsh over ppp qc pass: nsh over framerelay qc pass: nsh over atmdxi qc pass: nsh over gre qc pass: nsh chain qc pass: nsh loop qc pass: nsh switch qc pass: nsh ip qc pass: nsh mix of ip and ethernet ---------------------------------- 2018-04-08 19:21:59 qc pass: modem through ipv4 peer qc pass: modem through ipv6 peer qc pass: modem through udp peer qc pass: modem through tcp peer ---------------------------------- 2018-04-11 04:57:27 no todo: remote tester qc pass: pckoip over ipv4 qc pass: pckoip over ipv6 qc pass: pckoip over pckoip qc pass: pckoip over loopback qc pass: interop: teszt teszt ---------------------------------- 2018-04-14 17:44:13 no qc pass: interop: teszt teszt no qc pass: interop: vxlan tunnel no qc pass: interop: ipip tunnel no qc pass: interop: gre tunnel no qc pass: interop: tacacs no qc pass: interop: ssh no qc pass: interop: rip authentication no qc pass: interop: rip prefix withdraw no qc pass: interop: rip no qc pass: interop: radius no qc pass: interop: pppoe with eap no qc pass: interop: pppoe with chap no qc pass: interop: pppoe with pap no qc pass: interop: pppoe server no qc pass: interop: pppoe client no qc pass: interop: ospf sr no qc pass: interop: ospf p2mp te no qc pass: interop: ospf authentication no qc pass: interop: ospf prefix withdraw no qc pass: interop: ospf te no qc pass: interop: ospf nssa area no qc pass: interop: ospf stub area no qc pass: interop: ospf transit area no qc pass: interop: ospf nondr no qc pass: interop: ospf dr no qc pass: interop: point2point ospf no qc pass: interop: pim no qc pass: interop: igmp3/mld2 no qc pass: interop: ldp mp2mp lsp no qc pass: interop: ldp p2mp lsp no qc pass: interop: ethernet over mpls no qc pass: interop: ldp lsp no qc pass: interop: ethernet tunneling with l2tp3 no qc pass: interop: l2tp3 server no qc pass: interop: l2tp2 server no qc pass: interop: l2tp2 client no qc pass: interop: isis sr no qc pass: interop: isis p2mp te no qc pass: interop: isis authentication no qc pass: interop: isis prefix withdraw no qc pass: interop: isis multi-topology no qc pass: interop: isis te no qc pass: interop: isis narrow metric no qc pass: interop: isis nondis no qc pass: interop: isis dis no qc pass: interop: point2point isis no qc pass: interop: ike2 with group24 no qc pass: interop: ike2 with group16 no qc pass: interop: ike2 with group15 no qc pass: interop: ike2 with group14 no qc pass: interop: ike2 with group5 no qc pass: interop: ike2 with group2 no qc pass: interop: ike2 with sha512 no qc pass: interop: ike2 with sha256 no qc pass: interop: ike2 with sha1 no qc pass: interop: ike2 with aes256 no qc pass: interop: ike2 with aes192 no qc pass: interop: ike2 with aes128 no qc pass: interop: ike2 with 3des no qc pass: interop: ike2 with ipv6 no qc pass: interop: ike2 with ipv4 no qc pass: interop: ike1 with group24 no qc pass: interop: ike1 with group16 no qc pass: interop: ike1 with group15 no qc pass: interop: ike1 with group14 no qc pass: interop: ike1 with group5 no qc pass: interop: ike1 with group2 no qc pass: interop: ike1 with sha512 no qc pass: interop: ike1 with sha256 no qc pass: interop: ike1 with sha1 no qc pass: interop: ike1 with aes256 no qc pass: interop: ike1 with aes192 no qc pass: interop: ike1 with aes128 no qc pass: interop: ike1 with 3des no qc pass: interop: ike1 with ipv6 no qc pass: interop: ike1 with ipv4 no qc pass: interop: spantree root no qc pass: interop: spantree nonroot no qc pass: interop: dot1q encapsulation no qc pass: interop: ethernet encapsulation no qc pass: interop: eigrp prefix withdraw no qc pass: interop: eigrp no qc pass: interop: dns no qc pass: interop: dhcp client no qc pass: interop: dhcp server no qc pass: interop: vpls/bgp over bgp no qc pass: interop: vpls/ldp over bgp no qc pass: interop: bgp vpnv6 no qc pass: interop: bgp authentication no qc pass: interop: bgp vpnv4 no qc pass: interop: bgp prefix withdraw no qc pass: interop: bgp addpath no qc pass: interop: bgp with labels no qc pass: interop: bgp aspath no qc pass: interop: bgp community no qc pass: interop: bgp metric no qc pass: interop: bgp origin no qc pass: interop: bgp locpref no qc pass: interop: ibgp no qc pass: interop: ebgp qc pass: interop1: ebgp qc pass: interop1: ibgp qc pass: interop1: bgp locpref qc pass: interop1: bgp origin qc pass: interop1: bgp metric qc pass: interop1: bgp community qc pass: interop1: bgp aspath qc pass: interop1: bgp with labels qc pass: interop1: bgp addpath qc pass: interop1: bgp prefix withdraw qc pass: interop1: bgp vpnv4 qc pass: interop1: bgp authentication qc pass: interop1: bgp vpnv6 qc pass: interop1: vpls/ldp over bgp qc pass: interop1: vpls/bgp over bgp qc pass: interop1: bgp extended community qc pass: interop1: dhcp server qc pass: interop1: dhcp client qc pass: interop1: dns qc pass: interop1: eigrp qc pass: interop1: eigrp prefix withdraw qc pass: interop1: ethernet encapsulation qc pass: interop1: dot1q encapsulation qc pass: interop1: spantree nonroot qc pass: interop1: spantree root qc pass: interop1: ike1 with ipv4 qc pass: interop1: ike1 with ipv6 qc pass: interop1: ike1 with 3des qc pass: interop1: ike1 with aes128 qc pass: interop1: ike1 with aes192 qc pass: interop1: ike1 with aes256 qc pass: interop1: ike1 with sha1 qc pass: interop1: ike1 with sha256 qc pass: interop1: ike1 with sha512 qc pass: interop1: ike1 with group2 qc pass: interop1: ike1 with group5 qc pass: interop1: ike1 with group14 qc pass: interop1: ike1 with group15 qc pass: interop1: ike1 with group16 qc pass: interop1: ike1 with group24 qc pass: interop1: ike2 with ipv4 qc pass: interop1: ike2 with ipv6 qc pass: interop1: ike2 with 3des qc pass: interop1: ike2 with aes128 qc pass: interop1: ike2 with aes192 qc pass: interop1: ike2 with aes256 qc pass: interop1: ike2 with sha1 qc pass: interop1: ike2 with sha256 qc pass: interop1: ike2 with sha512 qc pass: interop1: ike2 with group2 qc pass: interop1: ike2 with group5 qc pass: interop1: ike2 with group14 qc pass: interop1: ike2 with group15 qc pass: interop1: ike2 with group16 qc pass: interop1: ike2 with group24 qc pass: interop1: point2point isis qc pass: interop1: isis dis qc pass: interop1: isis nondis qc pass: interop1: isis narrow metric qc pass: interop1: isis te qc pass: interop1: isis multi-topology qc pass: interop1: isis prefix withdraw qc pass: interop1: isis authentication qc pass: interop1: isis p2mp te qc pass: interop1: isis sr qc pass: interop1: l2tp2 client qc pass: interop1: l2tp2 server qc pass: interop1: l2tp3 server qc pass: interop1: ethernet tunneling with l2tp3 qc pass: interop1: ldp lsp qc pass: interop1: ethernet over mpls qc pass: interop1: ldp p2mp lsp qc pass: interop1: ldp mp2mp lsp qc pass: interop1: igmp3/mld2 qc pass: interop1: pim qc pass: interop1: modem with alaw qc pass: interop1: modem with ulaw qc pass: interop1: point2point ospf qc pass: interop1: ospf dr qc pass: interop1: ospf nondr qc pass: interop1: ospf transit area qc pass: interop1: ospf stub area qc pass: interop1: ospf nssa area qc pass: interop1: ospf te qc pass: interop1: ospf prefix withdraw qc pass: interop1: ospf authentication qc pass: interop1: ospf p2mp te qc pass: interop1: ospf sr qc pass: interop1: pppoe client qc pass: interop1: pppoe server qc pass: interop1: pppoe with pap qc pass: interop1: pppoe with chap qc pass: interop1: pppoe with eap qc pass: interop1: radius qc pass: interop1: rip qc pass: interop1: rip prefix withdraw qc pass: interop1: rip authentication qc pass: interop1: ssh qc pass: interop1: tacacs qc pass: interop1: gre tunnel qc pass: interop1: ipip tunnel qc pass: interop1: vxlan tunnel qc pass: interop2: ebgp qc pass: interop2: ibgp qc pass: interop2: bgp locpref qc pass: interop2: bgp origin qc pass: interop2: bgp metric qc pass: interop2: bgp community qc pass: interop2: bgp aspath qc pass: interop2: bgp with labels qc pass: interop2: bgp addpath qc pass: interop2: bgp prefix withdraw qc pass: interop2: bgp vpnv4 qc pass: interop2: bgp authentication qc pass: interop2: bgp vpnv6 qc pass: interop2: vpls/ldp over bgp qc pass: interop2: vpls/bgp over bgp qc pass: interop2: evpn/pbb over bgp qc pass: interop2: bgp extended community qc pass: interop2: bgp large community qc pass: interop2: eigrp qc pass: interop2: eigrp prefix withdraw qc pass: interop2: ethernet encapsulation qc pass: interop2: dot1q encapsulation qc pass: interop2: dot1ad encapsulation qc pass: interop2: point2point isis qc pass: interop2: isis dis qc pass: interop2: isis nondis qc pass: interop2: isis narrow metric qc pass: interop2: isis te qc pass: interop2: isis multi-topology qc pass: interop2: isis prefix withdraw qc pass: interop2: isis authentication qc pass: interop2: isis p2mp te qc pass: interop2: isis sr qc pass: interop2: ldp lsp qc pass: interop2: ethernet over mpls qc pass: interop2: ldp p2mp lsp qc pass: interop2: ldp mp2mp lsp qc pass: interop2: igmp3/mld2 qc pass: interop2: pim qc pass: interop2: point2point ospf qc pass: interop2: ospf dr qc pass: interop2: ospf nondr qc pass: interop2: point2point ospf qc pass: interop2: ospf stub area qc pass: interop2: ospf nssa area qc pass: interop2: ospf te qc pass: interop2: point2point ospf qc pass: interop2: ospf authentication qc pass: interop2: ospf p2mp te qc pass: interop2: ospf sr qc pass: interop2: rip qc pass: interop2: rip prefix withdraw qc pass: interop2: rip authentication qc pass: interop2: gre tunnel qc pass: interop2: ipip tunnel qc pass: interop2: config wiper ---------------------------------- 2018-04-17 11:48:01 qc pass: ethernet over mpls with cw ---------------------------------- 2018-04-20 04:14:57 qc pass: ethernet over mpls pwhe with cw qc pass: cross connect with pwe over mpls with cw ---------------------------------- 2018-05-26 06:14:41 todo: yang over netconf, proto over grpc ---------------------------------- 2018-05-29 08:41:46 qc pass: dummy test todo: yang over netconf, proto over grpc todo: interface range command todo: reenable which elliptic courves? sure? why that? todo: https://tools.ietf.org/html/draft-ietf-tn3270e-telnet-tls-06 todo: parse privilege levels from radius and tacacs todo: ldap client, server todo: bgp compare should write out that which attributes changed todo: bfd need to send with ttl=255 todo: trustpoint for certificates todo: interface name tabbing todo: int eth1/int eth2 todo: dhcp relay support todo: tcp selective ack todo: xot, x75 switching todo: preallocate qos buffers todo: lisp4, lisp6 todo: l2vpn for isis todo: hip (rfc4423) todo: more show commands todo: more clear commands todo: more interactive tools todo: igmp4/6 snoop, pim4/6 snoop for bridging todo: multilink ppp, fr todo: x25 todo: default vrf for show commands ---------------------------------- 2018-05-29 08:44:44 todo: testing123 ---------------------------------- 2018-05-29 08:45:00 no todo: testing123 ---------------------------------- 2018-05-29 08:48:24 no qc pass: dummy test no work: dummy test ---------------------------------- 2018-05-29 08:49:57 qc pass: dummy test ---------------------------------- 2018-05-29 08:51:01 no qc pass: dummy test no work: dummy test ---------------------------------- 2018-05-29 08:53:46 qc pass: dummy test ---------------------------------- 2018-05-29 15:17:30 no qc pass: interop2: point2point ospf no qc pass: interop2: point2point ospf qc pass: interop2: ospf transit area qc pass: interop2: ospf prefix withdraw qc pass: interop9: ebgp qc pass: interop9: ibgp qc pass: interop9: bgp locpref qc pass: interop9: bgp origin qc pass: interop9: bgp metric qc pass: interop9: bgp community qc pass: interop9: ethernet encapsulation qc pass: interop9: dot1q encapsulation qc pass: interop9: point2point isis qc pass: interop9: isis dis qc pass: interop9: isis nondis qc pass: interop9: point2point ospf qc pass: interop9: ospf dr qc pass: interop9: ospf nondr qc pass: interop9: rip qc pass: interop9: config wiper ---------------------------------- 2018-05-31 05:29:56 qc pass: interop9: bgp aspath qc pass: interop9: bgp with labels qc pass: interop9: bgp addpath qc pass: interop9: bgp prefix withdraw qc pass: interop9: bgp vpnv4 qc pass: interop9: bgp authentication qc pass: interop9: bgp vpnv6 qc pass: interop9: vpls/ldp over bgp qc pass: interop9: vpls/bgp over bgp qc pass: interop9: bgp extended community qc pass: interop9: bgp large community qc pass: interop9: isis te qc pass: interop9: isis prefix withdraw qc pass: interop9: isis p2mp te qc pass: interop9: isis sr qc pass: interop9: ldp lsp qc pass: interop9: ethernet over mpls qc pass: interop9: ldp p2mp lsp qc pass: interop9: ldp mp2mp lsp qc pass: interop9: ospf transit area qc pass: interop9: ospf stub area qc pass: interop9: ospf nssa area qc pass: interop9: ospf te qc pass: interop9: ospf prefix withdraw qc pass: interop9: ospf p2mp te qc pass: interop9: ospf sr ---------------------------------- 2018-06-17 15:24:38 todo: ilnp (rfc6740) ---------------------------------- 2018-06-19 13:55:53 todo: online insertion (and never removal) ---------------------------------- 2018-06-21 12:15:45 no todo: online insertion (and never removal) ---------------------------------- 2018-06-24 17:53:40 qc pass: ethernet over packet over udp qc pass: interworking with ethernet over packet over udp ---------------------------------- 2018-07-01 20:49:46 todo: srv6 tunnel todo: test cases for srmpls, srip todo: tunnel states for bier, te, ldp, pwe, ipsec, l2tp todo: ethtyp autostate command todo: ethtyp prec/exp/cos accounting todo: sr, bier tunneling todo: bgp sr policy afi todo: bgp vpns over sr todo: autoroute todo: exp bundle todo: recursive static route todo: pipeline properties, terminal autoresize ---------------------------------- 2018-07-02 13:46:54 no todo: autoroute no todo: bgp sr policy afi no todo: sr, bier tunneling no todo: ethtyp prec/exp/cos accounting no todo: ethtyp autostate command no todo: tunnel states for bier, te, ldp, pwe, ipsec, l2tp no todo: test cases for srmpls, srip no todo: srv6 tunnel todo: test cases for srmpls, srext todo: tunnel states for bier, te, pwe, ipsec, l2tp todo: remove states where possible from cfgIfc's = "" + tunTrg; todo: tunnel templates, more srv6 like modes with ipip, gre todo: mpls rx/tx only, sending-interface todo: autoroute with sr, bier support todo: bgp sr-policy afi todo: interface autostate command todo: ethtyp prec/exp/cos and protocol accounting ---------------------------------- 2018-07-03 19:36:23 no todo: ethtyp prec/exp/cos and protocol accounting no todo: interface autostate command no todo: mpls rx/tx only, sending-interface no todo: tunnel templates, more srv6 like modes with ipip, gre no todo: remove states where possible from cfgIfc's = "" + tunTrg; no todo: tunnel states for bier, te, pwe, ipsec, l2tp no todo: test cases for srmpls, srext todo: test cases for srmpls, srext, mpls redir todo: servers for ipip, gre, mplsudp, mplsip ---------------------------------- 2018-07-07 12:33:28 no todo: test cases for srmpls, srext, mpls redir todo: test cases for "srmpls", "srext", anycast prefix-sid, "mpls redir" ---------------------------------- 2018-07-08 20:30:56 no todo: exp bundle no todo: test cases for "srmpls", "srext", anycast prefix-sid, "mpls redir" no qc pass: ospf transit area with segment routing no qc pass: ospf with segment routing no qc pass: lsrp with segment routing no qc pass: isis multi-topology with segment routing no qc pass: isis inter-level with segment routing no qc pass: isis with segment routing no qc pass: bgp with segment routing no qc pass: segment routing over broadcast subnet no qc pass: othervpns over bgp over segment routing no qc pass: vpns over bgp over segment routing no qc pass: bgp with labels over segment routing no qc pass: bgp over segment routing no qc pass: pwe over segment routing no qc pass: te over segment routing no qc pass: segment routing in star no qc pass: segment routing in chain qc pass: mpls expbundle qc pass: mpls redirection qc pass: sr in chain qc pass: sr in star qc pass: te over sr qc pass: pwe over sr qc pass: bgp over sr qc pass: bgp with labels over sr qc pass: vpns over bgp over sr qc pass: othervpns over bgp over sr qc pass: sr over broadcast subnet qc pass: sr te over mpls qc pass: sr te over exthdr qc pass: bgp with sr qc pass: isis with sr qc pass: isis inter-level with sr qc pass: isis multi-topology with sr qc pass: lsrp with sr qc pass: ospf with sr qc pass: ospf transit area with sr ---------------------------------- 2018-07-11 06:24:12 no todo: servers for ipip, gre, mplsudp, mplsip todo: servers for etherip, ipip, gre, mplsudp, mplsip ---------------------------------- 2018-07-13 22:37:36 no todo: bgp vpns over sr no todo: servers for etherip, ipip, gre, mplsudp, mplsip qc pass: iponly qc pass: mplsip server todo: servers for ipip, gre, etherip, mplsudp todo: bgp vpns with sr-policy ---------------------------------- 2018-07-14 21:22:26 no todo: servers for ipip, gre, etherip, mplsudp qc pass: mplsudp server todo: servers for ipip, gre, etherip todo: clean up javadoc errors todo: changelog converter for https://manpages.debian.org/testing/dpkg-dev/deb-changelog.5.en.html format with notodo lines ---------------------------------- 2018-07-15 19:27:51 no todo: servers for ipip, gre, etherip qc pass: etherip server todo: servers for ipip todo: silently accept ipv4 addr 1.1.1.1 /24 ipv6 addr 1234::1 /96 ---------------------------------- 2018-07-17 06:43:33 no todo: silently accept ipv4 addr 1.1.1.1 /24 ipv6 addr 1234::1 /96 ---------------------------------- 2018-07-19 03:48:38 no todo: servers for ipip qc pass: gre server todo: configurable session close behavior on reload todo: sorted filter for any column ---------------------------------- 2018-07-19 21:13:07 no todo: sorted filter for any column no todo: configurable session close behavior on reload ---------------------------------- 2018-07-22 23:32:50 todo: access-map and access-policy that checks for source within servers todo: router trigger todo: sorted, uniq | filter for any column todo: terminal mode colorized todo: protocol traceroute todo: temper: web access log todo: http server: access log to syslog todo: ttl handling follow the selected forwarder, reconfigurable if more ---------------------------------- 2018-07-24 20:58:43 no todo: access-map and access-policy that checks for source within servers ---------------------------------- 2018-07-25 20:37:15 no todo: http server: access log to syslog todo: counter to the tabroute, configurable per process todo: more features with clean implementation ---------------------------------- 2018-07-26 19:05:39 no todo: counter to the tabroute, configurable per process no todo: router trigger ---------------------------------- 2018-07-28 14:55:26 no todo: terminal mode colorized todo: show bgp privateas, labels todo: terminal mode colorize, resolve todo: optimal route reflection ---------------------------------- 2018-07-30 18:39:49 no todo: show bgp privateas, labels todo: client whois, show whois todo: more configurable defaults to lines: tablemode, timestamps, configure up them on main rtrs todo: route-map/policy to match private-as origination/transit, then show, ignore, etc todo: diff n | filter ---------------------------------- 2018-07-31 19:55:39 todo: hostwatch to execute script on acl match ---------------------------------- 2018-08-07 05:17:39 no todo: client whois, show whois todo: configurable * prompt todo: access-* under http host todo: lsrp passive interface ---------------------------------- 2018-08-24 11:31:13 no todo: lsrp passive interface no todo: configurable * prompt todo: tls1.3 ---------------------------------- 2018-12-28 07:01:18 no todo: terminal mode colorize, resolve todo: terminal mode resolve ---------------------------------- 2019-01-08 01:05:56 todo: mpls inspect ---------------------------------- 2019-01-14 10:53:03 no todo: mpls inspect ---------------------------------- 2019-01-15 10:04:15 no todo: bgp sr-policy afi qc pass: unicast+srte over bgp qc pass: unicast+srte over bgp with soft-reconfig qc pass: unicast+srte over bgp with additional path ---------------------------------- 2019-01-25 11:35:44 qc pass: bgp interas vpn with asbr peering qc pass: bgp interas vpn with rr peering qc pass: bgp interas othervpn with asbr peering qc pass: bgp interas othervpn with rr peering ---------------------------------- 2019-01-28 16:02:01 qc pass: bgp interas csc vpn with asbr peering qc pass: bgp interas csc vpn with rr peering qc pass: bgp dual core vpn qc pass: bgp dual core csc vpn ---------------------------------- 2019-01-29 10:05:08 no todo: autoroute with sr, bier support qc pass: babel autoroute qc pass: eigrp autoroute qc pass: isis autoroute qc pass: lsrp autoroute qc pass: olsr autoroute qc pass: ospf autoroute qc pass: pvrp autoroute qc pass: rip autoroute ---------------------------------- 2019-02-03 11:26:38 todo: http server should honor no in the beginning for host commands todo: lsrp, ospf, isis must list lsas/lsps as reachable or not todo: padup ethertype config option todo: http host upload optional different authentication todo: display traceroute with the same parameters todo: configurable replay window under ipsec profile for macsec todo: macsec bad type in hex todo: lossdet with class util.dampening todo: reapplying the same vrf to interface as noop todo: hwdet default to binary in installation, rework rtr.bin support to binjar if needed todo: hwdet detect mac addresses todo: interactive switch for traceroute to mimic mtr with class util.dampening, similar to mtr todo: client domain-name to resolve internally first todo: client name-server multiple nodes todo: irc server should ping periodically the clients todo: call-home through irc with configurable proxyprofile, read-write access todo: http2.0 todo: vdc name tabbing ---------------------------------- 2019-02-07 15:14:06 no todo: interactive switch for traceroute to mimic mtr with class util.dampening, similar to mtr no todo: display traceroute with the same parameters todo: mac rewrite on bridge interfaces todo: bgp safe-ebgp-policy to default to neighbor shutdown todo: command authorization with local todo: reapplying the same address to interface as noop todo: entering ipvX address should remove dhcpX, slaac, gateway-*, and every related... todo: access-class should permit again with objectgroups todo: test cases for router deaggr and router mobile todo: http conditional redirect with route-map, prefix-list or route-policy todo: bridge security from dhcp, slaac, whatever server todo: p4lang todo: interactive switch for traceroute to mimic mtr with class util.dampening, similar to mtr - display traceroute with the same parameters or so todo: traceroute to query bgp forasn todo: traceroute to display mpls labels todo: command authorization with radius and tacacs ---------------------------------- 2019-02-08 16:19:17 no todo: macsec bad type in hex no todo: bgp safe-ebgp-policy to default to neighbor shutdown qc pass: loss detection ---------------------------------- 2019-02-09 21:17:27 todo: looking glass rfc8522 ---------------------------------- 2019-02-10 12:24:29 no todo: mac rewrite on bridge interfaces no todo: test cases for router deaggr and router mobile todo: test cases for router deaggr and router mobile, bridge-macrewrite ---------------------------------- 2019-02-11 09:20:02 no todo: test cases for router deaggr and router mobile, bridge-macrewrite qc pass: bridged mac rewrite qc pass: redistribution with mobile qc pass: redistribution with deaggr ---------------------------------- 2019-06-29 23:15:41 no todo: access-* under http host no todo: hwdet detect mac addresses no todo: p4lang ---------------------------------- 2019-07-12 00:56:07 qc pass: bgp hub and spoke vpn multiple rt import qc pass: bgp hub and spoke vpn multiple rt export qc pass: bgp vpn with export list qc pass: bgp vpn with import list qc pass: bgp vpn with export map qc pass: bgp vpn with import map qc pass: bgp vpn with export policy qc pass: bgp vpn with import policy ---------------------------------- 2019-08-01 03:36:17 no todo: call-home through irc with configurable proxyprofile, read-write access no todo: irc server should ping periodically the clients no todo: traceroute to query bgp forasn no todo: lossdet with class util.dampening no todo: access-class should permit again with objectgroups todo: traceroute to query bgp for asn ---------------------------------- 2019-08-17 02:12:57 no todo: more configurable defaults to lines: tablemode, timestamps, configure up them on main rtrs no todo: client name-server multiple nodes no todo: traceroute to display mpls labels no todo: traceroute to query bgp for asn no todo: configurable replay window under ipsec profile for macsec ---------------------------------- 2019-08-17 16:59:49 no todo: command authorization with local ---------------------------------- 2019-08-19 07:47:27 no todo: command authorization with radius and tacacs ---------------------------------- 2019-09-04 16:28:52 no todo: diff n | filter no todo: sorted, uniq | filter for any column ---------------------------------- 2019-09-28 05:38:37 qc pass: interop1: evpn/cmac over bgp qc pass: vpns over srv6 qc pass: evpn/pbb over srv6 qc pass: evpn/cmac over srv6 ---------------------------------- 2019-09-29 02:49:20 qc pass: interop1: bgp 6pe qc pass: interop2: bgp vpnv4 over srv6 qc pass: interop2: bgp vpnv6 over srv6 qc pass: interop2: bgp 6pe qc pass: vpns over srv6 over ipv4 bgp qc pass: evpn/pbb over srv6 over ipv4 bgp qc pass: evpn/cmac over srv6 over ipv4 bgp ---------------------------------- 2019-09-30 03:23:02 no qc pass: unicast+other over bgp qc pass: unicast+other over ebgp qc pass: unicast+other over ibgp qc pass: unicast+other over ibgp rr qc pass: unicast+other over confed bgp qc pass: unicast+other over bgp route server ---------------------------------- 2019-10-01 01:54:22 qc pass: other over srv6 ---------------------------------- 2019-10-01 16:03:44 qc pass: nat64 translation qc pass: dns64 server ---------------------------------- 2019-10-03 02:01:52 no todo: reapplying the same vrf to interface as noop no todo: reapplying the same address to interface as noop no qc pass: other over srv6 no qc pass: evpn/cmac over srv6 over ipv4 bgp no qc pass: evpn/pbb over srv6 over ipv4 bgp no qc pass: vpns over srv6 over ipv4 bgp no qc pass: evpn/cmac over srv6 no qc pass: evpn/pbb over srv6 no qc pass: vpns over srv6 qc pass: vpns over srv6 over ibgp qc pass: evpn/pbb over srv6 over ibgp qc pass: evpn/cmac over srv6 over ibgp qc pass: other over srv6 over ibgp qc pass: vpns over srv6 over ebgp qc pass: evpn/pbb over srv6 over ebgp qc pass: evpn/cmac over srv6 over ebgp qc pass: other over srv6 over ebgp qc pass: vpns over srv6 over ibgp rr qc pass: evpn/pbb over srv6 over ibgp rr qc pass: evpn/cmac over srv6 over ibgp rr qc pass: other over srv6 over ibgp rr qc pass: vpns over srv6 over confed bgp qc pass: evpn/pbb over srv6 over confed bgp qc pass: evpn/cmac over srv6 over confed bgp qc pass: other over srv6 over confed bgp qc pass: vpns over srv6 over bgp route server qc pass: evpn/pbb over srv6 over bgp route server qc pass: evpn/cmac over srv6 over bgp route server qc pass: other over srv6 over bgp route server qc pass: vpns over srv6 over bgp with soft-reconfig qc pass: evpn/pbb over srv6 over bgp with soft-reconfig qc pass: evpn/cmac over srv6 over bgp with soft-reconfig qc pass: other over srv6 over bgp with soft-reconfig qc pass: vpns over srv6 over bgp additional path qc pass: evpn/pbb over srv6 over bgp additional path qc pass: evpn/cmac over srv6 over bgp additional path qc pass: other over srv6 over bgp additional path ---------------------------------- 2019-10-19 19:08:16 qc pass: interop2: evpn/vpws over bgp qc pass: evpn/vpws over ebgp qc pass: evpn/vpws over ibgp qc pass: evpn/vpws over bgp additional path qc pass: evpn/vpws over ibgp rr qc pass: evpn/vpws over confed bgp qc pass: evpn/vpws over bgp route server qc pass: ethersite evpn/vpws over ibgp qc pass: evpn/vpws over bgp with soft-reconfig qc pass: unicast+evpn/vpws over bgp qc pass: unicast+evpn/vpws over bgp with soft-reconfig qc pass: unicast+evpn/vpws over bgp additional path qc pass: evpn/vpws over bgp auto mesh tunnel qc pass: evpn/vpws over srv6 over ibgp qc pass: evpn/vpws over srv6 over ebgp qc pass: evpn/vpws over srv6 over ibgp rr qc pass: evpn/vpws over srv6 over confed bgp qc pass: evpn/vpws over srv6 over bgp route server qc pass: evpn/vpws over srv6 over bgp with soft-reconfig qc pass: evpn/vpws over srv6 over bgp additional path ---------------------------------- 2020-01-01 15:31:55 qc pass: ethernet over gretap pwhe ---------------------------------- 2020-01-11 16:16:31 qc pass: p4lang: routing qc pass: p4lang: bridging qc pass: p4lang: mpls qc pass: p4lang: vlan routing qc pass: p4lang: vlan bridging qc pass: p4lang: vpn with bgp qc pass: p4lang: vpls/ldp with bgp qc pass: p4lang: evpn/cmac with bgp qc pass: p4lang: eompls qc pass: p4lang: vpn with bgp over srv6 qc pass: p4lang: evpn/cmac with bgp over srv6 ---------------------------------- 2020-01-12 07:23:43 qc pass: p4lang: vlan mpls ---------------------------------- 2020-01-13 13:37:48 qc pass: interop1: bgp aigp qc pass: interop1: isis lsp authentication qc pass: interop2: bgp aigp qc pass: interop2: isis lsp authentication qc pass: interop8: ebgp qc pass: interop8: ibgp qc pass: interop8: bgp locpref qc pass: interop8: bgp origin qc pass: interop8: bgp metric qc pass: interop8: bgp community qc pass: interop8: bgp aspath qc pass: interop8: bgp with labels qc pass: interop8: bgp addpath qc pass: interop8: bgp prefix withdraw qc pass: interop8: bgp authentication qc pass: interop8: bgp extended community qc pass: interop8: bgp large community qc pass: interop8: point2point isis qc pass: interop8: isis dis qc pass: interop8: isis nondis qc pass: interop8: isis narrow metric qc pass: interop8: isis prefix withdraw qc pass: interop8: isis authentication qc pass: interop8: ldp lsp qc pass: interop8: point2point ospf qc pass: interop8: ospf dr qc pass: interop8: ospf nondr qc pass: interop8: ospf transit area qc pass: interop8: ospf stub area qc pass: interop8: ospf nssa area qc pass: interop8: ospf prefix withdraw qc pass: interop8: ospf authentication qc pass: interop9: isis lsp authentication qc pass: isis lsp authentication ---------------------------------- 2020-01-18 17:41:05 qc pass: satp over ipv4 qc pass: satp over ipv6 qc pass: satp over satp qc pass: satp over loopback qc pass: satp with des qc pass: satp with blowfish qc pass: satp with 3des qc pass: satp with aes128 qc pass: satp with aes192 qc pass: satp with aes256 qc pass: satp with md5 qc pass: satp with sha1 qc pass: satp with sha256 qc pass: satp with sha512 ---------------------------------- 2020-02-11 10:32:45 qc pass: isis change in tag qc pass: isis multi-topology change in tag ---------------------------------- 2020-03-13 01:12:08 qc pass: wireguard over ipv4 qc pass: wireguard over ipv6 qc pass: wireguard over wireguard qc pass: wireguard over loopback ---------------------------------- 2020-03-18 10:18:13 qc pass: p4lang: bundle routing qc pass: p4lang: bundle mpls ---------------------------------- 2020-04-03 16:34:56 no todo: clean up javadoc errors ---------------------------------- 2020-05-06 05:26:53 no todo: client domain-name to resolve internally first no todo: padup ethertype config option no todo: entering ipvX address should remove dhcpX, slaac, gateway-*, and every related... ---------------------------------- 2020-05-14 08:57:45 qc pass: sreth over ipv4 qc pass: sreth over ipv6 qc pass: sreth over loopback qc pass: hdlc tunneling with sreth qc pass: ppp tunneling with sreth qc pass: lapb tunneling with sreth qc pass: framerelay tunneling with sreth qc pass: atmdxi tunneling with sreth qc pass: isdn tunneling with sreth qc pass: sep tunneling with sreth qc pass: ethernet tunneling with sreth qc pass: vlan tunneling with sreth qc pass: tunnel interface with sreth qc pass: ethernet over sreth pwhe qc pass: cross connect with sreth qc pass: cross connect interworking with sreth ---------------------------------- 2020-06-02 05:01:33 qc pass: lsrp stub qc pass: lsrp unstub ---------------------------------- 2020-06-04 04:42:12 qc pass: unified mpls with ldp qc pass: unified mpls with sr ---------------------------------- 2020-06-10 17:04:05 no qc pass: p4lang: mpls qc pass: p4lang: copp qc pass: p4lang: ingress access list qc pass: p4lang: egress access list qc pass: p4lang: mpls core qc pass: p4lang: mpls edge ---------------------------------- 2020-06-12 09:59:25 qc pass: source port randomization qc pass: p4lang: nat ---------------------------------- 2020-06-13 15:51:00 no qc pass: telnet inspection qc pass: route inspection qc pass: flow inspection qc pass: interface inspection qc pass: bridge inspection qc pass: mpls inspection ---------------------------------- 2020-06-14 05:24:12 no qc pass: lsrp unstub no qc pass: lsrp stub qc pass: lsrp stub node qc pass: lsrp stub interface qc pass: lsrp unstub interface qc pass: lsrp default address suppression qc pass: lsrp address unsuppression qc pass: pvrp default address suppression qc pass: pvrp address unsuppression ---------------------------------- 2020-06-14 17:24:25 qc pass: udp forwarder server ---------------------------------- 2020-06-20 17:54:33 qc pass: ethernet qinq1 encapsulation qc pass: ethernet qinq2 encapsulation qc pass: ethernet qinq3 encapsulation ---------------------------------- 2020-06-24 11:47:00 qc pass: p4lang: bundle ingress access list qc pass: p4lang: bundle egress access list qc pass: p4lang: bundle vlan ingress access list qc pass: p4lang: bundle vlan egress access list qc pass: p4lang: bundle vlan routing qc pass: p4lang: bundle vlan mpls qc pass: p4lang: bundle vlan bridging ---------------------------------- 2020-07-03 07:38:23 qc pass: interop8: eigrp qc pass: interop8: rip ---------------------------------- 2020-07-06 13:48:46 qc pass: lisp over asymmetric ports qc pass: mplsudp over asymmetric ports qc pass: packet over udp over asymmetric ports qc pass: openvpn over asymmetric ports qc pass: satp over asymmetric ports qc pass: wireguard over asymmetric ports ---------------------------------- 2020-07-09 16:56:37 qc pass: ldp php qc pass: ebgp with php labels qc pass: ibgp with php labels qc pass: bgp additional path with php labels qc pass: ibgp rr with labels qc pass: confed bgp with labels qc pass: bgp route server with labels qc pass: bgp soft-reconfig with labels qc pass: isis with php sr qc pass: lsrp with php sr qc pass: ospf with php sr qc pass: pvrp with php labels ---------------------------------- 2020-07-10 07:54:04 qc pass: interop1: bgp with php labels qc pass: interop1: isis php sr qc pass: interop1: ldp php lsp qc pass: interop1: ospf php sr qc pass: interop2: bgp with php labels qc pass: interop2: isis php sr qc pass: interop2: ldp php lsp qc pass: interop2: ospf php sr qc pass: interop8: bgp with php labels qc pass: interop8: ldp php lsp qc pass: interop9: bgp with php labels qc pass: interop9: isis php sr qc pass: interop9: ldp php lsp qc pass: interop9: ospf php sr qc pass: ingress label filtering with pvrp qc pass: egress label filtering with pvrp ---------------------------------- 2020-07-13 15:11:45 qc pass: bgp remove private as in with routemap qc pass: bgp remove private as out with routemap qc pass: bgp remove private as in with routepolicy qc pass: bgp remove private as out with routepolicy qc pass: conditional redistribution with routemap qc pass: conditional redistribution with routepolicy ---------------------------------- 2020-07-14 04:08:58 qc pass: ethernet qinqX encapsulation qc pass: ethernet qinqX custom encapsulation qc pass: bgp with php labels over sr qc pass: pvrp stub node qc pass: pvrp stub interface qc pass: pvrp unstub interface ---------------------------------- 2020-07-19 04:12:38 no todo: route-map/policy to match private-as origination/transit, then show, ignore, etc ---------------------------------- 2020-07-22 14:26:16 todo: tunnels with pcep ---------------------------------- 2020-07-24 07:04:23 no todo: tunnels with pcep qc pass: interop1: isis te with pcep qc pass: interop1: ospf te with pcep qc pass: interop2: isis te with pcep qc pass: interop2: ospf te with pcep qc pass: sr te with pcep qc pass: te with pcep qc pass: bgp with srgb sr qc pass: isis with srgb sr qc pass: lsrp with srgb sr qc pass: ospf with srgb sr ---------------------------------- 2020-07-25 13:36:49 qc pass: p4lang: bridge ingress access list qc pass: p4lang: bridge egress access list qc pass: p4lang: vlan bridge ingress access list qc pass: p4lang: vlan bridge egress access list qc pass: p4lang: bridge routing qc pass: p4lang: bridge mpls qc pass: p4lang: vlan bridge routing qc pass: p4lang: vlan bridge mpls ---------------------------------- 2020-07-27 18:29:22 qc pass: source interface translation to address qc pass: target interface translation to address ---------------------------------- 2020-07-28 18:46:26 qc pass: p4lang: vlan vpls/ldp with bgp qc pass: p4lang: vlan eompls qc pass: p4lang: bundle vlan vpls/ldp with bgp qc pass: p4lang: bundle vlan eompls ---------------------------------- 2020-07-31 14:57:45 no qc pass: bgp interas csc vpn with asbr peering no work: bgp interas csc vpn with asbr peering ---------------------------------- 2020-07-31 16:57:35 qc pass: bgp interas csc vpn with asbr peering ---------------------------------- 2020-08-01 10:04:20 qc pass: interop1: point2point ethernet encapsulation qc pass: interop1: ldp over point2point ethernet qc pass: interop2: point2point ethernet encapsulation qc pass: interop2: ldp over point2point ethernet qc pass: ldp over point2point ethernet qc pass: te over point2point ethernet qc pass: babel over point2point ethernet qc pass: bgp over point2point ethernet qc pass: eigrp over point2point ethernet qc pass: isis over point2point ethernet qc pass: lsrp over point2point ethernet qc pass: olsr over point2point ethernet qc pass: ospf over point2point ethernet qc pass: pvrp over point2point ethernet qc pass: rip over point2point ethernet qc pass: static routing over point2point ethernet ---------------------------------- 2020-08-06 08:32:41 qc pass: ospf multi area qc pass: ospf asymmetric multi area ---------------------------------- 2020-08-09 13:04:24 qc pass: p4lang: ingress pppoe access list qc pass: p4lang: egress pppoe access list qc pass: p4lang: ingress vlan pppoe access list qc pass: p4lang: egress vlan pppoe access list qc pass: p4lang: pppoe routing qc pass: p4lang: vlan pppoe routing ---------------------------------- 2020-08-09 16:30:18 qc pass: p4lang: pppoe mpls qc pass: p4lang: vlan pppoe mpls ---------------------------------- 2020-08-10 10:40:16 qc pass: interop2: pppoe with pap qc pass: interop2: pppoe with chap ---------------------------------- 2020-08-13 15:39:57 qc pass: p4lang: hairpin ingress access list qc pass: p4lang: hairpin egress access list qc pass: p4lang: hairpin vlan ingress access list qc pass: p4lang: hairpin vlan egress access list qc pass: p4lang: hairpin pppoe ingress access list qc pass: p4lang: hairpin pppoe egress access list qc pass: p4lang: hairpin vlan pppoe ingress access list qc pass: p4lang: hairpin vlan pppoe egress access list qc pass: p4lang: hairpin routing qc pass: p4lang: hairpin bridging qc pass: p4lang: hairpin mpls qc pass: p4lang: hairpin vlan routing qc pass: p4lang: hairpin vlan bridging qc pass: p4lang: hairpin vlan mpls qc pass: p4lang: hairpin pppoe routing qc pass: p4lang: hairpin vlan pppoe routing qc pass: p4lang: hairpin pppoe mpls qc pass: p4lang: hairpin vlan pppoe mpls ---------------------------------- 2020-08-13 18:26:52 qc pass: p4lang: hairpin vpls/ldp with bgp qc pass: p4lang: hairpin vlan vpls/ldp with bgp qc pass: p4lang: hairpin eompls qc pass: p4lang: hairpin vlan eompls ---------------------------------- 2020-08-14 01:14:34 qc pass: p4lang: vlan evpn/cmac with bgp qc pass: p4lang: bundle vlan evpn/cmac with bgp qc pass: p4lang: hairpin evpn/cmac with bgp qc pass: p4lang: hairpin vlan evpn/cmac with bgp ---------------------------------- 2020-08-15 17:13:27 qc pass: ingress protocol matching common access list qc pass: egress protocol matching common access list qc pass: ingress destination matching common access list qc pass: egress destination matching common access list qc pass: ingress source matching common access list qc pass: egress source matching common access list ---------------------------------- 2020-08-16 03:43:39 qc pass: ingress ttl matching common access list qc pass: egress ttl matching common access list qc pass: ingress tos matching common access list qc pass: egress tos matching common access list qc pass: ingress length matching common access list qc pass: egress length matching common access list qc pass: ingress source port matching access list qc pass: egress source port matching access list qc pass: ingress destination port matching access list qc pass: egress destination port matching access list qc pass: ingress source port matching hibryd access list qc pass: egress source port matching hibryd access list qc pass: ingress destination port matching hibryd access list qc pass: egress destination port matching hibryd access list qc pass: ingress source port matching common access list qc pass: egress source port matching common access list qc pass: ingress destination port matching common access list qc pass: egress destination port matching common access list ---------------------------------- 2020-08-16 08:00:16 qc pass: qos ingress transmit copp qc pass: qos egress transmit copp qc pass: qos ingress drop copp qc pass: qos egress drop copp qc pass: qos ingress policer copp qc pass: qos egress policer copp qc pass: qos transmit dapp qc pass: qos drop dapp qc pass: qos policer dapp qc pass: qos priority dapp ---------------------------------- 2020-08-16 16:26:30 qc pass: qos transmit flowspec qc pass: qos drop flowspec qc pass: qos policer flowspec qc pass: qos priority flowspec ---------------------------------- 2020-08-17 04:26:30 qc pass: lsrp with selective sr qc pass: lsrp with selective bier ---------------------------------- 2020-08-19 03:45:01 qc pass: lsrp peer metric qc pass: pvrp peer metric ---------------------------------- 2020-08-19 07:09:57 qc pass: redistribution with interfaces qc pass: redistribution with metric ---------------------------------- 2020-08-20 09:55:55 qc pass: ppp over ssh qc pass: ppp over tcp ---------------------------------- 2020-08-21 13:19:26 no todo: recursive static route qc pass: recursive static routing qc pass: recursive static routing with labels ---------------------------------- 2020-08-23 11:28:44 qc pass: isis with bidir check qc pass: isis narrow metric with bidir check qc pass: isis chain of broadcast nets with bidir check qc pass: isis multi-topology with bidir check qc pass: lsrp point2point connection with bidir check qc pass: lsrp point2multipoint connection with bidir check qc pass: ospf point2point chain with bidir check qc pass: ospf broadcast chain with bidir check ---------------------------------- 2020-08-25 04:34:11 qc pass: p4lang: vlan ingress access list qc pass: p4lang: vlan egress access list qc pass: p4lang: ingress gre access list qc pass: p4lang: egress gre access list qc pass: p4lang: ingress vlan gre access list qc pass: p4lang: egress vlan gre access list qc pass: p4lang: gre routing over ipv4 qc pass: p4lang: gre routing over ipv6 qc pass: p4lang: gre routing over ipv4 loopback qc pass: p4lang: gre routing over ipv6 loopback qc pass: p4lang: gre routing over vlan qc pass: p4lang: gre routing over bundle qc pass: p4lang: gre routing over bundle vlan qc pass: p4lang: gre routing over hairpin qc pass: p4lang: gre routing over hairpin vlan qc pass: p4lang: gre routing over bridge qc pass: p4lang: gre routing over vlan bridge qc pass: p4lang: gre mpls over ipv4 qc pass: p4lang: gre mpls over ipv6 qc pass: p4lang: gre mpls over ipv4 loopback qc pass: p4lang: gre mpls over ipv6 loopback qc pass: p4lang: gre mpls over vlan qc pass: p4lang: gre mpls over bundle qc pass: p4lang: gre mpls over bundle vlan qc pass: p4lang: gre mpls over hairpin qc pass: p4lang: gre mpls over hairpin vlan qc pass: p4lang: gre mpls over bridge qc pass: p4lang: gre mpls over vlan bridge ---------------------------------- 2020-08-27 16:53:21 qc pass: p4lang: ingress l2tp access list qc pass: p4lang: egress l2tp access list qc pass: p4lang: ingress vlan l2tp access list qc pass: p4lang: egress vlan l2tp access list qc pass: p4lang: l2tp routing over ipv4 qc pass: p4lang: l2tp routing over ipv6 qc pass: p4lang: l2tp routing over ipv4 loopback qc pass: p4lang: l2tp routing over ipv6 loopback qc pass: p4lang: l2tp routing over vlan qc pass: p4lang: l2tp routing over bundle qc pass: p4lang: l2tp mpls over ipv4 qc pass: p4lang: l2tp mpls over ipv6 qc pass: p4lang: l2tp mpls over ipv4 loopback qc pass: p4lang: l2tp mpls over ipv6 loopback qc pass: p4lang: l2tp mpls over vlan qc pass: p4lang: l2tp mpls over bundle ---------------------------------- 2020-08-28 18:43:50 qc pass: p4lang: bridging over gre qc pass: p4lang: bridging over gre vlan qc pass: p4lang: bridging over pppoe qc pass: p4lang: bridging over pppoe vlan qc pass: p4lang: bridging over l2tp qc pass: p4lang: bridging over l2tp vlan ---------------------------------- 2020-09-02 02:45:03 qc pass: p4lang: vxlan over ipv4 qc pass: p4lang: vxlan over ipv6 qc pass: p4lang: vxlan over ipv4 loopback qc pass: p4lang: vxlan over ipv6 loopback qc pass: p4lang: evpn/vxlan with bgp qc pass: p4lang: vlan evpn/vxlan with bgp qc pass: p4lang: bundle vlan evpn/vxlan with bgp qc pass: p4lang: hairpin evpn/vxlan with bgp ---------------------------------- 2020-09-03 09:30:27 qc pass: p4lang: ingress ipip access list qc pass: p4lang: egress ipip access list qc pass: p4lang: ingress vlan ipip access list qc pass: p4lang: egress vlan ipip access list qc pass: p4lang: vxlan over vlan qc pass: p4lang: vxlan over bundle qc pass: p4lang: ipip routing over ipv4 qc pass: p4lang: ipip routing over ipv6 qc pass: p4lang: ipip routing over ipv4 loopback qc pass: p4lang: ipip routing over ipv6 loopback qc pass: p4lang: ipip routing over vlan qc pass: p4lang: ipip routing over bundle ---------------------------------- 2020-09-05 03:36:08 qc pass: macsec over ethernet bundle qc pass: macsec over ethernet hairpin qc pass: p4lang: macsec with des qc pass: p4lang: macsec with 3des qc pass: p4lang: macsec with aes128 qc pass: p4lang: macsec with aes192 qc pass: p4lang: macsec with aes256 qc pass: p4lang: macsec with md5 qc pass: p4lang: macsec with sha1 qc pass: p4lang: macsec with sha256 qc pass: p4lang: macsec with sha512 qc pass: p4lang: macsec over ethernet qc pass: p4lang: macsec over vlan qc pass: p4lang: macsec over bundle vlan qc pass: p4lang: macsec over gre qc pass: p4lang: macsec over pppoe qc pass: p4lang: macsec over l2tp qc pass: p4lang: macsec over hairpin qc pass: p4lang: macsec ingress access list qc pass: p4lang: macsec egress access list qc pass: p4lang: macsec vlan ingress access list qc pass: p4lang: macsec vlan egress access list ---------------------------------- 2020-09-05 14:55:42 qc pass: p4lang: ipsec with des qc pass: p4lang: ipsec with 3des qc pass: p4lang: ipsec with aes128 qc pass: p4lang: ipsec with aes192 qc pass: p4lang: ipsec with aes256 qc pass: p4lang: ipsec with md5 qc pass: p4lang: ipsec with sha1 qc pass: p4lang: ipsec with sha256 qc pass: p4lang: ipsec with sha512 qc pass: p4lang: ipv4 over ipsec qc pass: p4lang: ipv6 over ipsec qc pass: p4lang: ipsec over ipv4 qc pass: p4lang: ipsec over ipv6 qc pass: p4lang: ipsec over ipv4 loopback qc pass: p4lang: ipsec over ipv6 loopback qc pass: p4lang: ipsec over vlan qc pass: p4lang: ipv4 over ipsec with ingress access list qc pass: p4lang: ipv4 over ipsec with egress access list qc pass: p4lang: ipv6 over ipsec with ingress access list qc pass: p4lang: ipv6 over ipsec with egress access list qc pass: p4lang: ipsec with ike1 qc pass: p4lang: ipsec with ike2 ---------------------------------- 2020-09-06 07:52:44 qc pass: p4lang: pckoudp over ipv4 qc pass: p4lang: pckoudp over ipv6 qc pass: p4lang: pckoudp over ipv4 loopback qc pass: p4lang: pckoudp over ipv6 loopback qc pass: p4lang: pckoudp over vlan qc pass: p4lang: pckoudp over bundle qc pass: p4lang: pckoudp server over ipv4 qc pass: p4lang: pckoudp server over ipv6 qc pass: p4lang: pckoudp server over ipv4 loopback qc pass: p4lang: pckoudp server over ipv6 loopback ---------------------------------- 2020-09-06 14:16:10 qc pass: p4lang: vxlan server over ipv4 qc pass: p4lang: vxlan server over ipv6 qc pass: p4lang: vxlan server over ipv4 loopback qc pass: p4lang: vxlan server over ipv6 loopback ---------------------------------- 2020-09-11 03:54:36 qc pass: p4lang: ingress common access list qc pass: p4lang: egress common access list qc pass: p4lang: ingress hibryd access list qc pass: p4lang: egress hibryd access list ---------------------------------- 2020-09-12 10:53:03 qc pass: p4lang: openvpn with des qc pass: p4lang: openvpn with 3des qc pass: p4lang: openvpn with aes128 qc pass: p4lang: openvpn with aes192 qc pass: p4lang: openvpn with aes256 qc pass: p4lang: openvpn with md5 qc pass: p4lang: openvpn with sha1 qc pass: p4lang: openvpn with sha256 qc pass: p4lang: openvpn with sha512 qc pass: p4lang: openvpn over ipv4 qc pass: p4lang: openvpn over ipv6 qc pass: p4lang: openvpn over ipv4 loopback qc pass: p4lang: openvpn over ipv6 loopback qc pass: p4lang: openvpn over asymmetric ports qc pass: p4lang: openvpn with ingress access list qc pass: p4lang: openvpn with egress access list ---------------------------------- 2020-09-12 14:35:22 qc pass: p4lang: wireguard over ipv4 qc pass: p4lang: wireguard over ipv6 qc pass: p4lang: wireguard over ipv4 loopback qc pass: p4lang: wireguard over ipv6 loopback qc pass: p4lang: wireguard over vlan qc pass: p4lang: wireguard over asymmetric ports qc pass: p4lang: wireguard with ingress access list qc pass: p4lang: wireguard with egress access list ---------------------------------- 2020-09-13 03:31:43 no todo: protocol traceroute ---------------------------------- 2020-09-14 14:18:14 qc pass: ingress protocol matching hierarchical access list qc pass: egress protocol matching hierarchical access list qc pass: ingress destination matching hierarchical access list qc pass: egress destination matching hierarchical access list qc pass: ingress source matching hierarchical access list qc pass: egress source matching hierarchical access list qc pass: ingress ttl matching hierarchical access list qc pass: egress ttl matching hierarchical access list qc pass: ingress tos matching hierarchical access list qc pass: egress tos matching hierarchical access list qc pass: ingress length matching hierarchical access list qc pass: egress length matching hierarchical access list qc pass: ingress source port matching hierarchical access list qc pass: egress source port matching hierarchical access list qc pass: ingress destination port matching hierarchical access list qc pass: egress destination port matching hierarchical access list qc pass: reflexive access list qc pass: p4lang: ingress hierarchical access list qc pass: p4lang: egress hierarchical access list qc pass: redistribution filtering with hierarchical prefixlist ---------------------------------- 2020-09-17 08:14:54 qc pass: p4lang: pppoe server routing qc pass: p4lang: vlan pppoe server routing qc pass: p4lang: pppoe server mpls qc pass: p4lang: vlan pppoe server mpls qc pass: p4lang: l2tp server routing qc pass: p4lang: vlan l2tp server routing qc pass: p4lang: l2tp server mpls qc pass: p4lang: vlan l2tp server mpls ---------------------------------- 2020-09-18 17:42:12 qc pass: ppp routes with local authentication qc pass: ppp routes with radius authentication ---------------------------------- 2020-09-19 14:57:26 qc pass: p4lang: p2p ldp tail+head qc pass: p4lang: p2p ldp mid qc pass: p4lang: p2p te tail+head qc pass: p4lang: p2p te mid qc pass: p4lang: sr te over mpls tail+head qc pass: p4lang: sr te over mpls mid ---------------------------------- 2020-09-23 06:53:15 no todo: bgp compare should write out that which attributes changed ---------------------------------- 2020-09-24 13:25:08 todo: show ipvX rousrc, ecmp... todo: ecmp test cases ---------------------------------- 2020-09-25 03:42:53 no todo: show ipvX rousrc, ecmp... ---------------------------------- 2020-09-25 16:40:33 no todo: ecmp test cases qc pass: babel ecmp connection qc pass: bgp ecmp connection qc pass: eigrp ecmp connection qc pass: isis ecmp connection qc pass: lsrp ecmp connection qc pass: olsr ecmp connection qc pass: ospf ecmp connection qc pass: pvrp ecmp connection qc pass: rip ecmp connection qc pass: static routing with ecmp ---------------------------------- 2020-09-27 05:59:21 todo: nat and pbr config to have reindex todo: chatscript and authlist to use tablisting and have reindex ---------------------------------- 2020-10-05 14:11:06 qc pass: bgp routemap filtering with peer asn qc pass: bgp routepolicy filtering with peer asn qc pass: bgp routemap filtering with peer asn with soft-reconfig qc pass: bgp routepolicy filtering with peer asn with soft-reconfig ---------------------------------- 2020-10-05 17:00:28 qc pass: bgp routemap filtering with peer standard community qc pass: bgp routepolicy filtering with peer standard community qc pass: bgp routemap filtering with peer standard community with soft-reconfig qc pass: bgp routepolicy filtering with peer standard community with soft-reconfig qc pass: bgp routemap filtering with peer large community qc pass: bgp routepolicy filtering with peer large community qc pass: bgp routemap filtering with peer large community with soft-reconfig qc pass: bgp routepolicy filtering with peer large community with soft-reconfig ---------------------------------- 2020-10-06 14:49:06 todo: decouple counters in sho ipv4 proto todo: prometheus per metric exclude todo: route count in sho vrf todo: sho gc ---------------------------------- 2020-10-06 18:15:36 no todo: route count in sho vrf no todo: prometheus per metric exclude no todo: decouple counters in sho ipv4 proto ---------------------------------- 2020-10-06 18:42:28 no todo: sho gc ---------------------------------- 2020-10-10 08:29:16 todo: fully paraeterizable sho dash ---------------------------------- 2020-10-17 18:13:47 no todo: http2.0 ---------------------------------- 2020-10-19 08:50:04 no todo: parse privilege levels from radius and tacacs no todo: looking glass rfc8522 no todo: fully paraeterizable sho dash todo: parse privilege levels from tacacs ---------------------------------- 2020-10-20 02:14:27 qc pass: unicast+linkstate over bgp qc pass: unicast+linkstate over bgp with soft-reconfig qc pass: unicast+linkstate over bgp with additional path qc pass: isis with bgp linkstate qc pass: lsrp with bgp linkstate qc pass: ospf with bgp linkstate ---------------------------------- 2020-11-09 13:32:15 no todo: yang over netconf, proto over grpc ---------------------------------- 2020-11-12 20:34:44 qc pass: integrated isis over ethernet qc pass: integrated isis over hdlc qc pass: integrated isis over gre qc pass: integrated isis narrow metric qc pass: integrated isis attached qc pass: integrated isis chain of broadcast nets qc pass: integrated isis broadcast subnet qc pass: integrated isis address suppression qc pass: integrated isis inter-level routes qc pass: integrated isis inter level ingress filtering with prefixlist qc pass: integrated isis inter level egress filtering with prefixlist qc pass: integrated isis inter level ingress filtering with routemap qc pass: integrated isis inter level egress filtering with routemap qc pass: integrated isis inter level ingress filtering with routepolicy qc pass: integrated isis inter level egress filtering with routepolicy qc pass: integrated isis default route qc pass: integrated isis multi-topology qc pass: integrated isis with sr qc pass: integrated isis inter-level with sr qc pass: integrated isis multi-topology with sr qc pass: integrated isis prefix withdraw qc pass: integrated isis change in metric ---------------------------------- 2020-11-12 21:20:31 qc pass: integrated isis aggregate qc pass: integrated isis prefix movement qc pass: integrated isis with bier qc pass: integrated isis inter-level with bier qc pass: integrated isis multi-topology with bier qc pass: integrated isis change in tag qc pass: integrated isis over point2point ethernet qc pass: integrated isis ecmp connection ---------------------------------- 2020-11-13 03:37:49 qc pass: interop1: integrated isis qc pass: interop2: integrated isis qc pass: interop8: integrated isis qc pass: interop9: integrated isis qc pass: integrated isis with php sr qc pass: asymmetric integrated isis ---------------------------------- 2020-11-13 12:16:42 no todo: bfd need to send with ttl=255 ---------------------------------- 2020-11-14 13:55:57 qc pass: interop2: isis bidir te qc pass: interop2: ospf bidir te qc pass: bidir te without global id qc pass: bidir te with global id ---------------------------------- 2020-11-23 08:45:00 no qc pass: other over srv6 over bgp additional path no qc pass: other over srv6 over bgp with soft-reconfig no qc pass: other over srv6 over bgp route server no qc pass: other over srv6 over confed bgp no qc pass: other over srv6 over ibgp rr no qc pass: other over srv6 over ebgp no qc pass: other over srv6 over ibgp no qc pass: unicast+other over bgp route server no qc pass: unicast+other over confed bgp no qc pass: unicast+other over ibgp rr no qc pass: unicast+other over ibgp no qc pass: unicast+other over bgp with additional path no qc pass: unicast+other over bgp with soft-reconfig no qc pass: unicast+other over ebgp qc pass: unicast+olab over ebgp qc pass: unicast+olab over bgp with soft-reconfig qc pass: unicast+olab over bgp with additional path qc pass: unicast+olab over ibgp qc pass: unicast+olab over ibgp rr qc pass: unicast+olab over confed bgp qc pass: unicast+olab over bgp route server qc pass: olab over srv6 over ibgp qc pass: olab over srv6 over ebgp qc pass: olab over srv6 over ibgp rr qc pass: olab over srv6 over confed bgp qc pass: olab over srv6 over bgp route server qc pass: olab over srv6 over bgp with soft-reconfig qc pass: olab over srv6 over bgp additional path ---------------------------------- 2020-11-24 04:45:07 qc pass: unicast+ouni over ebgp qc pass: unicast+ouni over bgp with soft-reconfig qc pass: unicast+ouni over bgp with additional path qc pass: unicast+ouni over ibgp qc pass: unicast+ouni over ibgp rr qc pass: unicast+ouni over confed bgp qc pass: unicast+ouni over bgp route server ---------------------------------- 2020-11-24 11:18:36 qc pass: unicast+omul over bgp qc pass: unicast+omul over bgp with soft-reconfig qc pass: unicast+omul over bgp with additional path qc pass: unicast+oflw over bgp qc pass: unicast+oflw over bgp with soft-reconfig qc pass: unicast+oflw over bgp with additional path qc pass: unicast+osrt over bgp qc pass: unicast+osrt over bgp with soft-reconfig qc pass: unicast+osrt over bgp with additional path ---------------------------------- 2020-11-24 14:47:55 qc pass: qos transmit otherflowspec qc pass: qos drop otherflowspec qc pass: qos policer otherflowspec qc pass: qos priority otherflowspec ---------------------------------- 2020-11-26 18:37:43 qc pass: ouni bgp ingress route filtering with prefixlist qc pass: ouni bgp egress route filtering with prefixlist qc pass: ouni bgp ingress route filtering with routemap qc pass: ouni bgp egress route filtering with routemap qc pass: ouni bgp ingress route filtering with prefixlist with soft-reconfig qc pass: ouni bgp egress route filtering with prefixlist with soft-reconfig qc pass: ouni bgp ingress route filtering with routemap with soft-reconfig qc pass: ouni bgp egress route filtering with routemap with soft-reconfig qc pass: ouni bgp ingress route filtering with routepolicy qc pass: ouni bgp egress route filtering with routepolicy qc pass: ouni bgp ingress route filtering with routepolicy with soft-reconfig qc pass: ouni bgp egress route filtering with routepolicy with soft-reconfig ---------------------------------- 2020-11-26 18:48:06 qc pass: ouni bgp default route ---------------------------------- 2020-11-26 19:21:48 qc pass: vpns with default route ---------------------------------- 2020-11-26 20:13:11 qc pass: olab bgp default route qc pass: othervpns with default route ---------------------------------- 2020-11-26 22:02:52 qc pass: vpns ingress route filtering with routemap qc pass: vpns egress route filtering with routemap qc pass: vpns ingress route filtering with routemap with soft-reconfig qc pass: vpns egress route filtering with routemap with soft-reconfig qc pass: vpns ingress route filtering with routepolicy qc pass: vpns egress route filtering with routepolicy qc pass: vpns ingress route filtering with routepolicy with soft-reconfig qc pass: vpns egress route filtering with routepolicy with soft-reconfig qc pass: othervpns ingress route filtering with routemap qc pass: othervpns egress route filtering with routemap qc pass: othervpns ingress route filtering with routemap with soft-reconfig qc pass: othervpns egress route filtering with routemap with soft-reconfig qc pass: othervpns ingress route filtering with routepolicy qc pass: othervpns egress route filtering with routepolicy qc pass: othervpns ingress route filtering with routepolicy with soft-reconfig qc pass: othervpns egress route filtering with routepolicy with soft-reconfig ---------------------------------- 2020-11-27 08:10:39 qc pass: labels bgp ingress route filtering with prefixlist qc pass: labels bgp egress route filtering with prefixlist qc pass: labels bgp ingress route filtering with routemap qc pass: labels bgp ingress route filtering with routemap qc pass: labels bgp egress route filtering with routemap qc pass: labels bgp ingress route filtering with prefixlist with soft-reconfig qc pass: labels bgp egress route filtering with prefixlist with soft-reconfig qc pass: labels bgp ingress route filtering with routemap with soft-reconfig qc pass: labels bgp egress route filtering with routemap with soft-reconfig qc pass: labels bgp ingress route filtering with routepolicy qc pass: labels bgp egress route filtering with routepolicy qc pass: labels bgp ingress route filtering with routepolicy with soft-reconfig qc pass: labels bgp egress route filtering with routepolicy with soft-reconfig qc pass: labels bgp default route qc pass: olab bgp ingress route filtering with prefixlist qc pass: olab bgp egress route filtering with prefixlist qc pass: olab bgp ingress route filtering with routemap qc pass: olab bgp ingress route filtering with routemap qc pass: olab bgp egress route filtering with routemap qc pass: olab bgp ingress route filtering with prefixlist with soft-reconfig qc pass: olab bgp egress route filtering with prefixlist with soft-reconfig qc pass: olab bgp ingress route filtering with routemap with soft-reconfig qc pass: olab bgp egress route filtering with routemap with soft-reconfig qc pass: olab bgp ingress route filtering with routepolicy qc pass: olab bgp egress route filtering with routepolicy qc pass: olab bgp ingress route filtering with routepolicy with soft-reconfig qc pass: olab bgp egress route filtering with routepolicy with soft-reconfig qc pass: labels bgp aggregation qc pass: olab bgp aggregation qc pass: ouni bgp aggregation qc pass: redistribution with ouni bgp qc pass: redistribution with bgp labels qc pass: redistribution with olab bgp ---------------------------------- 2020-11-27 08:26:00 qc pass: bgp vpns aggregation qc pass: bgp othervpns aggregation ---------------------------------- 2020-11-28 14:57:25 no todo: multilink ppp, fr qc pass: ppp with short multilink fragmentation qc pass: ppp with long multilink fragmentation qc pass: ppp with asymmetric multilink fragmentation qc pass: ppp with asymmetric multilink qc pass: interop1: pppoe with long multilink fragmentation ---------------------------------- 2020-11-29 10:30:51 qc pass: interop9: pppoe client qc pass: interop9: pppoe server qc pass: interop9: mpls over pppoe ---------------------------------- 2020-11-30 09:00:58 qc pass: ppp address propagation ---------------------------------- 2020-12-06 22:54:09 qc pass: ip over framerelay ---------------------------------- 2020-12-07 04:39:16 qc pass: framerelay asymmetric fragmentation ---------------------------------- 2020-12-07 21:33:32 qc pass: tdmoudp with middle channels qc pass: ppp with tdmoudp qc pass: hdlc with tdmoudp qc pass: lapb with tdmoudp qc pass: framerelay with tdmoudp qc pass: atmdxi with tdmoudp qc pass: isdn with tdmoudp qc pass: sep with tdmoudp ---------------------------------- 2020-12-12 13:16:39 qc pass: access class qc pass: access map qc pass: access policy qc pass: access subnet qc pass: remote triggered blackhole access qc pass: remote triggered whitelist access ---------------------------------- 2020-12-13 09:05:18 qc pass: eapol qc pass: lacp ---------------------------------- 2020-12-14 06:18:12 qc pass: interop1: lacp qc pass: interop2: ethernet encapsulation ---------------------------------- 2020-12-14 07:41:16 no qc pass: interop2: ethernet encapsulation qc pass: interop2: lacp ---------------------------------- 2020-12-19 15:13:44 no todo: pipeline properties, terminal autoresize ---------------------------------- 2020-12-21 19:54:27 qc pass: te explicit path qc pass: bgp over te ---------------------------------- 2020-12-25 14:34:56 no todo: igmp4/6 snoop, pim4/6 snoop for bridging ---------------------------------- 2020-12-25 17:56:17 qc pass: multicast routing with pim snooping qc pass: multicast routing with igmp/mld snooping ---------------------------------- 2021-01-06 14:13:11 qc pass: interop1: bgp large community qc pass: p4lang: policy routing between vrfs qc pass: p4lang: policy routing with nexthop qc pass: p4lang: policy routing with interface and nexthop ---------------------------------- 2021-01-14 20:08:27 qc pass: p4lang: ingress policer qc pass: p4lang: egress policer qc pass: p4lang: vlan ingress policer qc pass: p4lang: vlan egress policer ---------------------------------- 2021-01-18 10:45:56 qc pass: p4lang: transmit flowspec qc pass: p4lang: drop flowspec qc pass: p4lang: policer flowspec qc pass: p4lang: priority flowspec ---------------------------------- 2021-01-20 22:05:16 qc pass: monitor session rx qc pass: monitor session tx qc pass: monitor session sampled qc pass: monitor session truncated ---------------------------------- 2021-01-21 20:44:02 qc pass: p4lang: multicast routing qc pass: p4lang: multicast vlan routing ---------------------------------- 2021-01-22 08:22:36 qc pass: p4lang: multicast routing over macsec qc pass: p4lang: multicast routing over vlan macsec qc pass: p4lang: multicast bundle routing qc pass: p4lang: multicast bundle vlan routing qc pass: p4lang: hairpin multicast routing qc pass: p4lang: hairpin vlan multicast routing ---------------------------------- 2021-01-26 05:46:19 todo: p4bf: count hairpins in bffwd to make mcast over hairpin possible todo: p4bf: move nexthop stuff to egress pipe todo: monitor-filter todo: pack cap should use monitor-* infra ---------------------------------- 2021-01-26 06:22:07 no todo: p4bf: move nexthop stuff to egress pipe no todo: p4bf: count hairpins in bffwd to make mcast over hairpin possible todo: p4lang: count hairpins in bffwd to make mcast over hairpin possible todo: p4lang: move nexthop stuff to egress pipe ---------------------------------- 2021-01-27 10:14:06 qc pass: p4lang: mldp core qc pass: p4lang: mldp vlan core qc pass: p4lang: mldp egress edge qc pass: p4lang: mldp vlan egress edge ---------------------------------- 2021-01-27 21:24:15 qc pass: p4lang: mldp ingress edge qc pass: p4lang: mldp vlan ingress edge ---------------------------------- 2021-01-28 06:09:59 no todo: pack cap should use monitor-* infra no todo: monitor-filter no todo: p4lang: move nexthop stuff to egress pipe no todo: p4lang: count hairpins in bffwd to make mcast over hairpin possible ---------------------------------- 2021-01-28 19:08:23 qc pass: p4lang: mldp core over gre qc pass: p4lang: mldp core over l2tp ---------------------------------- 2021-01-29 05:51:29 no qc pass: bridge inspection failed: bridge inspection ---------------------------------- 2021-01-29 06:58:20 no failed: bridge inspection qc pass: bridge inspection ---------------------------------- 2021-01-29 08:12:02 qc pass: interface inspection with ingress drop qc pass: interface inspection with egress drop qc pass: mpls inspection with ingress drop qc pass: mpls inspection with egress drop ---------------------------------- 2021-01-30 09:21:35 qc pass: interface inspection with selective ingress drop qc pass: interface inspection with selective egress drop qc pass: mpls inspection with selective ingress drop qc pass: mpls inspection with selective egress drop ---------------------------------- 2021-01-30 16:56:39 qc pass: ingress mpls access list qc pass: egress mpls access list qc pass: ingress mpls common access list qc pass: egress mpls common access list ---------------------------------- 2021-02-03 07:07:12 qc pass: p4lang: mldp core and egress edge qc pass: p4lang: vlan mldp core and egress edge ---------------------------------- 2021-02-04 21:54:21 qc pass: p4lang: bier core qc pass: p4lang: bier vlan core qc pass: p4lang: bier core over gre qc pass: p4lang: bier core over l2tp ---------------------------------- 2021-02-04 22:29:57 qc pass: p4lang: bier bundle core qc pass: p4lang: bier bundle vlan core qc pass: p4lang: hairpin bier core qc pass: p4lang: hairpin vlan bier core ---------------------------------- 2021-02-05 04:16:32 qc pass: p4lang: mldp bundle core qc pass: p4lang: mldp bundle vlan core qc pass: p4lang: hairpin mldp core qc pass: p4lang: hairpin vlan mldp core ---------------------------------- 2021-02-05 06:28:52 qc pass: p4lang: bier egress edge qc pass: p4lang: bier vlan egress edge ---------------------------------- 2021-02-05 15:55:15 qc pass: p4lang: bier ingress edge qc pass: p4lang: bier vlan ingress edge qc pass: p4lang: bier core and egress edge qc pass: p4lang: vlan bier core and egress edge ---------------------------------- 2021-02-10 12:50:26 qc pass: dummy test qc pass: ip over anyconnect qc pass: atmdxi encapsulation qc pass: atmsar encapsulation qc pass: ppp with ax25 qc pass: hdlc with ax25 qc pass: lapb with ax25 qc pass: framerelay with ax25 qc pass: atmdxi with ax25 qc pass: isdn with ax25 qc pass: sep with ax25 qc pass: chain bridged ethernet qc pass: chain bridged ethernet vlan qc pass: star bridged ethernet qc pass: bridged ethernet over hdlc qc pass: bridged ethernet over ppp qc pass: bridged ethernet over framerelay qc pass: bridged ethernet over atmdxi qc pass: bridged ethernet over atmsar qc pass: bridged ethernet over gre qc pass: bridge with spantree qc pass: bridged ethernet over bridge qc pass: bridge split horizon qc pass: bridge mac learning qc pass: bridged mac rewrite qc pass: ppp over bstun qc pass: bundle of ethernet port qc pass: bundle of serial port qc pass: bundle of ethernet ports qc pass: bundle of serial ports qc pass: bundle over bridge qc pass: bridge over bundle qc pass: replicating bundle qc pass: unreplicating bundle qc pass: dejittering bundle qc pass: loadbalancing bundle qc pass: multichassis bundle qc pass: backup bundle qc pass: dhcp qc pass: dlsw over ipv4 qc pass: dlsw over ipv6 qc pass: dlsw over loopback qc pass: hdlc tunneling with dlsw qc pass: ppp tunneling with dlsw qc pass: lapb tunneling with dlsw qc pass: framerelay tunneling with dlsw qc pass: atmdxi tunneling with dlsw qc pass: isdn tunneling with dlsw qc pass: sep tunneling with dlsw qc pass: ethernet tunneling with dlsw qc pass: vlan tunneling with dlsw qc pass: tunnel interface with dlsw qc pass: erspan over ipv4 qc pass: erspan over ipv6 qc pass: erspan over loopback qc pass: hdlc tunneling with erspan qc pass: ppp tunneling with erspan qc pass: lapb tunneling with erspan qc pass: framerelay tunneling with erspan qc pass: atmdxi tunneling with erspan qc pass: isdn tunneling with erspan qc pass: sep tunneling with erspan qc pass: ethernet tunneling with erspan qc pass: vlan tunneling with erspan qc pass: tunnel interface with erspan qc pass: ethernet encapsulation qc pass: point2point ethernet encapsulation qc pass: ethernet dot1q encapsulation qc pass: ethernet qinq encapsulation qc pass: ethernet dot1ad encapsulation qc pass: ethernet dot1ah encapsulation qc pass: ethernet qinq1 encapsulation qc pass: ethernet qinq2 encapsulation qc pass: ethernet qinq3 encapsulation qc pass: ethernet qinqX encapsulation qc pass: ethernet qinqX custom encapsulation qc pass: ethernet isl encapsulation qc pass: proxy remote arp/nd qc pass: proxy local arp/nd qc pass: static arp/nd entry qc pass: loss detection qc pass: eapol qc pass: lacp qc pass: monitor session rx qc pass: monitor session tx qc pass: monitor session sampled qc pass: monitor session truncated qc pass: etherip over ipv4 qc pass: etherip over ipv6 qc pass: etherip over loopback qc pass: hdlc tunneling with etherip qc pass: ppp tunneling with etherip qc pass: lapb tunneling with etherip qc pass: framerelay tunneling with etherip qc pass: atmdxi tunneling with etherip qc pass: isdn tunneling with etherip qc pass: sep tunneling with etherip qc pass: ethernet tunneling with etherip qc pass: vlan tunneling with etherip qc pass: tunnel interface with etherip qc pass: etherip server qc pass: framerelay ansi qc pass: framerelay cisco qc pass: framerelay q933 qc pass: framerelay fragmentation qc pass: framerelay asymmetric fragmentation qc pass: ppp over framerelay qc pass: ip over framerelay qc pass: geneve over ipv4 qc pass: geneve over ipv6 qc pass: geneve over loopback qc pass: hdlc tunneling with geneve qc pass: ppp tunneling with geneve qc pass: lapb tunneling with geneve qc pass: framerelay tunneling with geneve qc pass: atmdxi tunneling with geneve qc pass: isdn tunneling with geneve qc pass: sep tunneling with geneve qc pass: ethernet tunneling with geneve qc pass: vlan tunneling with geneve qc pass: tunnel interface with geneve qc pass: multipoint ethernet over geneve qc pass: gre over ipv4 qc pass: gre over ipv6 qc pass: gre over gre qc pass: gre over loopback qc pass: ppp with gre qc pass: hdlc with gre qc pass: lapb with gre qc pass: framerelay with gre qc pass: atmdxi with gre qc pass: isdn with gre qc pass: sep with gre qc pass: gre server qc pass: ppp over gtp qc pass: ethernet hairpin qc pass: serial hairpin qc pass: bundle hairpin qc pass: bridge hairpin qc pass: hsrp over ethernet qc pass: icmptunnel over ipv4 qc pass: icmptunnel over ipv6 qc pass: icmptunnel over icmptunnel qc pass: icmptunnel over loopback qc pass: ipcomp over ipv4 qc pass: ipcomp over ipv6 qc pass: ipcomp over ipcomp qc pass: ipcomp over loopback qc pass: ipenc over ipv4 qc pass: ipenc over ipv6 qc pass: ipenc over ipenc qc pass: ipenc over loopback qc pass: ipip over ipv4 qc pass: ipip over ipv6 qc pass: ipip over ipip qc pass: ipip over loopback qc pass: iponly qc pass: isdn qc pass: ppp over l2f qc pass: ppp over authenticated l2f qc pass: ppp over l2tp2 qc pass: ppp over l2tp3 server qc pass: ppp over l2tp3 qc pass: hdlc over l2tp3 qc pass: lapb over l2tp3 qc pass: framerelay over l2tp3 qc pass: atmdxi over l2tp3 qc pass: isdn over l2tp3 qc pass: sep over l2tp3 qc pass: port mode ppp over l2tp3 qc pass: ethernet over l2tp3 qc pass: vlan over l2tp3 qc pass: multipoint ethernet over l2tp3 qc pass: hdlc tunneling with l2tp3 qc pass: ppp tunneling with l2tp3 qc pass: lapb tunneling with l2tp3 qc pass: framerelay tunneling with l2tp3 qc pass: atmdxi tunneling with l2tp3 qc pass: isdn tunneling with l2tp3 qc pass: sep tunneling with l2tp3 qc pass: ethernet tunneling with l2tp3 qc pass: vlan tunneling with l2tp3 qc pass: tunnel interface with l2tp3 qc pass: ppp over authenticated l2tp2 qc pass: ppp over authenticated l2tp3 server qc pass: ppp over authenticated l2tp3 qc pass: lapb mod8 qc pass: lapb mod128 qc pass: lapb mod32768 qc pass: lisp over ipv4 qc pass: lisp over ipv6 qc pass: lisp over lisp qc pass: lisp over loopback qc pass: lisp over asymmetric ports qc pass: minenc over ipv4 qc pass: minenc over ipv6 qc pass: minenc over minenc qc pass: minenc over loopback qc pass: modem with alaw qc pass: modem with ulaw qc pass: modem with alaw through proxy qc pass: modem with ulaw through proxy qc pass: modem with alaw through peer qc pass: modem with ulaw through peer qc pass: modem with alaw and ulaw through peer qc pass: modem through ipv4 peer qc pass: modem through ipv6 peer qc pass: modem through udp peer qc pass: modem through tcp peer qc pass: mplsip over ipv4 qc pass: mplsip over ipv6 qc pass: mplsip over mplsip qc pass: mplsip over loopback qc pass: mplsip server qc pass: mplsudp over ipv4 qc pass: mplsudp over ipv6 qc pass: mplsudp over mplsudp qc pass: mplsudp over loopback qc pass: mplsudp server qc pass: mplsudp over asymmetric ports qc pass: nos over ipv4 qc pass: nos over ipv6 qc pass: nos over nos qc pass: nos over loopback qc pass: nvgre over ipv4 qc pass: nvgre over ipv6 qc pass: nvgre over loopback qc pass: hdlc tunneling with nvgre qc pass: ppp tunneling with nvgre qc pass: lapb tunneling with nvgre qc pass: framerelay tunneling with nvgre qc pass: atmdxi tunneling with nvgre qc pass: isdn tunneling with nvgre qc pass: sep tunneling with nvgre qc pass: ethernet tunneling with nvgre qc pass: vlan tunneling with nvgre qc pass: tunnel interface with nvgre qc pass: pckoip over ipv4 qc pass: pckoip over ipv6 qc pass: pckoip over pckoip qc pass: pckoip over loopback qc pass: ppp with packet over udp qc pass: ethernet with packet over udp qc pass: hdlc tunneling with packet over udp qc pass: ppp tunneling with packet over udp qc pass: lapb tunneling with packet over udp qc pass: framerelay tunneling with packet over udp qc pass: atmdxi tunneling with packet over udp qc pass: isdn tunneling with packet over udp qc pass: sep tunneling with packet over udp qc pass: ethernet tunneling with packet over udp qc pass: vlan tunneling with packet over udp qc pass: tunnel interface with packet over udp qc pass: ppp over packet over udp qc pass: ethernet over packet over udp qc pass: interworking with ethernet over packet over udp qc pass: interworking with packet over dtls qc pass: ppp with packet over dtls qc pass: ppp with packet over tcp qc pass: ppp with packet over tls qc pass: ppp with packet over txt qc pass: ppp with packet over txtls qc pass: packet over udp over asymmetric ports qc pass: pim over ipv4 qc pass: pim over ipv6 qc pass: pim over pim qc pass: pim over loopback qc pass: pipe over ipv4 qc pass: pipe over ipv6 qc pass: pipe over pipe qc pass: pipe over loopback qc pass: ppp encapsulation qc pass: ppp with local authentication qc pass: ppp with radius authentication qc pass: ppp with tacacs authentication qc pass: ppp with pap authentication qc pass: ppp with chap authentication qc pass: ppp with eap authentication qc pass: ppp routes with local authentication qc pass: ppp routes with radius authentication qc pass: ppp with short multilink fragmentation qc pass: ppp with long multilink fragmentation qc pass: ppp with asymmetric multilink fragmentation qc pass: ppp with asymmetric multilink qc pass: ppp address propagation qc pass: pppoe over ethernet encapsulation qc pass: pppoe over bridge encapsulation qc pass: ppp relay over pppoe qc pass: ppp over pptp qc pass: raw encapsulation qc pass: process redundancy qc pass: sep qc pass: slaac qc pass: sreth over ipv4 qc pass: sreth over ipv6 qc pass: sreth over loopback qc pass: hdlc tunneling with sreth qc pass: ppp tunneling with sreth qc pass: lapb tunneling with sreth qc pass: framerelay tunneling with sreth qc pass: atmdxi tunneling with sreth qc pass: isdn tunneling with sreth qc pass: sep tunneling with sreth qc pass: ethernet tunneling with sreth qc pass: vlan tunneling with sreth qc pass: tunnel interface with sreth qc pass: ppp over ssh qc pass: ppp over sstp qc pass: spantree over ethernet qc pass: ppp over stun qc pass: ppp over tcp qc pass: tdmoudp with middle channels qc pass: ppp with tdmoudp qc pass: hdlc with tdmoudp qc pass: lapb with tdmoudp qc pass: framerelay with tdmoudp qc pass: atmdxi with tdmoudp qc pass: isdn with tdmoudp qc pass: sep with tdmoudp qc pass: ppp over telnet qc pass: ppp over tls qc pass: tmux over ipv4 qc pass: tmux over ipv6 qc pass: tmux over tmux qc pass: tmux over loopback qc pass: udpgre over ipv4 qc pass: udpgre over ipv6 qc pass: udpgre over udpgre qc pass: udpgre over loopback qc pass: uti over ipv4 qc pass: uti over ipv6 qc pass: uti over loopback qc pass: hdlc tunneling with uti qc pass: ppp tunneling with uti qc pass: lapb tunneling with uti qc pass: framerelay tunneling with uti qc pass: atmdxi tunneling with uti qc pass: isdn tunneling with uti qc pass: sep tunneling with uti qc pass: ethernet tunneling with uti qc pass: vlan tunneling with uti qc pass: tunnel interface with uti qc pass: vdc parent interface qc pass: vdc parent connect qc pass: vdc peer connect qc pass: vrrp over ethernet qc pass: vxlan over ipv4 qc pass: vxlan over ipv6 qc pass: vxlan over loopback qc pass: hdlc tunneling with vxlan qc pass: ppp tunneling with vxlan qc pass: lapb tunneling with vxlan qc pass: framerelay tunneling with vxlan qc pass: atmdxi tunneling with vxlan qc pass: isdn tunneling with vxlan qc pass: sep tunneling with vxlan qc pass: ethernet tunneling with vxlan qc pass: vlan tunneling with vxlan qc pass: tunnel interface with vxlan qc pass: multipoint ethernet over vxlan qc pass: cross connect hdlc interfaces qc pass: cross connect ppp interfaces qc pass: cross connect lapb interfaces qc pass: cross connect framerelay interfaces qc pass: cross connect atmdxi interfaces qc pass: cross connect isdn interfaces qc pass: cross connect sep interfaces qc pass: cross connect ethernet interfaces qc pass: cross connect vlan subinterfaces qc pass: cross connect vlan subinterfaces of same interface qc pass: access class qc pass: access map qc pass: access policy qc pass: access subnet qc pass: remote triggered blackhole access qc pass: remote triggered whitelist access qc pass: ingress protocol matching access list qc pass: egress protocol matching access list qc pass: ingress destination matching access list qc pass: egress destination matching access list qc pass: ingress source matching access list qc pass: egress source matching access list qc pass: ingress bridged access list qc pass: egress bridged access list qc pass: ingress ttl matching access list qc pass: egress ttl matching access list qc pass: ingress tos matching access list qc pass: egress tos matching access list qc pass: ingress dscp matching access list qc pass: egress dscp matching access list qc pass: ingress precedence matching access list qc pass: egress precedence matching access list qc pass: ingress length matching access list qc pass: egress length matching access list qc pass: ingress destination matching hibryd access list qc pass: egress destination matching hibryd access list qc pass: ingress source matching hibryd access list qc pass: egress source matching hibryd access list qc pass: ingress protocol matching common access list qc pass: egress protocol matching common access list qc pass: ingress destination matching common access list qc pass: egress destination matching common access list qc pass: ingress source matching common access list qc pass: egress source matching common access list qc pass: ingress ttl matching common access list qc pass: egress ttl matching common access list qc pass: ingress tos matching common access list qc pass: egress tos matching common access list qc pass: ingress length matching common access list qc pass: egress length matching common access list qc pass: ingress source port matching access list qc pass: egress source port matching access list qc pass: ingress destination port matching access list qc pass: egress destination port matching access list qc pass: ingress source port matching hibryd access list qc pass: egress source port matching hibryd access list qc pass: ingress destination port matching hibryd access list qc pass: egress destination port matching hibryd access list qc pass: ingress source port matching common access list qc pass: egress source port matching common access list qc pass: ingress destination port matching common access list qc pass: egress destination port matching common access list qc pass: ingress protocol matching hierarchical access list qc pass: egress protocol matching hierarchical access list qc pass: ingress destination matching hierarchical access list qc pass: egress destination matching hierarchical access list qc pass: ingress source matching hierarchical access list qc pass: egress source matching hierarchical access list qc pass: ingress ttl matching hierarchical access list qc pass: egress ttl matching hierarchical access list qc pass: ingress tos matching hierarchical access list qc pass: egress tos matching hierarchical access list qc pass: ingress length matching hierarchical access list qc pass: egress length matching hierarchical access list qc pass: ingress source port matching hierarchical access list qc pass: egress source port matching hierarchical access list qc pass: ingress destination port matching hierarchical access list qc pass: egress destination port matching hierarchical access list qc pass: reflexive access list qc pass: ingress mpls access list qc pass: egress mpls access list qc pass: ingress mpls common access list qc pass: egress mpls common access list qc pass: dtls test qc pass: ipv4 in esp over ipv4 qc pass: ipv4 in esp over ipv6 qc pass: ipv6 in esp over ipv4 qc pass: ipv6 in esp over ipv6 qc pass: ipv4 in ike1 over ipv4 qc pass: ipv4 in ike1 over ipv6 qc pass: ipv6 in ike1 over ipv4 qc pass: ipv6 in ike1 over ipv6 qc pass: ike1 with des qc pass: ike1 with blowfish qc pass: ike1 with 3des qc pass: ike1 with aes128 qc pass: ike1 with aes192 qc pass: ike1 with aes256 qc pass: ike1 with md5 qc pass: ike1 with sha1 qc pass: ike1 with sha256 qc pass: ike1 with sha512 qc pass: ike1 with group1 qc pass: ike1 with group2 qc pass: ike1 with group5 qc pass: ike1 with group14 qc pass: ike1 with group15 qc pass: ike1 with group16 qc pass: ike1 with group17 qc pass: ike1 with group18 qc pass: ike1 with group22 qc pass: ike1 with group23 qc pass: ike1 with group24 qc pass: ike1 over ipsec qc pass: ipv4 in ike2 over ipv4 qc pass: ipv4 in ike2 over ipv6 qc pass: ipv6 in ike2 over ipv4 qc pass: ipv6 in ike2 over ipv6 qc pass: ike2 with des qc pass: ike2 with blowfish qc pass: ike2 with 3des qc pass: ike2 with aes128 qc pass: ike2 with aes192 qc pass: ike2 with aes256 qc pass: ike2 with md5 qc pass: ike2 with sha1 qc pass: ike2 with sha256 qc pass: ike2 with sha512 qc pass: ike2 with group1 qc pass: ike2 with group2 qc pass: ike2 with group5 qc pass: ike2 with group14 qc pass: ike2 with group15 qc pass: ike2 with group16 qc pass: ike2 with group17 qc pass: ike2 with group18 qc pass: ike2 with group22 qc pass: ike2 with group23 qc pass: ike2 with group24 qc pass: ike2 over ipsec qc pass: inlsp over ipv4 qc pass: inlsp over ipv6 qc pass: inlsp over inlsp qc pass: inlsp over loopback qc pass: inlsp with des qc pass: inlsp with blowfish qc pass: inlsp with 3des qc pass: inlsp with aes128 qc pass: inlsp with aes192 qc pass: inlsp with aes256 qc pass: inlsp with md5 qc pass: inlsp with sha1 qc pass: inlsp with sha256 qc pass: inlsp with sha512 qc pass: route inspection qc pass: flow inspection qc pass: interface inspection qc pass: bridge inspection qc pass: mpls inspection qc pass: interface inspection with ingress drop qc pass: interface inspection with egress drop qc pass: mpls inspection with ingress drop qc pass: mpls inspection with egress drop qc pass: interface inspection with selective ingress drop qc pass: interface inspection with selective egress drop qc pass: mpls inspection with selective ingress drop qc pass: mpls inspection with selective egress drop qc pass: macsec over ethernet qc pass: macsec over ethernet vlan qc pass: macsec over ethernet bridge qc pass: macsec over hdlc qc pass: macsec over ppp qc pass: macsec over framerelay qc pass: macsec over atmdxi qc pass: macsec over atmsar qc pass: macsec over tunnel qc pass: macsec with des qc pass: macsec with blowfish qc pass: macsec with 3des qc pass: macsec with aes128 qc pass: macsec with aes192 qc pass: macsec with aes256 qc pass: macsec with md5 qc pass: macsec with sha1 qc pass: macsec with sha256 qc pass: macsec with sha512 qc pass: macsec with group1 qc pass: macsec with group2 qc pass: macsec with group5 qc pass: macsec with group14 qc pass: macsec with group15 qc pass: macsec with group16 qc pass: macsec with group17 qc pass: macsec with group18 qc pass: macsec with group22 qc pass: macsec with group23 qc pass: macsec with group24 qc pass: macsec over ethernet bundle qc pass: macsec over ethernet hairpin qc pass: source list translation to interface qc pass: source list translation to address qc pass: source address translation to interface qc pass: source address translation to address qc pass: target address translation to address qc pass: more sources translation to interface qc pass: ipv4-ipv6 protocol translation qc pass: source prefix translation qc pass: target prefix translation qc pass: nat64 translation qc pass: source port randomization qc pass: source interface translation to address qc pass: target interface translation to address qc pass: openvpn over ipv4 qc pass: openvpn over ipv6 qc pass: openvpn over openvpn qc pass: openvpn over loopback qc pass: openvpn with des qc pass: openvpn with blowfish qc pass: openvpn with 3des qc pass: openvpn with aes128 qc pass: openvpn with aes192 qc pass: openvpn with aes256 qc pass: openvpn with md5 qc pass: openvpn with sha1 qc pass: openvpn with sha256 qc pass: openvpn with sha512 qc pass: openvpn over asymmetric ports qc pass: transparent proxy qc pass: satp over ipv4 qc pass: satp over ipv6 qc pass: satp over satp qc pass: satp over loopback qc pass: satp with des qc pass: satp with blowfish qc pass: satp with 3des qc pass: satp with aes128 qc pass: satp with aes192 qc pass: satp with aes256 qc pass: satp with md5 qc pass: satp with sha1 qc pass: satp with sha256 qc pass: satp with sha512 qc pass: satp over asymmetric ports qc pass: skip over ipv4 qc pass: skip over ipv6 qc pass: skip over skip qc pass: skip over loopback qc pass: skip with des qc pass: skip with blowfish qc pass: skip with 3des qc pass: skip with aes128 qc pass: skip with aes192 qc pass: skip with aes256 qc pass: skip with md5 qc pass: skip with sha1 qc pass: skip with sha256 qc pass: skip with sha512 qc pass: ssh test qc pass: swipe over ipv4 qc pass: swipe over ipv6 qc pass: swipe over swipe qc pass: swipe over loopback qc pass: swipe with des qc pass: swipe with blowfish qc pass: swipe with 3des qc pass: swipe with aes128 qc pass: swipe with aes192 qc pass: swipe with aes256 qc pass: swipe with md5 qc pass: swipe with sha1 qc pass: swipe with sha256 qc pass: swipe with sha512 qc pass: tls test qc pass: wireguard over ipv4 qc pass: wireguard over ipv6 qc pass: wireguard over wireguard qc pass: wireguard over loopback qc pass: wireguard over asymmetric ports qc pass: empty demo network qc pass: addressed demo network qc pass: interop1: ebgp qc pass: interop1: ibgp qc pass: interop1: bgp locpref qc pass: interop1: bgp origin qc pass: interop1: bgp metric qc pass: interop1: bgp community qc pass: interop1: bgp aspath qc pass: interop1: bgp with labels qc pass: interop1: bgp addpath qc pass: interop1: bgp prefix withdraw qc pass: interop1: bgp vpnv4 qc pass: interop1: bgp authentication qc pass: interop1: bgp vpnv6 qc pass: interop1: vpls/ldp over bgp qc pass: interop1: vpls/bgp over bgp qc pass: interop1: bgp extended community qc pass: interop1: evpn/cmac over bgp qc pass: interop1: bgp 6pe qc pass: interop1: bgp aigp qc pass: interop1: bgp with php labels qc pass: interop1: bgp large community qc pass: interop1: dhcp server qc pass: interop1: dhcp client qc pass: interop1: dns qc pass: interop1: eigrp qc pass: interop1: eigrp prefix withdraw qc pass: interop1: ethernet encapsulation qc pass: interop1: dot1q encapsulation qc pass: interop1: spantree nonroot qc pass: interop1: spantree root qc pass: interop1: point2point ethernet encapsulation qc pass: interop1: lacp qc pass: interop1: ike1 with ipv4 qc pass: interop1: ike1 with ipv6 qc pass: interop1: ike1 with 3des qc pass: interop1: ike1 with aes128 qc pass: interop1: ike1 with aes192 qc pass: interop1: ike1 with aes256 qc pass: interop1: ike1 with sha1 qc pass: interop1: ike1 with sha256 qc pass: interop1: ike1 with sha512 qc pass: interop1: ike1 with group2 qc pass: interop1: ike1 with group5 qc pass: interop1: ike1 with group14 qc pass: interop1: ike1 with group15 qc pass: interop1: ike1 with group16 qc pass: interop1: ike1 with group24 qc pass: interop1: ike2 with ipv4 qc pass: interop1: ike2 with ipv6 qc pass: interop1: ike2 with 3des qc pass: interop1: ike2 with aes128 qc pass: interop1: ike2 with aes192 qc pass: interop1: ike2 with aes256 qc pass: interop1: ike2 with sha1 qc pass: interop1: ike2 with sha256 qc pass: interop1: ike2 with sha512 qc pass: interop1: ike2 with group2 qc pass: interop1: ike2 with group5 qc pass: interop1: ike2 with group14 qc pass: interop1: ike2 with group15 qc pass: interop1: ike2 with group16 qc pass: interop1: ike2 with group24 qc pass: interop1: point2point isis qc pass: interop1: isis dis qc pass: interop1: isis nondis qc pass: interop1: isis narrow metric qc pass: interop1: isis te qc pass: interop1: isis multi-topology qc pass: interop1: isis prefix withdraw qc pass: interop1: isis authentication qc pass: interop1: isis p2mp te qc pass: interop1: isis sr qc pass: interop1: isis lsp authentication qc pass: interop1: isis php sr qc pass: interop1: isis te with pcep qc pass: interop1: integrated isis qc pass: interop1: l2tp2 client qc pass: interop1: l2tp2 server qc pass: interop1: l2tp3 server qc pass: interop1: ethernet tunneling with l2tp3 qc pass: interop1: ldp lsp qc pass: interop1: ethernet over mpls qc pass: interop1: ldp p2mp lsp qc pass: interop1: ldp mp2mp lsp qc pass: interop1: ldp php lsp qc pass: interop1: ldp over point2point ethernet qc pass: interop1: igmp3/mld2 qc pass: interop1: pim qc pass: interop1: modem with alaw qc pass: interop1: modem with ulaw qc pass: interop1: point2point ospf qc pass: interop1: ospf dr qc pass: interop1: ospf nondr qc pass: interop1: ospf transit area qc pass: interop1: ospf stub area qc pass: interop1: ospf nssa area qc pass: interop1: ospf te qc pass: interop1: ospf prefix withdraw qc pass: interop1: ospf authentication qc pass: interop1: ospf p2mp te qc pass: interop1: ospf sr qc pass: interop1: ospf php sr qc pass: interop1: ospf te with pcep qc pass: interop1: pppoe client qc pass: interop1: pppoe server qc pass: interop1: pppoe with pap qc pass: interop1: pppoe with chap qc pass: interop1: pppoe with eap qc pass: interop1: pppoe with long multilink fragmentation qc pass: interop1: radius qc pass: interop1: rip qc pass: interop1: rip prefix withdraw qc pass: interop1: rip authentication qc pass: interop1: ssh qc pass: interop1: tacacs qc pass: interop1: gre tunnel qc pass: interop1: ipip tunnel qc pass: interop1: vxlan tunnel qc pass: interop2: ebgp qc pass: interop2: ibgp qc pass: interop2: bgp locpref qc pass: interop2: bgp origin qc pass: interop2: bgp metric qc pass: interop2: bgp community qc pass: interop2: bgp aspath qc pass: interop2: bgp with labels qc pass: interop2: bgp addpath qc pass: interop2: bgp prefix withdraw qc pass: interop2: bgp vpnv4 qc pass: interop2: bgp authentication qc pass: interop2: bgp vpnv6 qc pass: interop2: vpls/ldp over bgp qc pass: interop2: vpls/bgp over bgp qc pass: interop2: evpn/pbb over bgp qc pass: interop2: bgp extended community qc pass: interop2: bgp large community qc pass: interop2: bgp vpnv4 over srv6 qc pass: interop2: bgp vpnv6 over srv6 qc pass: interop2: bgp 6pe qc pass: interop2: evpn/vpws over bgp qc pass: interop2: bgp aigp qc pass: interop2: bgp with php labels qc pass: interop2: eigrp qc pass: interop2: eigrp prefix withdraw qc pass: interop2: ethernet encapsulation qc pass: interop2: dot1q encapsulation qc pass: interop2: dot1ad encapsulation qc pass: interop2: point2point ethernet encapsulation qc pass: interop2: lacp qc pass: interop2: point2point isis qc pass: interop2: isis dis qc pass: interop2: isis nondis qc pass: interop2: isis narrow metric qc pass: interop2: isis te qc pass: interop2: isis multi-topology qc pass: interop2: isis prefix withdraw qc pass: interop2: isis authentication qc pass: interop2: isis p2mp te qc pass: interop2: isis sr qc pass: interop2: isis lsp authentication qc pass: interop2: isis php sr qc pass: interop2: isis te with pcep qc pass: interop2: integrated isis qc pass: interop2: isis bidir te qc pass: interop2: ldp lsp qc pass: interop2: ethernet over mpls qc pass: interop2: ldp p2mp lsp qc pass: interop2: ldp mp2mp lsp qc pass: interop2: ldp php lsp qc pass: interop2: ldp over point2point ethernet qc pass: interop2: igmp3/mld2 qc pass: interop2: pim qc pass: interop2: point2point ospf qc pass: interop2: ospf dr qc pass: interop2: ospf nondr qc pass: interop2: ospf transit area qc pass: interop2: ospf stub area qc pass: interop2: ospf nssa area qc pass: interop2: ospf te qc pass: interop2: ospf prefix withdraw qc pass: interop2: ospf authentication qc pass: interop2: ospf p2mp te qc pass: interop2: ospf sr qc pass: interop2: ospf php sr qc pass: interop2: ospf te with pcep qc pass: interop2: ospf bidir te qc pass: interop2: pppoe with pap qc pass: interop2: pppoe with chap qc pass: interop2: rip qc pass: interop2: rip prefix withdraw qc pass: interop2: rip authentication qc pass: interop2: gre tunnel qc pass: interop2: ipip tunnel qc pass: interop8: ebgp qc pass: interop8: ibgp qc pass: interop8: bgp locpref qc pass: interop8: bgp origin qc pass: interop8: bgp metric qc pass: interop8: bgp community qc pass: interop8: bgp aspath qc pass: interop8: bgp with labels qc pass: interop8: bgp addpath qc pass: interop8: bgp prefix withdraw qc pass: interop8: bgp authentication qc pass: interop8: bgp extended community qc pass: interop8: bgp large community qc pass: interop8: bgp with php labels qc pass: interop8: eigrp qc pass: interop8: point2point isis qc pass: interop8: isis dis qc pass: interop8: isis nondis qc pass: interop8: isis narrow metric qc pass: interop8: isis prefix withdraw qc pass: interop8: isis authentication qc pass: interop8: integrated isis qc pass: interop8: ldp lsp qc pass: interop8: ldp php lsp qc pass: interop8: point2point ospf qc pass: interop8: ospf dr qc pass: interop8: ospf nondr qc pass: interop8: ospf transit area qc pass: interop8: ospf stub area qc pass: interop8: ospf nssa area qc pass: interop8: ospf prefix withdraw qc pass: interop8: ospf authentication qc pass: interop8: rip qc pass: interop9: ebgp qc pass: interop9: ibgp qc pass: interop9: bgp locpref qc pass: interop9: bgp origin qc pass: interop9: bgp metric qc pass: interop9: bgp community qc pass: interop9: bgp aspath qc pass: interop9: bgp with labels qc pass: interop9: bgp addpath qc pass: interop9: bgp prefix withdraw qc pass: interop9: bgp vpnv4 qc pass: interop9: bgp authentication qc pass: interop9: bgp vpnv6 qc pass: interop9: vpls/ldp over bgp qc pass: interop9: vpls/bgp over bgp qc pass: interop9: bgp extended community qc pass: interop9: bgp large community qc pass: interop9: bgp with php labels qc pass: interop9: ethernet encapsulation qc pass: interop9: dot1q encapsulation qc pass: interop9: point2point isis qc pass: interop9: isis dis qc pass: interop9: isis nondis qc pass: interop9: isis te qc pass: interop9: isis prefix withdraw qc pass: interop9: isis p2mp te qc pass: interop9: isis sr qc pass: interop9: isis lsp authentication qc pass: interop9: isis php sr qc pass: interop9: integrated isis qc pass: interop9: ldp lsp qc pass: interop9: ethernet over mpls qc pass: interop9: ldp p2mp lsp qc pass: interop9: ldp mp2mp lsp qc pass: interop9: ldp php lsp qc pass: interop9: point2point ospf qc pass: interop9: ospf dr qc pass: interop9: ospf nondr qc pass: interop9: ospf transit area qc pass: interop9: ospf stub area qc pass: interop9: ospf nssa area qc pass: interop9: ospf te qc pass: interop9: ospf prefix withdraw qc pass: interop9: ospf p2mp te qc pass: interop9: ospf sr qc pass: interop9: ospf php sr qc pass: interop9: pppoe client qc pass: interop9: pppoe server qc pass: interop9: mpls over pppoe qc pass: interop9: rip qc pass: bier in chain qc pass: bier in star qc pass: bier in dense chain qc pass: bier in dense star qc pass: bier on multiple si qc pass: bier on mixed si qc pass: bier with 64b bsl qc pass: bier with 128b bsl qc pass: bier with 256b bsl qc pass: bier with 512b bsl qc pass: bier with 1k bsl qc pass: bier with 2k bsl qc pass: bier with 4k bsl qc pass: bier over broadcast subnet qc pass: mixed protocol over bier qc pass: mpls over bier qc pass: bridged evcs over ethernet qc pass: bridged evcs over hdlc qc pass: bridged evcs over gre qc pass: bridged evcs and subif qc pass: bridged evcs and main qc pass: xconnect evcs terminated on xconnects qc pass: xconnect evcs terminated on pwhes qc pass: xconnect terminated on pwhe subifs qc pass: xconnect terminated on pwhe bridged evcs qc pass: xconnect terminated on pwhe xconnect evcs qc pass: xconnect evcs terminated on vpdns qc pass: ldp over ethernet qc pass: ldp over ethernet vlan qc pass: ldp over ethernet bridge qc pass: ldp over hdlc qc pass: ldp over ppp qc pass: ldp over framerelay qc pass: ldp over atmdxi qc pass: ldp over gre qc pass: ldp over broadcast subnet qc pass: ldp over hub and spoke subnet qc pass: ldp over loopback qc pass: p2p ldp tunnel qc pass: p2mp ldp tunnel qc pass: p2mp ldp tunnel head+mid qc pass: mp2mp ldp tunnel qc pass: mp2mp ldp tunnel mid+head qc pass: targeted ldp qc pass: ldp password qc pass: targeted ldp password qc pass: ingress label filtering with ldp qc pass: egress label filtering with ldp qc pass: vrf label filtering with ldp qc pass: mpls expbundle qc pass: mpls redirection qc pass: ldp php qc pass: ldp over point2point ethernet qc pass: nsh over ethernet qc pass: nsh over ethernet vlan qc pass: nsh over ethernet bridge qc pass: nsh over hdlc qc pass: nsh over ppp qc pass: nsh over framerelay qc pass: nsh over atmdxi qc pass: nsh over gre qc pass: nsh chain qc pass: nsh loop qc pass: nsh switch qc pass: nsh ip qc pass: nsh mix of ip and ethernet qc pass: ppp over mpls qc pass: hdlc over mpls qc pass: lapb over mpls qc pass: framerelay over mpls qc pass: atmdxi over mpls qc pass: isdn over mpls qc pass: sep over mpls qc pass: port mode ppp over mpls qc pass: ethernet over mpls qc pass: vlan over mpls qc pass: multipoint ethernet over mpls qc pass: interworking between l2tp3 and ethernet over mpls qc pass: hdlc tunneling with mpls qc pass: ppp tunneling with mpls qc pass: lapb tunneling with mpls qc pass: framerelay tunneling with mpls qc pass: atmdxi tunneling with mpls qc pass: isdn tunneling with mpls qc pass: sep tunneling with mpls qc pass: ethernet tunneling with mpls qc pass: vlan tunneling with mpls qc pass: tunnel interface with mpls qc pass: ethernet over mpls with cw qc pass: ppp over packet over udp pwhe qc pass: ethernet over packet over udp pwhe qc pass: ethernet over vxlan pwhe qc pass: ethernet over geneve pwhe qc pass: ethernet over erspan pwhe qc pass: ethernet over dlsw pwhe qc pass: ethernet over etherip pwhe qc pass: ethernet over uti pwhe qc pass: ethernet over nvgre pwhe qc pass: ppp over greppp pwhe qc pass: ppp over ax25 pwhe qc pass: ppp over l2f pwhe qc pass: ppp over pptp pwhe qc pass: ppp over l2tp2 pwhe qc pass: ppp over l2tp3 pwhe qc pass: ethernet over l2tp3 pwhe qc pass: ppp over mpls pwhe qc pass: ethernet over mpls pwhe qc pass: ethernet over mpls pwhe with cw qc pass: ethernet over gretap pwhe qc pass: ethernet over sreth pwhe qc pass: sr in chain qc pass: sr in star qc pass: te over sr qc pass: pwe over sr qc pass: bgp over sr qc pass: bgp with labels over sr qc pass: vpns over bgp over sr qc pass: othervpns over bgp over sr qc pass: sr over broadcast subnet qc pass: sr te over mpls qc pass: sr te over exthdr qc pass: bgp with php labels over sr qc pass: sr te with pcep qc pass: te over ethernet qc pass: te over ethernet vlan qc pass: te over ethernet bridge qc pass: te over hdlc qc pass: te over ppp qc pass: te over framerelay qc pass: te over atmdxi qc pass: te over gre qc pass: te in chain qc pass: ldp over te qc pass: pwe over te qc pass: ldp and te qc pass: p2mp te qc pass: p2mp te tail+mid qc pass: te with pcep qc pass: te over point2point ethernet qc pass: bidir te without global id qc pass: bidir te with global id qc pass: te explicit path qc pass: bgp over te qc pass: cross connect with pwe over mpls qc pass: cross connect with packet over udp qc pass: cross connect with vxlan qc pass: cross connect with geneve qc pass: cross connect with erspan qc pass: cross connect with etherip qc pass: cross connect with sreth qc pass: cross connect with nvgre qc pass: cross connect with uti qc pass: cross connect with pwe over mpls with cw qc pass: cross connect interworking with packet over udp qc pass: cross connect interworking with vxlan qc pass: cross connect interworking with geneve qc pass: cross connect interworking with erspan qc pass: cross connect interworking with etherip qc pass: cross connect interworking with sreth qc pass: cross connect interworking with nvgre qc pass: cross connect interworking with uti qc pass: cross connect interworking with dlsw qc pass: cross connect with everything qc pass: openflow: software routing qc pass: openflow: bridging and routing qc pass: openflow: ip routing qc pass: openflow: mpls routing qc pass: openflow: multicast routing qc pass: openflow: mldp routing qc pass: p4lang: copp qc pass: p4lang: ingress access list qc pass: p4lang: egress access list qc pass: p4lang: nat qc pass: p4lang: vlan ingress access list qc pass: p4lang: vlan egress access list qc pass: p4lang: bundle ingress access list qc pass: p4lang: bundle egress access list qc pass: p4lang: bundle vlan ingress access list qc pass: p4lang: bundle vlan egress access list qc pass: p4lang: bridge ingress access list qc pass: p4lang: bridge egress access list qc pass: p4lang: vlan bridge ingress access list qc pass: p4lang: vlan bridge egress access list qc pass: p4lang: ingress pppoe access list qc pass: p4lang: egress pppoe access list qc pass: p4lang: ingress vlan pppoe access list qc pass: p4lang: egress vlan pppoe access list qc pass: p4lang: hairpin ingress access list qc pass: p4lang: hairpin egress access list qc pass: p4lang: hairpin vlan ingress access list qc pass: p4lang: hairpin vlan egress access list qc pass: p4lang: hairpin pppoe ingress access list qc pass: p4lang: hairpin pppoe egress access list qc pass: p4lang: hairpin vlan pppoe ingress access list qc pass: p4lang: hairpin vlan pppoe egress access list qc pass: p4lang: ingress gre access list qc pass: p4lang: egress gre access list qc pass: p4lang: ingress vlan gre access list qc pass: p4lang: egress vlan gre access list qc pass: p4lang: ingress l2tp access list qc pass: p4lang: egress l2tp access list qc pass: p4lang: ingress vlan l2tp access list qc pass: p4lang: egress vlan l2tp access list qc pass: p4lang: ingress ipip access list qc pass: p4lang: egress ipip access list qc pass: p4lang: ingress vlan ipip access list qc pass: p4lang: egress vlan ipip access list qc pass: p4lang: ingress common access list qc pass: p4lang: egress common access list qc pass: p4lang: ingress hibryd access list qc pass: p4lang: egress hibryd access list qc pass: p4lang: ingress hierarchical access list qc pass: p4lang: egress hierarchical access list qc pass: p4lang: ingress policer qc pass: p4lang: egress policer qc pass: p4lang: vlan ingress policer qc pass: p4lang: vlan egress policer qc pass: p4lang: transmit flowspec qc pass: p4lang: drop flowspec qc pass: p4lang: policer flowspec qc pass: p4lang: priority flowspec qc pass: p4lang: macsec with des qc pass: p4lang: macsec with 3des qc pass: p4lang: macsec with aes128 qc pass: p4lang: macsec with aes192 qc pass: p4lang: macsec with aes256 qc pass: p4lang: macsec with md5 qc pass: p4lang: macsec with sha1 qc pass: p4lang: macsec with sha256 qc pass: p4lang: macsec with sha512 qc pass: p4lang: macsec over ethernet qc pass: p4lang: macsec over vlan qc pass: p4lang: macsec over bundle vlan qc pass: p4lang: macsec over gre qc pass: p4lang: macsec over pppoe qc pass: p4lang: macsec over l2tp qc pass: p4lang: macsec over hairpin qc pass: p4lang: macsec ingress access list qc pass: p4lang: macsec egress access list qc pass: p4lang: macsec vlan ingress access list qc pass: p4lang: macsec vlan egress access list qc pass: p4lang: ipsec with des qc pass: p4lang: ipsec with 3des qc pass: p4lang: ipsec with aes128 qc pass: p4lang: ipsec with aes192 qc pass: p4lang: ipsec with aes256 qc pass: p4lang: ipsec with md5 qc pass: p4lang: ipsec with sha1 qc pass: p4lang: ipsec with sha256 qc pass: p4lang: ipsec with sha512 qc pass: p4lang: ipv4 over ipsec qc pass: p4lang: ipv6 over ipsec qc pass: p4lang: ipsec over ipv4 qc pass: p4lang: ipsec over ipv6 qc pass: p4lang: ipsec over ipv4 loopback qc pass: p4lang: ipsec over ipv6 loopback qc pass: p4lang: ipsec over vlan qc pass: p4lang: ipv4 over ipsec with ingress access list qc pass: p4lang: ipv4 over ipsec with egress access list qc pass: p4lang: ipv6 over ipsec with ingress access list qc pass: p4lang: ipv6 over ipsec with egress access list qc pass: p4lang: ipsec with ike1 qc pass: p4lang: ipsec with ike2 qc pass: p4lang: openvpn with des qc pass: p4lang: openvpn with 3des qc pass: p4lang: openvpn with aes128 qc pass: p4lang: openvpn with aes192 qc pass: p4lang: openvpn with aes256 qc pass: p4lang: openvpn with md5 qc pass: p4lang: openvpn with sha1 qc pass: p4lang: openvpn with sha256 qc pass: p4lang: openvpn with sha512 qc pass: p4lang: openvpn over ipv4 qc pass: p4lang: openvpn over ipv6 qc pass: p4lang: openvpn over ipv4 loopback qc pass: p4lang: openvpn over ipv6 loopback qc pass: p4lang: openvpn over asymmetric ports qc pass: p4lang: openvpn with ingress access list qc pass: p4lang: openvpn with egress access list qc pass: p4lang: wireguard over ipv4 qc pass: p4lang: wireguard over ipv6 qc pass: p4lang: wireguard over ipv4 loopback qc pass: p4lang: wireguard over ipv6 loopback qc pass: p4lang: wireguard over vlan qc pass: p4lang: wireguard over asymmetric ports qc pass: p4lang: wireguard with ingress access list qc pass: p4lang: wireguard with egress access list qc pass: p4lang: multicast routing over macsec qc pass: p4lang: multicast routing over vlan macsec qc pass: p4lang: routing qc pass: p4lang: bridging qc pass: p4lang: mpls core qc pass: p4lang: mpls edge qc pass: p4lang: vlan routing qc pass: p4lang: vlan bridging qc pass: p4lang: vlan mpls qc pass: p4lang: vpn with bgp qc pass: p4lang: vpls/ldp with bgp qc pass: p4lang: evpn/cmac with bgp qc pass: p4lang: eompls qc pass: p4lang: vpn with bgp over srv6 qc pass: p4lang: evpn/cmac with bgp over srv6 qc pass: p4lang: bundle routing qc pass: p4lang: bundle mpls qc pass: p4lang: bundle vlan routing qc pass: p4lang: bundle vlan mpls qc pass: p4lang: bundle vlan bridging qc pass: p4lang: bridge routing qc pass: p4lang: bridge mpls qc pass: p4lang: vlan bridge routing qc pass: p4lang: vlan bridge mpls qc pass: p4lang: vlan vpls/ldp with bgp qc pass: p4lang: vlan eompls qc pass: p4lang: bundle vlan vpls/ldp with bgp qc pass: p4lang: bundle vlan eompls qc pass: p4lang: pppoe routing qc pass: p4lang: vlan pppoe routing qc pass: p4lang: pppoe mpls qc pass: p4lang: vlan pppoe mpls qc pass: p4lang: hairpin routing qc pass: p4lang: hairpin bridging qc pass: p4lang: hairpin mpls qc pass: p4lang: hairpin vlan routing qc pass: p4lang: hairpin vlan bridging qc pass: p4lang: hairpin vlan mpls qc pass: p4lang: hairpin pppoe routing qc pass: p4lang: hairpin vlan pppoe routing qc pass: p4lang: hairpin pppoe mpls qc pass: p4lang: hairpin vlan pppoe mpls qc pass: p4lang: hairpin vpls/ldp with bgp qc pass: p4lang: hairpin vlan vpls/ldp with bgp qc pass: p4lang: hairpin eompls qc pass: p4lang: hairpin vlan eompls qc pass: p4lang: vlan evpn/cmac with bgp qc pass: p4lang: bundle vlan evpn/cmac with bgp qc pass: p4lang: hairpin evpn/cmac with bgp qc pass: p4lang: hairpin vlan evpn/cmac with bgp qc pass: p4lang: gre routing over ipv4 qc pass: p4lang: gre routing over ipv6 qc pass: p4lang: gre routing over ipv4 loopback qc pass: p4lang: gre routing over ipv6 loopback qc pass: p4lang: gre routing over vlan qc pass: p4lang: gre routing over bundle qc pass: p4lang: gre routing over bundle vlan qc pass: p4lang: gre routing over hairpin qc pass: p4lang: gre routing over hairpin vlan qc pass: p4lang: gre routing over bridge qc pass: p4lang: gre routing over vlan bridge qc pass: p4lang: gre mpls over ipv4 qc pass: p4lang: gre mpls over ipv6 qc pass: p4lang: gre mpls over ipv4 loopback qc pass: p4lang: gre mpls over ipv6 loopback qc pass: p4lang: gre mpls over vlan qc pass: p4lang: gre mpls over bundle qc pass: p4lang: gre mpls over bundle vlan qc pass: p4lang: gre mpls over hairpin qc pass: p4lang: gre mpls over hairpin vlan qc pass: p4lang: gre mpls over bridge qc pass: p4lang: gre mpls over vlan bridge qc pass: p4lang: l2tp routing over ipv4 qc pass: p4lang: l2tp routing over ipv6 qc pass: p4lang: l2tp routing over ipv4 loopback qc pass: p4lang: l2tp routing over ipv6 loopback qc pass: p4lang: l2tp routing over vlan qc pass: p4lang: l2tp routing over bundle qc pass: p4lang: l2tp mpls over ipv4 qc pass: p4lang: l2tp mpls over ipv6 qc pass: p4lang: l2tp mpls over ipv4 loopback qc pass: p4lang: l2tp mpls over ipv6 loopback qc pass: p4lang: l2tp mpls over vlan qc pass: p4lang: l2tp mpls over bundle qc pass: p4lang: bridging over gre qc pass: p4lang: bridging over gre vlan qc pass: p4lang: bridging over pppoe qc pass: p4lang: bridging over pppoe vlan qc pass: p4lang: bridging over l2tp qc pass: p4lang: bridging over l2tp vlan qc pass: p4lang: vxlan over ipv4 qc pass: p4lang: vxlan over ipv6 qc pass: p4lang: vxlan over ipv4 loopback qc pass: p4lang: vxlan over ipv6 loopback qc pass: p4lang: vxlan over vlan qc pass: p4lang: vxlan over bundle qc pass: p4lang: evpn/vxlan with bgp qc pass: p4lang: vlan evpn/vxlan with bgp qc pass: p4lang: bundle vlan evpn/vxlan with bgp qc pass: p4lang: hairpin evpn/vxlan with bgp qc pass: p4lang: ipip routing over ipv4 qc pass: p4lang: ipip routing over ipv6 qc pass: p4lang: ipip routing over ipv4 loopback qc pass: p4lang: ipip routing over ipv6 loopback qc pass: p4lang: ipip routing over vlan qc pass: p4lang: ipip routing over bundle qc pass: p4lang: pckoudp over ipv4 qc pass: p4lang: pckoudp over ipv6 qc pass: p4lang: pckoudp over ipv4 loopback qc pass: p4lang: pckoudp over ipv6 loopback qc pass: p4lang: pckoudp over vlan qc pass: p4lang: pckoudp over bundle qc pass: p4lang: pckoudp server over ipv4 qc pass: p4lang: pckoudp server over ipv6 qc pass: p4lang: pckoudp server over ipv4 loopback qc pass: p4lang: pckoudp server over ipv6 loopback qc pass: p4lang: vxlan server over ipv4 qc pass: p4lang: vxlan server over ipv6 qc pass: p4lang: vxlan server over ipv4 loopback qc pass: p4lang: vxlan server over ipv6 loopback qc pass: p4lang: pppoe server routing qc pass: p4lang: vlan pppoe server routing qc pass: p4lang: pppoe server mpls qc pass: p4lang: vlan pppoe server mpls qc pass: p4lang: l2tp server routing qc pass: p4lang: vlan l2tp server routing qc pass: p4lang: l2tp server mpls qc pass: p4lang: vlan l2tp server mpls qc pass: p4lang: p2p ldp tail+head qc pass: p4lang: p2p ldp mid qc pass: p4lang: p2p te tail+head qc pass: p4lang: p2p te mid qc pass: p4lang: sr te over mpls tail+head qc pass: p4lang: sr te over mpls mid qc pass: p4lang: policy routing between vrfs qc pass: p4lang: policy routing with nexthop qc pass: p4lang: policy routing with interface and nexthop qc pass: p4lang: multicast routing qc pass: p4lang: multicast vlan routing qc pass: p4lang: multicast bundle routing qc pass: p4lang: multicast bundle vlan routing qc pass: p4lang: hairpin multicast routing qc pass: p4lang: hairpin vlan multicast routing qc pass: p4lang: mldp core qc pass: p4lang: mldp vlan core qc pass: p4lang: mldp core over gre qc pass: p4lang: mldp core over l2tp qc pass: p4lang: mldp bundle core qc pass: p4lang: mldp bundle vlan core qc pass: p4lang: hairpin mldp core qc pass: p4lang: hairpin vlan mldp core qc pass: p4lang: mldp egress edge qc pass: p4lang: mldp vlan egress edge qc pass: p4lang: mldp ingress edge qc pass: p4lang: mldp vlan ingress edge qc pass: p4lang: mldp core and egress edge qc pass: p4lang: vlan mldp core and egress edge qc pass: p4lang: bier core qc pass: p4lang: bier vlan core qc pass: p4lang: bier core over gre qc pass: p4lang: bier core over l2tp qc pass: p4lang: bier bundle core qc pass: p4lang: bier bundle vlan core qc pass: p4lang: hairpin bier core qc pass: p4lang: hairpin vlan bier core qc pass: p4lang: bier egress edge qc pass: p4lang: bier vlan egress edge qc pass: p4lang: bier ingress edge qc pass: p4lang: bier vlan ingress edge qc pass: p4lang: bier core and egress edge qc pass: p4lang: vlan bier core and egress edge qc pass: qos ingress transmit action qc pass: qos egress transmit action qc pass: qos ingress drop action qc pass: qos egress drop action qc pass: qos ingress policer action qc pass: qos egress policer action qc pass: qos ingress priority action qc pass: qos egress priority action qc pass: qos ingress bandwidth action qc pass: qos egress bandwidth action qc pass: qos ingress shaper action qc pass: qos egress shaper action qc pass: qos ingress hierarchical action qc pass: qos egress hierarchical action qc pass: qos ingress transmit copp qc pass: qos egress transmit copp qc pass: qos ingress drop copp qc pass: qos egress drop copp qc pass: qos ingress policer copp qc pass: qos egress policer copp qc pass: qos transmit dapp qc pass: qos drop dapp qc pass: qos policer dapp qc pass: qos priority dapp qc pass: qos transmit flowspec qc pass: qos drop flowspec qc pass: qos policer flowspec qc pass: qos priority flowspec qc pass: qos transmit otherflowspec qc pass: qos drop otherflowspec qc pass: qos policer otherflowspec qc pass: qos priority otherflowspec qc pass: qos ingress length matcher qc pass: qos egress length matcher qc pass: qos ingress tos matcher qc pass: qos egress tos matcher qc pass: qos ingress dscp matcher qc pass: qos egress dscp matcher qc pass: qos ingress prec matcher qc pass: qos egress prec matcher qc pass: qos ingress acl matcher qc pass: qos egress acl matcher qc pass: qos ingress ethertype matcher qc pass: qos egress ethertype matcher qc pass: qos ingress matcher on bridged traffic qc pass: qos egress matcher on bridged traffic qc pass: qos ingress ttl matcher qc pass: qos egress ttl matcher qc pass: qos ingress qosgroup set qc pass: qos ingress tos set qc pass: qos egress tos set qc pass: qos ingress dscp set qc pass: qos egress dscp set qc pass: qos ingress prec set qc pass: qos egress prec set qc pass: qos cos set qc pass: qos ingress exp set qc pass: qos egress exp set qc pass: qos ingress ttl set qc pass: qos egress ttl set qc pass: babel on one subnet qc pass: babel in chain qc pass: babel ingress route filtering with prefixlist qc pass: babel egress route filtering with prefixlist qc pass: babel ingress route filtering with routemap qc pass: babel egress route filtering with routemap qc pass: babel ingress route filtering with routepolicy qc pass: babel egress route filtering with routepolicy qc pass: babel max metric qc pass: babel address suppression qc pass: babel default route qc pass: babel incoming interface metric qc pass: babel outgoing interface metric qc pass: babel incoming metric with routemap qc pass: babel outgoing metric with routemap qc pass: babel incoming metric with routepolicy qc pass: babel outgoing metric with routepolicy qc pass: babel with bfd qc pass: babel peer template qc pass: babel prefix withdraw qc pass: babel aggregation qc pass: babel auto mesh tunnel qc pass: babel triangle connection qc pass: babel autoroute qc pass: babel over point2point ethernet qc pass: babel ecmp connection qc pass: ebgp in chain qc pass: confed bgp in chain qc pass: ibgp in chain qc pass: ebgp in subnet qc pass: confed bgp in subnet qc pass: ibgp in subnet qc pass: ibgp fullmesh in subnet qc pass: ibgp rr in subnet qc pass: ebgp over loopback qc pass: ibgp over loopback qc pass: ibgp with mpls qc pass: ebgp with long as number qc pass: ibgp with long as number qc pass: bgp default route qc pass: bgp ingress route filtering with prefixlist qc pass: bgp egress route filtering with prefixlist qc pass: bgp ingress route filtering with routemap qc pass: bgp egress route filtering with routemap qc pass: bgp routemap filtering with locpref qc pass: bgp routemap filtering with origin qc pass: bgp routemap filtering with metric qc pass: bgp routemap filtering with standard community qc pass: bgp routemap filtering with aspath qc pass: bgp locpref qc pass: bgp aspath qc pass: bgp origin qc pass: bgp metric qc pass: bgp locpref vs aspath qc pass: bgp aspath vs origin qc pass: bgp origin vs metric qc pass: bgp routemap filtering with extended community qc pass: ebgp with labels qc pass: ibgp with labels qc pass: ebgp with bfd qc pass: vpns over ebgp qc pass: vpns over ibgp qc pass: bgp route server qc pass: bgp enforce first as qc pass: bgp aspath check qc pass: bgp allow as in qc pass: bgp remove private as out qc pass: bgp override as out qc pass: bgp nexthop self qc pass: bgp nexthop peer qc pass: vpls/ldp over ebgp qc pass: vpls/ldp over ibgp qc pass: bgp peer template qc pass: bgp listen qc pass: ebgp password qc pass: bgp routemap filtering with aigp qc pass: bgp routemap filtering with bandwidth qc pass: bgp rpki qc pass: bgp additional path qc pass: bgp additional path with labels qc pass: vpns over bgp additional path qc pass: vpls/ldp over bgp additional path qc pass: bgp nexthop unchanged qc pass: bgp remove private as in qc pass: bgp override as in qc pass: ebgp with nexthop tracking routemap qc pass: ibgp with nexthop tracking routemap qc pass: vpns over ibgp rr qc pass: vpls/ldp over ibgp rr qc pass: bgp clustlist qc pass: bgp metric vs clustlist qc pass: bgp distance qc pass: bgp distance vs locpref qc pass: ebgp in chain with soft-reconfig qc pass: confed bgp in chain with soft-reconfig qc pass: ibgp in chain with soft-reconfig qc pass: ibgp rr in subnet with soft-reconfig qc pass: bgp ingress route filtering with prefixlist with soft-reconfig qc pass: bgp egress route filtering with prefixlist with soft-reconfig qc pass: bgp ingress route filtering with routemap with soft-reconfig qc pass: bgp egress route filtering with routemap with soft-reconfig qc pass: bgp routemap filtering with locpref with soft-reconfig qc pass: bgp routemap filtering with origin with soft-reconfig qc pass: bgp routemap filtering with metric with soft-reconfig qc pass: bgp routemap filtering with standard community with soft-reconfig qc pass: bgp routemap filtering with aspath with soft-reconfig qc pass: bgp locpref with soft-reconfig qc pass: bgp aspath with soft-reconfig qc pass: bgp origin with soft-reconfig qc pass: bgp metric with soft-reconfig qc pass: bgp locpref vs aspath with soft-reconfig qc pass: bgp aspath vs origin with soft-reconfig qc pass: bgp origin vs metric with soft-reconfig qc pass: bgp routemap filtering with extended community with soft-reconfig qc pass: bgp clustlist with soft-reconfig qc pass: bgp metric vs clustlist with soft-reconfig qc pass: bgp distance with soft-reconfig qc pass: bgp distance vs locpref with soft-reconfig qc pass: bgp routemap filtering with aigp with soft-reconfig qc pass: bgp routemap filtering with bandwidth with soft-reconfig qc pass: bgp with a lot prefix qc pass: ebgp prefix withdraw qc pass: confed bgp prefix withdraw qc pass: ibgp prefix withdraw qc pass: ibgp fullmesh prefix withdraw qc pass: ibgp rr prefix withdraw qc pass: ebgp prefix withdraw with soft-reconfig qc pass: confed bgp prefix withdraw with soft-reconfig qc pass: ibgp prefix withdraw with soft-reconfig qc pass: ibgp fullmesh prefix withdraw with soft-reconfig qc pass: ibgp rr prefix withdraw with soft-reconfig qc pass: vpns over confed bgp qc pass: vpls/ldp over confed bgp qc pass: vpns over bgp route server qc pass: vpls/ldp over bgp route server qc pass: bgp route server with soft-reconfig qc pass: bgp route server prefix withdraw qc pass: bgp route server prefix withdraw with soft-reconfig qc pass: multisite vpns over ibgp rr qc pass: multisite vpls/ldp over ibgp rr qc pass: bgp change in locpref qc pass: bgp change in aspath qc pass: bgp change in origin qc pass: bgp change in metric qc pass: bgp change in aigp qc pass: bgp change in bandwidth qc pass: bgp change in standard community qc pass: bgp change in extended community qc pass: bgp change in locpref with soft-reconfig qc pass: bgp change in aspath with soft-reconfig qc pass: bgp change in origin with soft-reconfig qc pass: bgp change in metric with soft-reconfig qc pass: bgp change in aigp with soft-reconfig qc pass: bgp change in bandwidth with soft-reconfig qc pass: bgp change in standard community with soft-reconfig qc pass: bgp change in extended community with soft-reconfig qc pass: bgp aggregation qc pass: bgp maximum prefix qc pass: evpn/pbb over ebgp qc pass: evpn/pbb over ibgp qc pass: evpn/pbb over bgp additional path qc pass: evpn/pbb over ibgp rr qc pass: evpn/pbb over confed bgp qc pass: evpn/pbb over bgp route server qc pass: multisite evpn/pbb over ibgp rr qc pass: ethersite vpls/ldp over ibgp qc pass: ethersite evpn/pbb over ibgp qc pass: ethersite vpns over ibgp qc pass: vpns over bgp with soft-reconfig qc pass: vpls/ldp over bgp with soft-reconfig qc pass: evpn/pbb over bgp with soft-reconfig qc pass: unicast+vpns over bgp qc pass: unicast+vpls/ldp over bgp qc pass: unicast+evpn/pbb over bgp qc pass: unicast+vpns over bgp with soft-reconfig qc pass: unicast+vpls/ldp over bgp with soft-reconfig qc pass: unicast+evpn/pbb over bgp with soft-reconfig qc pass: unicast+vpns over bgp additional path qc pass: unicast+vpls/ldp over bgp additional path qc pass: unicast+evpn/pbb over bgp additional path qc pass: bgp auto mesh tunnel qc pass: vpns over bgp auto mesh tunnel qc pass: vpls/ldp over bgp auto mesh tunnel qc pass: evpn/pbb over bgp auto mesh tunnel qc pass: vpls/bgp over ebgp qc pass: vpls/bgp over ibgp qc pass: vpls/bgp over bgp additional path qc pass: vpls/bgp over ibgp rr qc pass: vpls/bgp over confed bgp qc pass: vpls/bgp over bgp route server qc pass: multisite vpls/bgp over ibgp rr qc pass: ethersite vpls/bgp over ibgp qc pass: vpls/bgp over bgp with soft-reconfig qc pass: unicast+vpls/bgp over bgp qc pass: unicast+vpls/bgp over bgp with soft-reconfig qc pass: unicast+vpls/bgp over bgp additional path qc pass: vpls/bgp over bgp auto mesh tunnel qc pass: vpls/ldp+vpls/bgp over bgp qc pass: ibgp conquer rr in subnet qc pass: ibgp conquer rr in subnet with soft-reconfig qc pass: ibgp conquer rr prefix withdraw qc pass: ibgp conquer rr prefix withdraw with soft-reconfig qc pass: unicast+vpnmul over bgp qc pass: unicast+mdt over bgp qc pass: unicast+flowspec over bgp qc pass: unicast+flowspecvpn over bgp qc pass: unicast+vpnmul over bgp with soft-reconfig qc pass: unicast+mdt over bgp with soft-reconfig qc pass: unicast+flowspec over bgp with soft-reconfig qc pass: unicast+flowspecvpn over bgp with soft-reconfig qc pass: unicast+vpnmul over bgp with additional path qc pass: unicast+mdt over bgp with additional path qc pass: unicast+flowspec over bgp with additional path qc pass: unicast+flowspecvpn over bgp with additional path qc pass: evpn/vxlan over ebgp qc pass: evpn/vxlan over ibgp qc pass: evpn/vxlan over bgp additional path qc pass: evpn/vxlan over ibgp rr qc pass: evpn/vxlan over confed bgp qc pass: evpn/vxlan over bgp route server qc pass: multisite evpn/vxlan over ibgp rr qc pass: ethersite evpn/vxlan over ibgp qc pass: evpn/vxlan over bgp with soft-reconfig qc pass: unicast+evpn/vxlan over bgp qc pass: unicast+evpn/vxlan over bgp with soft-reconfig qc pass: unicast+evpn/vxlan over bgp additional path qc pass: evpn/vxlan over bgp auto mesh tunnel qc pass: evpn/pbb+vpls/vxlan over ebgp qc pass: evpn/cmac over ebgp qc pass: evpn/cmac over ibgp qc pass: evpn/cmac over bgp additional path qc pass: evpn/cmac over ibgp rr qc pass: evpn/cmac over confed bgp qc pass: evpn/cmac over bgp route server qc pass: multisite evpn/cmac over ibgp rr qc pass: ethersite evpn/cmac over ibgp qc pass: evpn/cmac over bgp with soft-reconfig qc pass: unicast+evpn/cmac over bgp qc pass: unicast+evpn/cmac over bgp with soft-reconfig qc pass: unicast+evpn/cmac over bgp additional path qc pass: evpn/cmac over bgp auto mesh tunnel qc pass: evpn/pbb+vpls/cmac over ebgp qc pass: ibgp with ttl-security qc pass: ebgp with ttl-security qc pass: bgp routemap filtering with large community qc pass: bgp routemap filtering with large community with soft-reconfig qc pass: bgp change in large community qc pass: bgp change in large community with soft-reconfig qc pass: bgp triangle connection qc pass: bgp routemap filtering with aspath length qc pass: bgp routepolicy filtering with aspath length qc pass: bgp routemap filtering with aspath length with soft-reconfig qc pass: bgp routepolicy filtering with aspath length with soft-reconfig qc pass: bgp ingress route filtering with routepolicy qc pass: bgp egress route filtering with routepolicy qc pass: bgp routepolicy filtering with locpref qc pass: bgp routepolicy filtering with origin qc pass: bgp routepolicy filtering with metric qc pass: bgp routepolicy filtering with aspath qc pass: bgp routepolicy filtering with extended community qc pass: bgp routepolicy filtering with aigp qc pass: bgp routepolicy filtering with bandwidth qc pass: bgp ingress route filtering with routepolicy with soft-reconfig qc pass: bgp egress route filtering with routepolicy with soft-reconfig qc pass: bgp routepolicy filtering with locpref with soft-reconfig qc pass: bgp routepolicy filtering with origin with soft-reconfig qc pass: bgp routepolicy filtering with metric with soft-reconfig qc pass: bgp routepolicy filtering with standard community with soft-reconfig qc pass: bgp routepolicy filtering with aspath with soft-reconfig qc pass: bgp routepolicy filtering with extended community with soft-reconfig qc pass: bgp routepolicy filtering with aigp with soft-reconfig qc pass: bgp routepolicy filtering with bandwidth with soft-reconfig qc pass: bgp routepolicy filtering with large community qc pass: bgp routepolicy filtering with large community with soft-reconfig qc pass: ebgp with nexthop tracking routepolicy qc pass: ibgp with nexthop tracking routepolicy qc pass: othervpns over ebgp qc pass: othervpns over ibgp qc pass: othervpns over bgp additional path qc pass: othervpns over ibgp rr qc pass: othervpns over confed bgp qc pass: othervpns over bgp route server qc pass: multisite othervpns over ibgp rr qc pass: ethersite othervpns over ibgp qc pass: othervpns over bgp with soft-reconfig qc pass: unicast+othervpns over bgp qc pass: unicast+othervpns over bgp with soft-reconfig qc pass: unicast+othervpns over bgp additional path qc pass: othervpns over bgp auto mesh tunnel qc pass: unicast+mvpn over bgp qc pass: unicast+mvpn over bgp with soft-reconfig qc pass: unicast+mvpn over bgp with additional path qc pass: unicast+othermvpn over bgp qc pass: unicast+othermvpn over bgp with soft-reconfig qc pass: unicast+othermvpn over bgp with additional path qc pass: unicast+otherflowspecvpn over bgp qc pass: unicast+otherflowspecvpn over bgp with soft-reconfig qc pass: unicast+otherflowspecvpn over bgp with additional path qc pass: unicast+othervpnmul over bgp qc pass: unicast+othervpnmul over bgp with soft-reconfig qc pass: unicast+othervpnmul over bgp with additional path qc pass: unicast+multicast over bgp qc pass: unicast+multicast over bgp with soft-reconfig qc pass: unicast+multicast over bgp with additional path qc pass: bgp csc vpn qc pass: unicast+olab over ebgp qc pass: unicast+olab over bgp with soft-reconfig qc pass: unicast+olab over bgp with additional path qc pass: ebgp prefix movement qc pass: confed bgp prefix movement qc pass: ibgp rr prefix movement qc pass: bgp route server prefix movement qc pass: ibgp conquer rr prefix movement qc pass: ibgp fullmesh prefix movement qc pass: ebgp prefix movement with soft-reconfig qc pass: confed bgp prefix movement with soft-reconfig qc pass: ibgp rr prefix movement with soft-reconfig qc pass: bgp route server prefix movement with soft-reconfig qc pass: ibgp conquer rr prefix movement with soft-reconfig qc pass: ibgp fullmesh prefix movement with soft-reconfig qc pass: bgp csc othervpn qc pass: bgp prefix hammering qc pass: bgp csc vpn with ldp qc pass: bgp csc othervpn with ldp qc pass: unicast+mspw over bgp qc pass: unicast+mspw over bgp with soft-reconfig qc pass: unicast+mspw over bgp with additional path qc pass: bgp with sr qc pass: ebgp vpn client qc pass: ibgp vpn client qc pass: ebgp vpn client with soft-reconfig qc pass: ibgp vpn client with soft-reconfig qc pass: bgp symmetric compression qc pass: bgp asymmetric compression qc pass: bgp none compression qc pass: bgp prefix packing qc pass: ebgp with nexthop tracking interface qc pass: ibgp with nexthop tracking interface qc pass: bgp with bier qc pass: bgp routemap filtering with rd qc pass: bgp routepolicy filtering with rd qc pass: bgp routemap filtering with rd with soft-reconfig qc pass: bgp routepolicy filtering with rd with soft-reconfig qc pass: bgp routemap filtering with afi qc pass: bgp routepolicy filtering with afi qc pass: bgp routemap filtering with afi with soft-reconfig qc pass: bgp routepolicy filtering with afi with soft-reconfig qc pass: bgp hard reset qc pass: bgp hard reset with soft-reconfig qc pass: bgp soft in reset qc pass: bgp soft in reset with soft-reconfig qc pass: bgp soft out reset qc pass: bgp soft out reset with soft-reconfig qc pass: unicast+srte over bgp qc pass: unicast+srte over bgp with soft-reconfig qc pass: unicast+srte over bgp with additional path qc pass: bgp interas vpn with asbr peering qc pass: bgp interas vpn with rr peering qc pass: bgp interas othervpn with asbr peering qc pass: bgp interas othervpn with rr peering qc pass: bgp interas csc vpn with asbr peering qc pass: bgp interas csc vpn with rr peering qc pass: bgp dual core vpn qc pass: bgp dual core csc vpn qc pass: bgp hub and spoke vpn multiple rt import qc pass: bgp hub and spoke vpn multiple rt export qc pass: bgp vpn with export list qc pass: bgp vpn with import list qc pass: bgp vpn with export map qc pass: bgp vpn with import map qc pass: bgp vpn with export policy qc pass: bgp vpn with import policy qc pass: vpns over srv6 over ibgp qc pass: evpn/pbb over srv6 over ibgp qc pass: evpn/cmac over srv6 over ibgp qc pass: unicast+olab over ibgp qc pass: unicast+olab over ibgp rr qc pass: unicast+olab over confed bgp qc pass: unicast+olab over bgp route server qc pass: olab over srv6 over ibgp qc pass: vpns over srv6 over ebgp qc pass: evpn/pbb over srv6 over ebgp qc pass: evpn/cmac over srv6 over ebgp qc pass: olab over srv6 over ebgp qc pass: vpns over srv6 over ibgp rr qc pass: evpn/pbb over srv6 over ibgp rr qc pass: evpn/cmac over srv6 over ibgp rr qc pass: olab over srv6 over ibgp rr qc pass: vpns over srv6 over confed bgp qc pass: evpn/pbb over srv6 over confed bgp qc pass: evpn/cmac over srv6 over confed bgp qc pass: olab over srv6 over confed bgp qc pass: vpns over srv6 over bgp route server qc pass: evpn/pbb over srv6 over bgp route server qc pass: evpn/cmac over srv6 over bgp route server qc pass: olab over srv6 over bgp route server qc pass: vpns over srv6 over bgp with soft-reconfig qc pass: evpn/pbb over srv6 over bgp with soft-reconfig qc pass: evpn/cmac over srv6 over bgp with soft-reconfig qc pass: olab over srv6 over bgp with soft-reconfig qc pass: vpns over srv6 over bgp additional path qc pass: evpn/pbb over srv6 over bgp additional path qc pass: evpn/cmac over srv6 over bgp additional path qc pass: olab over srv6 over bgp additional path qc pass: evpn/vpws over ebgp qc pass: evpn/vpws over ibgp qc pass: evpn/vpws over bgp additional path qc pass: evpn/vpws over ibgp rr qc pass: evpn/vpws over confed bgp qc pass: evpn/vpws over bgp route server qc pass: ethersite evpn/vpws over ibgp qc pass: evpn/vpws over bgp with soft-reconfig qc pass: unicast+evpn/vpws over bgp qc pass: unicast+evpn/vpws over bgp with soft-reconfig qc pass: unicast+evpn/vpws over bgp additional path qc pass: evpn/vpws over bgp auto mesh tunnel qc pass: evpn/vpws over srv6 over ibgp qc pass: evpn/vpws over srv6 over ebgp qc pass: evpn/vpws over srv6 over ibgp rr qc pass: evpn/vpws over srv6 over confed bgp qc pass: evpn/vpws over srv6 over bgp route server qc pass: evpn/vpws over srv6 over bgp with soft-reconfig qc pass: evpn/vpws over srv6 over bgp additional path qc pass: unified mpls with ldp qc pass: unified mpls with sr qc pass: ebgp with php labels qc pass: ibgp with php labels qc pass: bgp additional path with php labels qc pass: ibgp rr with labels qc pass: confed bgp with labels qc pass: bgp route server with labels qc pass: bgp soft-reconfig with labels qc pass: bgp remove private as in with routemap qc pass: bgp remove private as out with routemap qc pass: bgp remove private as in with routepolicy qc pass: bgp remove private as out with routepolicy qc pass: bgp with srgb sr qc pass: bgp over point2point ethernet qc pass: bgp ecmp connection qc pass: bgp routemap filtering with peer asn qc pass: bgp routepolicy filtering with peer asn qc pass: bgp routemap filtering with peer asn with soft-reconfig qc pass: bgp routepolicy filtering with peer asn with soft-reconfig qc pass: bgp routemap filtering with peer standard community qc pass: bgp routepolicy filtering with peer standard community qc pass: bgp routemap filtering with peer standard community with soft-reconfig qc pass: bgp routepolicy filtering with peer standard community with soft-reconfig qc pass: bgp routemap filtering with peer large community qc pass: bgp routepolicy filtering with peer large community qc pass: bgp routemap filtering with peer large community with soft-reconfig qc pass: bgp routepolicy filtering with peer large community with soft-reconfig qc pass: unicast+linkstate over bgp qc pass: unicast+linkstate over bgp with soft-reconfig qc pass: unicast+linkstate over bgp with additional path qc pass: unicast+ouni over ebgp qc pass: unicast+ouni over bgp with soft-reconfig qc pass: unicast+ouni over bgp with additional path qc pass: unicast+ouni over ibgp qc pass: unicast+ouni over ibgp rr qc pass: unicast+ouni over confed bgp qc pass: unicast+ouni over bgp route server qc pass: unicast+omul over bgp qc pass: unicast+omul over bgp with soft-reconfig qc pass: unicast+omul over bgp with additional path qc pass: unicast+oflw over bgp qc pass: unicast+oflw over bgp with soft-reconfig qc pass: unicast+oflw over bgp with additional path qc pass: unicast+osrt over bgp qc pass: unicast+osrt over bgp with soft-reconfig qc pass: unicast+osrt over bgp with additional path qc pass: ouni bgp ingress route filtering with prefixlist qc pass: ouni bgp egress route filtering with prefixlist qc pass: ouni bgp ingress route filtering with routemap qc pass: ouni bgp egress route filtering with routemap qc pass: ouni bgp ingress route filtering with prefixlist with soft-reconfig qc pass: ouni bgp egress route filtering with prefixlist with soft-reconfig qc pass: ouni bgp ingress route filtering with routemap with soft-reconfig qc pass: ouni bgp egress route filtering with routemap with soft-reconfig qc pass: ouni bgp ingress route filtering with routepolicy qc pass: ouni bgp egress route filtering with routepolicy qc pass: ouni bgp ingress route filtering with routepolicy with soft-reconfig qc pass: ouni bgp egress route filtering with routepolicy with soft-reconfig qc pass: ouni bgp default route qc pass: vpns with default route qc pass: olab bgp default route qc pass: othervpns with default route qc pass: vpns ingress route filtering with routemap qc pass: vpns egress route filtering with routemap qc pass: vpns ingress route filtering with routemap with soft-reconfig qc pass: vpns egress route filtering with routemap with soft-reconfig qc pass: vpns ingress route filtering with routepolicy qc pass: vpns egress route filtering with routepolicy qc pass: vpns ingress route filtering with routepolicy with soft-reconfig qc pass: vpns egress route filtering with routepolicy with soft-reconfig qc pass: othervpns ingress route filtering with routemap qc pass: othervpns egress route filtering with routemap qc pass: othervpns ingress route filtering with routemap with soft-reconfig qc pass: othervpns egress route filtering with routemap with soft-reconfig qc pass: othervpns ingress route filtering with routepolicy qc pass: othervpns egress route filtering with routepolicy qc pass: othervpns ingress route filtering with routepolicy with soft-reconfig qc pass: othervpns egress route filtering with routepolicy with soft-reconfig qc pass: labels bgp ingress route filtering with prefixlist qc pass: labels bgp egress route filtering with prefixlist qc pass: labels bgp ingress route filtering with routemap qc pass: labels bgp ingress route filtering with routemap qc pass: labels bgp egress route filtering with routemap qc pass: labels bgp ingress route filtering with prefixlist with soft-reconfig qc pass: labels bgp egress route filtering with prefixlist with soft-reconfig qc pass: labels bgp ingress route filtering with routemap with soft-reconfig qc pass: labels bgp egress route filtering with routemap with soft-reconfig qc pass: labels bgp ingress route filtering with routepolicy qc pass: labels bgp egress route filtering with routepolicy qc pass: labels bgp ingress route filtering with routepolicy with soft-reconfig qc pass: labels bgp egress route filtering with routepolicy with soft-reconfig qc pass: labels bgp default route qc pass: olab bgp ingress route filtering with prefixlist qc pass: olab bgp egress route filtering with prefixlist qc pass: olab bgp ingress route filtering with routemap qc pass: olab bgp ingress route filtering with routemap qc pass: olab bgp egress route filtering with routemap qc pass: olab bgp ingress route filtering with prefixlist with soft-reconfig qc pass: olab bgp egress route filtering with prefixlist with soft-reconfig qc pass: olab bgp ingress route filtering with routemap with soft-reconfig qc pass: olab bgp egress route filtering with routemap with soft-reconfig qc pass: olab bgp ingress route filtering with routepolicy qc pass: olab bgp egress route filtering with routepolicy qc pass: olab bgp ingress route filtering with routepolicy with soft-reconfig qc pass: olab bgp egress route filtering with routepolicy with soft-reconfig qc pass: labels bgp aggregation qc pass: olab bgp aggregation qc pass: ouni bgp aggregation qc pass: bgp vpns aggregation qc pass: bgp othervpns aggregation qc pass: eigrp point2point connection qc pass: eigrp point2multipoint connection qc pass: eigrp point2point chain qc pass: eigrp ingress delay qc pass: eigrp egress delay qc pass: eigrp address suppression qc pass: eigrp ingress route filtering with prefixlist qc pass: eigrp egress route filtering with prefixlist qc pass: eigrp ingress route filtering with routemap qc pass: eigrp egress route filtering with routemap qc pass: eigrp ingress route filtering with routepolicy qc pass: eigrp egress route filtering with routepolicy qc pass: eigrp default route qc pass: eigrp with bfd qc pass: eigrp peer template qc pass: eigrp prefix withdraw qc pass: eigrp aggregation qc pass: eigrp auto mesh tunnel qc pass: eigrp stub qc pass: eigrp triangle connection qc pass: eigrp autoroute qc pass: eigrp over point2point ethernet qc pass: eigrp ecmp connection qc pass: isis over ethernet qc pass: isis over ethernet vlan qc pass: isis over ethernet bridge qc pass: isis over hdlc qc pass: isis over ppp qc pass: isis over framerelay qc pass: isis over atmdxi qc pass: isis over gre qc pass: isis narrow metric qc pass: isis overload qc pass: isis attached qc pass: isis chain of broadcast nets qc pass: isis broadcast subnet qc pass: isis updown bit qc pass: isis updown bit with narrow metric qc pass: isis address suppression qc pass: isis inter-level routes qc pass: isis authentication qc pass: isis intra level metric qc pass: isis external metric qc pass: isis external narrow metric qc pass: isis external metric vs intra level metric qc pass: isis inter level ingress filtering with prefixlist qc pass: isis inter level egress filtering with prefixlist qc pass: isis inter level ingress filtering with routemap qc pass: isis inter level egress filtering with routemap qc pass: isis inter level ingress filtering with routepolicy qc pass: isis inter level egress filtering with routepolicy qc pass: isis default route qc pass: isis with bfd qc pass: isis with te qc pass: isis peer template qc pass: isis chain of broadcast nets with narrow metric qc pass: isis broadcast subnet with narrow metric qc pass: isis multi-topology qc pass: isis updown bit with multi-topology qc pass: isis external multi-topology qc pass: isis multi-topology with te qc pass: isis chain of broadcast nets with multi-topology qc pass: isis broadcast subnet with multi-topology qc pass: isis with sr qc pass: isis inter-level with sr qc pass: isis multi-topology with sr qc pass: isis prefix withdraw qc pass: isis change in metric qc pass: isis aggregate qc pass: isis auto mesh tunnel qc pass: isis triangle connection qc pass: isis prefix movement qc pass: isis with bier qc pass: isis inter-level with bier qc pass: isis multi-topology with bier qc pass: isis autoroute qc pass: isis lsp authentication qc pass: isis change in tag qc pass: isis multi-topology change in tag qc pass: isis with php sr qc pass: isis with srgb sr qc pass: isis over point2point ethernet qc pass: isis with bidir check qc pass: isis narrow metric with bidir check qc pass: isis chain of broadcast nets with bidir check qc pass: isis multi-topology with bidir check qc pass: isis ecmp connection qc pass: isis with bgp linkstate qc pass: integrated isis over ethernet qc pass: integrated isis over hdlc qc pass: integrated isis over gre qc pass: integrated isis narrow metric qc pass: integrated isis attached qc pass: integrated isis chain of broadcast nets qc pass: integrated isis broadcast subnet qc pass: integrated isis address suppression qc pass: integrated isis inter-level routes qc pass: integrated isis inter level ingress filtering with prefixlist qc pass: integrated isis inter level egress filtering with prefixlist qc pass: integrated isis inter level ingress filtering with routemap qc pass: integrated isis inter level egress filtering with routemap qc pass: integrated isis inter level ingress filtering with routepolicy qc pass: integrated isis inter level egress filtering with routepolicy qc pass: integrated isis default route qc pass: integrated isis multi-topology qc pass: integrated isis with sr qc pass: integrated isis inter-level with sr qc pass: integrated isis multi-topology with sr qc pass: integrated isis prefix withdraw qc pass: integrated isis change in metric qc pass: integrated isis aggregate qc pass: integrated isis prefix movement qc pass: integrated isis with bier qc pass: integrated isis inter-level with bier qc pass: integrated isis multi-topology with bier qc pass: integrated isis change in tag qc pass: integrated isis with php sr qc pass: integrated isis over point2point ethernet qc pass: integrated isis ecmp connection qc pass: asymmetric integrated isis qc pass: lsrp point2point connection qc pass: lsrp point2multipoint connection qc pass: lsrp point2point chain qc pass: lsrp metric qc pass: lsrp address suppression qc pass: lsrp route filtering with prefixlist qc pass: lsrp route filtering with routemap qc pass: lsrp route filtering with routepolicy qc pass: lsrp tag qc pass: lsrp default route qc pass: lsrp with bfd qc pass: lsrp authentication qc pass: lsrp ssh encryption qc pass: lsrp tls encryption qc pass: lsrp peer template qc pass: lsrp with sr qc pass: lsrp prefix withdraw qc pass: lsrp change in metric qc pass: lsrp change in tag qc pass: lsrp auto mesh tunnel qc pass: lsrp triangle connection qc pass: lsrp prefix movement qc pass: lsrp with bier qc pass: lsrp autoroute qc pass: lsrp stub node qc pass: lsrp stub interface qc pass: lsrp unstub interface qc pass: lsrp default address suppression qc pass: lsrp address unsuppression qc pass: lsrp with php sr qc pass: lsrp with srgb sr qc pass: lsrp over point2point ethernet qc pass: lsrp with selective sr qc pass: lsrp with selective bier qc pass: lsrp peer metric qc pass: lsrp point2point connection with bidir check qc pass: lsrp point2multipoint connection with bidir check qc pass: lsrp ecmp connection qc pass: lsrp with bgp linkstate qc pass: multicast routing with static flooding qc pass: multicast routing with pim ssm qc pass: multicast routing with igmp/mld qc pass: multicast routing with mldp qc pass: multicast between pim and mldp qc pass: multicast vpn routing with mldp qc pass: multicast vpn between pim and mldp qc pass: multicast othervpn routing with mldp qc pass: multicast othervpn between pim and mldp qc pass: multicast routing ttl treshold qc pass: multicast routing decoupled from unicast qc pass: multicast routing with pim join source qc pass: multicast routing with pim over bier qc pass: multicast between pim and pim over bier qc pass: multicast routing with pim snooping qc pass: multicast routing with igmp/mld snooping qc pass: olsr on one subnet qc pass: olsr in chain qc pass: olsr ingress route filtering with prefixlist qc pass: olsr egress route filtering with prefixlist qc pass: olsr ingress route filtering with routemap qc pass: olsr egress route filtering with routemap qc pass: olsr ingress route filtering with routepolicy qc pass: olsr egress route filtering with routepolicy qc pass: olsr max metric qc pass: olsr address suppression qc pass: olsr default route qc pass: olsr incoming interface metric qc pass: olsr outgoing interface metric qc pass: olsr incoming metric with routemap qc pass: olsr outgoing metric with routemap qc pass: olsr incoming metric with routepolicy qc pass: olsr outgoing metric with routepolicy qc pass: olsr with bfd qc pass: olsr peer template qc pass: olsr prefix withdraw qc pass: olsr aggregation qc pass: olsr auto mesh tunnel qc pass: olsr triangle connection qc pass: olsr autoroute qc pass: olsr over point2point ethernet qc pass: olsr ecmp connection qc pass: ospf point2point connection qc pass: ospf point2multipoint connection qc pass: ospf point2multipoint nonbroadcast connection qc pass: ospf broadcast connection qc pass: ospf nonbroadcast connection qc pass: ospf point2point chain qc pass: ospf broadcast chain qc pass: ospf stub area qc pass: ospf nssa area qc pass: ospf transit area qc pass: ospf intra area metric qc pass: ospf intra area vs inter area qc pass: ospf inter area vs external qc pass: ospf external1 vs external2 qc pass: ospf external1 metric qc pass: ospf external2 metric qc pass: ospf address suppression qc pass: ospf authentication qc pass: ospf inter area ingress filtering with prefixlist qc pass: ospf inter area ingress filtering with routemap qc pass: ospf inter area egress filtering with prefixlist qc pass: ospf inter area egress filtering with routemap qc pass: ospf inter area ingress filtering with routepolicy qc pass: ospf inter area egress filtering with routepolicy qc pass: ospf default route qc pass: ospf with bfd qc pass: ospf with te qc pass: ospf peer template qc pass: ospf with sr qc pass: ospf transit area with sr qc pass: ospf prefix withdraw qc pass: ospf change in metric qc pass: ospf change in tag qc pass: ospf aggregate qc pass: ospf auto mesh tunnel qc pass: ospf triangle connection qc pass: ospf prefix movement qc pass: ospf with bier qc pass: ospf transit area with bier qc pass: ospf autoroute qc pass: ospf with php sr qc pass: ospf with srgb sr qc pass: ospf over point2point ethernet qc pass: ospf multi area qc pass: ospf asymmetric multi area qc pass: ospf point2point chain with bidir check qc pass: ospf broadcast chain with bidir check qc pass: ospf ecmp connection qc pass: ospf with bgp linkstate qc pass: policy routing with nexthop qc pass: policy routing with interface and nexthop between vrfs qc pass: policy routing with interface and nexthop qc pass: policy routing between vrfs with routing qc pass: policy routing with nexthop on interface qc pass: policy routing with nexthop on interface between vrfs qc pass: pvrp point2point connection qc pass: pvrp point2multipoint connection qc pass: pvrp point2point chain qc pass: pvrp incoming interface metric qc pass: pvrp outgoing interface metric qc pass: pvrp incoming routemap metric qc pass: pvrp outgoing routemap metric qc pass: pvrp incoming routepolicy metric qc pass: pvrp outgoing routepolicy metric qc pass: pvrp address suppression qc pass: pvrp ingress route filtering with prefixlist qc pass: pvrp egress route filtering with prefixlist qc pass: pvrp ingress route filtering with routemap qc pass: pvrp egress route filtering with routemap qc pass: pvrp ingress route filtering with routepolicy qc pass: pvrp egress route filtering with routepolicy qc pass: pvrp tag qc pass: pvrp default route qc pass: pvrp with bfd qc pass: pvrp authentication qc pass: pvrp ssh encryption qc pass: pvrp tls encryption qc pass: pvrp peer template qc pass: pvrp with labels qc pass: pvrp prefix withdraw qc pass: pvrp aggregation qc pass: pvrp auto mesh tunnel qc pass: pvrp triangle connection qc pass: pvrp prefix movement qc pass: pvrp autoroute qc pass: pvrp default address suppression qc pass: pvrp address unsuppression qc pass: pvrp with php labels qc pass: ingress label filtering with pvrp qc pass: egress label filtering with pvrp qc pass: pvrp stub node qc pass: pvrp stub interface qc pass: pvrp unstub interface qc pass: pvrp over point2point ethernet qc pass: pvrp peer metric qc pass: pvrp ecmp connection qc pass: redistribution with isis qc pass: redistribution with ospf qc pass: redistribution with rip qc pass: redistribution with bgp qc pass: redistribution with bgp vpn qc pass: redistribution with bgp othervpn qc pass: redistribution with pvrp qc pass: redistribution with eigrp qc pass: redistribution with babel qc pass: redistribution with olsr qc pass: redistribution with lsrp qc pass: redistribution filtering with prefixlist qc pass: redistribution filtering with routemap qc pass: redistribution filtering with hierarchical routemap qc pass: redistribution filtering with routepolicy qc pass: redistribution filtering with hierarchical routepolicy qc pass: redistribution with prefixes qc pass: redistribution with everything qc pass: redistribution prefix withdraw qc pass: redistribution change in metric qc pass: redistribution prefix movement qc pass: redistribution with mobile qc pass: redistribution with deaggr qc pass: conditional redistribution with routemap qc pass: conditional redistribution with routepolicy qc pass: redistribution with interfaces qc pass: redistribution with metric qc pass: redistribution filtering with hierarchical prefixlist qc pass: redistribution with ouni bgp qc pass: redistribution with bgp labels qc pass: redistribution with olab bgp qc pass: rip on one subnet qc pass: rip in chain qc pass: rip ingress route filtering with prefixlist qc pass: rip egress route filtering with prefixlist qc pass: rip ingress route filtering with routemap qc pass: rip egress route filtering with routemap qc pass: rip ingress route filtering with routepolicy qc pass: rip egress route filtering with routepolicy qc pass: rip hop count qc pass: rip tag qc pass: rip address suppression qc pass: rip default route qc pass: rip authentication qc pass: rip incoming interface metric qc pass: rip outgoing interface metric qc pass: rip incoming routemap metric qc pass: rip outgoing routemap metric qc pass: rip incoming routepolicy metric qc pass: rip outgoing routepolicy metric qc pass: rip with bfd qc pass: rip peer template qc pass: rip prefix withdraw qc pass: rip aggregation qc pass: rip auto mesh tunnel qc pass: rip triangle connection qc pass: rip autoroute qc pass: rip over point2point ethernet qc pass: rip ecmp connection qc pass: static routing qc pass: static routing with distance qc pass: static routing with icmp tracker qc pass: static routing with tcp tracker qc pass: static routing with bfd tracker qc pass: static routing with labels qc pass: static routing with interface qc pass: static routing over point2point ethernet qc pass: recursive static routing qc pass: recursive static routing with labels qc pass: static routing with ecmp qc pass: authoritative dns server qc pass: recursive dns server qc pass: relaying dns server qc pass: dns64 server qc pass: dynamic tunnel destination qc pass: event manager qc pass: forwarder server qc pass: load balancer server qc pass: proxy server qc pass: radius server qc pass: scheduler qc pass: socks4 server qc pass: socks5 server qc pass: tacacs server qc pass: udp forwarder server todo: nat and pbr config to have reindex todo: chatscript and authlist to use tablisting and have reindex todo: http conditional redirect with route-map, prefix-list or route-policy todo: bridge security from dhcp, slaac, whatever server todo: lsrp, ospf, isis must list lsas/lsps as reachable or not todo: hwdet default to binary in installation, rework rtr.bin support to binjar if needed todo: interactive switch for traceroute to mimic mtr with class util.dampening, similar to mtr - display traceroute with the same parameters or so todo: http server should honor no in the beginning for host commands todo: http host upload optional different authentication todo: tls1.3 todo: terminal mode resolve todo: hostwatch to execute script on acl match todo: optimal route reflection todo: bgp vpns with sr-policy todo: temper: web access log todo: changelog converter for https://manpages.debian.org/testing/dpkg-dev/deb-changelog.5.en.html format with notodo lines todo: interface range command todo: reenable which elliptic courves? sure? why that? todo: https://tools.ietf.org/html/draft-ietf-tn3270e-telnet-tls-06 todo: parse privilege levels from tacacs todo: ldap client, server todo: trustpoint for certificates todo: vdc name tabbing todo: interface name tabbing todo: int eth1/int eth2 todo: dhcp relay support todo: tcp selective ack todo: xot, x75 switching todo: preallocate qos buffers todo: ilnp (rfc6740) todo: lisp4, lisp6 todo: l2vpn for isis todo: hip (rfc4423) todo: ttl handling follow the selected forwarder, reconfigurable if more todo: more show commands todo: more clear commands todo: more interactive tools todo: more features with clean implementation todo: x25 todo: default vrf for show commands ---------------------------------- 2021-02-13 11:47:31 no qc pass: pvrp tls encryption no qc pass: lsrp tls encryption no qc pass: ppp over tls failed: ppp over tls failed: lsrp tls encryption failed: pvrp tls encryption ---------------------------------- 2021-02-13 15:52:27 no failed: pvrp tls encryption no failed: lsrp tls encryption no failed: ppp over tls qc pass: ppp over tls qc pass: lsrp tls encryption qc pass: pvrp tls encryption ---------------------------------- 2021-02-13 16:21:36 no todo: reenable which elliptic courves? sure? why that? no todo: tls1.3 ---------------------------------- 2021-02-15 10:16:01 no qc pass: dtls test no qc pass: ppp with packet over dtls failed: ppp with packet over dtls failed: dtls test ---------------------------------- 2021-02-15 11:05:00 no failed: dtls test no failed: ppp with packet over dtls qc pass: ppp with packet over dtls qc pass: dtls test ---------------------------------- 2021-02-20 15:42:23 qc pass: interop9: isis bier qc pass: interop9: ospf bier ---------------------------------- 2021-03-08 07:38:52 todo: generate a test case from a config archive ---------------------------------- 2021-03-12 18:37:13 no todo: generate a test case from a config archive ---------------------------------- 2021-03-25 02:18:14 todo: secondary addresses todo: fhrp security ---------------------------------- 2021-03-25 02:27:29 todo: sho run this todo: nat log knob ---------------------------------- 2021-03-25 02:38:28 todo: virtual ip/mac icmp ---------------------------------- 2021-03-25 11:35:37 no todo: nat log knob todo: introduce int for sw/hw forwarders ---------------------------------- 2021-03-25 19:43:05 no todo: virtual ip/mac icmp no todo: secondary addresses qc pass: secondary addresses over ethernet qc pass: secondary addresses over dot1q vlan ---------------------------------- 2021-03-26 06:49:39 todo: p4 pipe demux to vdc ---------------------------------- 2021-03-26 15:18:18 no todo: fhrp security ---------------------------------- 2021-03-26 18:21:19 no todo: sho run this ---------------------------------- 2021-04-01 18:41:13 todo: test cases for route-map/policy clear things ---------------------------------- 2021-04-02 04:10:57 todo: shame texts in cmd.err todo: ---------------------------------- 2021-04-02 22:26:15 todo: disable-macsec command todo: dataplane says ---------------------------------- 2021-04-03 05:57:17 no todo: todo: remove from player favorites ---------------------------------- 2021-04-03 09:23:04 todo: serv bmp bugfix: last pack timer ---------------------------------- 2021-04-03 18:40:59 todo: client anycast-name-server todo: aaa randomizer ---------------------------------- 2021-04-03 20:17:00 no todo: aaa randomizer todo: more randomizers ---------------------------------- 2021-04-03 21:48:29 todo: max heat interval to temper ---------------------------------- 2021-04-04 08:51:15 todo: exec monitor todo: hwcfg auto-stop process todo: average of the non-discards to temper todo: tolerance up/down to temper todo: trackmap img--stat swap todo: secondary config archive ---------------------------------- 2021-04-04 09:42:12 todo: last but one: rare team should hire a mathy girly thingy who barely speak hungarian and fluent in written english ---------------------------------- 2021-04-04 10:01:31 no todo: last but one: rare team should hire a mathy girly thingy who barely speak hungarian and fluent in written english todo: last but one: rare team should contract for some months a thing i call mathy-thingy-a-bit-oldshchool-c-coder-who-does-not-afraid-of-openjdk who is fluent in written english and speaks at conversation level, and does not afraid to say fuck a way too loudly and have a will to travel monthly or so ---------------------------------- 2021-04-04 10:47:57 todo: wg 3rd optional param todo: ask hbone team if they can host ns3.(net.)nop.hu which have a ro tacacs access from the regular places ---------------------------------- 2021-04-04 11:54:18 no todo: last but one: rare team should contract for some months a thing i call mathy-thingy-a-bit-oldshchool-c-coder-who-does-not-afraid-of-openjdk who is fluent in written english and speaks at conversation level, and does not afraid to say fuck a way too loudly and have a will to travel monthly or so todo: lsrp/pvrp to have hello distance measurement, reread bfd rfc to see if possible todo: consider bgp neigh recursive-nexthop knob with proper limiters todo: last but one: rare team should contract for some months a thing i call mathy-thingy-a-bit-oldshchool-c-coder-who-does-not-afraid-of-openjdk who is fluent in written english and speaks at conversation level, and does not afraid to "you're way too stpuy" a way too loudly and have a will to travel monthly or so ---------------------------------- 2021-04-04 12:01:59 no todo: last but one: rare team should contract for some months a thing i call mathy-thingy-a-bit-oldshchool-c-coder-who-does-not-afraid-of-openjdk who is fluent in written english and speaks at conversation level, and does not afraid to "you're way too stpuy" a way too loudly and have a will to travel monthly or so todo: last but one: rare team should contract for some months a thing i call mathy-thingy-a-bit-oldshchool-c-coder-who-does-not-afraid-of-openjdk who is fluent in written english and speaks at conversation level, and does not afraid to "you're way too stpuy" a way too loudly and have a will to travel monthly or so... hopefully both of us will survive :) ---------------------------------- 2021-04-05 06:30:24 no todo: more randomizers todo: refresh button to temper todo: backup interface todo: sho log file todo: sho log old-file todo: more randomizers, arp, prefix, everything :) ---------------------------------- 2021-04-05 10:14:52 todo: bug: * diff/old/new time: 00:48:03/2021-04-05 11:20:19/2021-04-05 12:08:23 ---------------------------------- 2021-04-06 04:50:08 no todo: bug: * diff/old/new time: 00:48:03/2021-04-05 11:20:19/2021-04-05 12:08:23 ---------------------------------- 2021-04-06 08:01:16 todo: loopdetect for bridge ---------------------------------- 2021-08-12 14:09:23 todo: show logins ---------------------------------- 2021-08-12 17:03:13 no todo: disable-macsec command ---------------------------------- 2021-08-13 05:28:09 no todo: dataplane says no todo: exec monitor ---------------------------------- 2021-08-13 05:55:07 no todo: serv bmp bugfix: last pack timer ---------------------------------- 2021-08-13 11:43:52 no todo: secondary config archive no todo: trackmap img--stat swap no todo: sho log old-file no todo: sho log file no todo: backup interface no todo: average of the non-discards to temper no todo: client anycast-name-server no todo: hwcfg auto-stop process no todo: show logins ---------------------------------- 2021-08-13 14:29:46 no todo: p4 pipe demux to vdc ---------------------------------- 2021-08-15 07:29:46 no todo: http conditional redirect with route-map, prefix-list or route-policy no todo: introduce int for sw/hw forwarders no todo: lsrp/pvrp to have hello distance measurement, reread bfd rfc to see if possible no todo: remove from player favorites no todo: refresh button to temper no todo: tolerance up/down to temper no todo: max heat interval to temper todo: lsrp/pvrp to have hello distance measurement ---------------------------------- 2021-08-15 08:56:49 no todo: lsrp/pvrp to have hello distance measurement ---------------------------------- 2021-08-15 10:14:00 no todo: loopdetect for bridge ---------------------------------- 2021-08-17 03:28:59 no todo: test cases for route-map/policy clear things qc pass: bgp routemap clearing with standard community qc pass: bgp routemap filtering with extended community qc pass: bgp routemap filtering with large community qc pass: bgp routepolicy clearing with standard community qc pass: bgp routepolicy filtering with extended community qc pass: bgp routepolicy filtering with large community ---------------------------------- 2021-08-17 03:42:25 no todo: ask hbone team if they can host ns3.(net.)nop.hu which have a ro tacacs access from the regular places qc pass: bgp routemap clearing with aspath qc pass: bgp routepolicy clearing with aspath ---------------------------------- 2021-08-20 09:47:11 no todo: hwdet default to binary in installation, rework rtr.bin support to binjar if needed ---------------------------------- 2021-08-30 15:10:38 qc pass: amt over ipv4 qc pass: amt over ipv6 qc pass: amt over amt qc pass: amt over loopback ---------------------------------- 2021-09-15 06:13:57 no qc pass: bgp routepolicy filtering with large community no qc pass: bgp routepolicy filtering with extended community no qc pass: bgp routemap filtering with large community no qc pass: bgp routemap filtering with extended community qc pass: bgp routemap clearing with extended community qc pass: bgp routemap clearing with large community qc pass: bgp routepolicy clearing with extended community qc pass: bgp routepolicy clearing with large community ---------------------------------- 2021-09-17 18:20:03 qc pass: no macsec over ethernet qc pass: lsrp no authentication qc pass: lsrp database authentication qc pass: pvrp no authentication ---------------------------------- 2021-09-21 18:54:35 qc pass: ppp over forti ---------------------------------- 2021-09-22 22:07:43 qc pass: bgp autoroute ---------------------------------- 2021-10-02 10:46:09 qc pass: p4lang: amt server over ipv4 qc pass: p4lang: amt server over ipv6 qc pass: p4lang: amt server over ipv4 loopback qc pass: p4lang: amt server over ipv6 loopback ---------------------------------- 2021-10-05 17:09:12 qc pass: ingress flow matching access list qc pass: egress flow matching access list qc pass: ingress flow matching common access list qc pass: egress flow matching common access list qc pass: ingress flow matching hierarchical access list qc pass: egress flow matching hierarchical access list qc pass: qos ingress flow matcher qc pass: qos egress flow matcher qc pass: qos ingress flow set qc pass: qos egress flow set ---------------------------------- 2021-10-07 06:16:48 todo: bgp peer autoconfig todo: bgp strict bfd mode todo: bgp roles in update and open todo: bgp extended open ---------------------------------- 2021-10-07 18:38:59 no todo: bgp extended open ---------------------------------- 2021-10-07 19:21:31 qc pass: bgp extended open qc pass: bgp extended update ---------------------------------- 2021-10-08 04:19:33 qc pass: bgp multiple labels qc pass: bgp graceful restart qc pass: bgp extended nexthop ---------------------------------- 2021-10-08 08:51:58 no todo: bgp roles in update and open qc pass: bgp leak prevention with customer provider qc pass: bgp leak prevention with route server qc pass: bgp leak prevention with peer ---------------------------------- 2021-10-09 03:46:50 qc pass: p4lang: ingress amt access list qc pass: p4lang: egress amt access list ---------------------------------- 2021-10-11 03:38:42 no todo: last but one: rare team should contract for some months a thing i call mathy-thingy-a-bit-oldshchool-c-coder-who-does-not-afraid-of-openjdk who is fluent in written english and speaks at conversation level, and does not afraid to "you're way too stpuy" a way too loudly and have a will to travel monthly or so... hopefully both of us will survive :) no todo: wg 3rd optional param no todo: more randomizers, arp, prefix, everything :) no todo: https://tools.ietf.org/html/draft-ietf-tn3270e-telnet-tls-06 no todo: changelog converter for https://manpages.debian.org/testing/dpkg-dev/deb-changelog.5.en.html format with notodo lines todo: telnet tls mode todo: more randomizers ---------------------------------- 2021-10-12 03:44:33 qc pass: lsrp with strict bfd qc pass: pvrp with strict bfd ---------------------------------- 2021-10-12 15:24:42 no todo: http server should honor no in the beginning for host commands ---------------------------------- 2021-10-12 15:40:57 no todo: lsrp, ospf, isis must list lsas/lsps as reachable or not ---------------------------------- 2021-10-12 16:39:43 no todo: chatscript and authlist to use tablisting and have reindex ---------------------------------- 2021-10-20 06:22:40 qc pass: p4lang: autoroute to sr te over mpls qc pass: p4lang: autoroute to p2p te over mpls qc pass: p4lang: policy routing to sr te over mpls qc pass: p4lang: policy routing to p2p te over mpls ---------------------------------- 2021-10-22 08:50:09 no todo: telnet tls mode no todo: optimal route reflection todo: bgp optimal route reflection todo: bgp signed path ---------------------------------- 2021-10-24 05:20:22 todo: bgp nsh sfc ---------------------------------- 2021-10-24 05:35:31 todo: rift4, rift6 ---------------------------------- 2021-10-24 07:08:22 qc pass: qos ingress pps action qc pass: qos egress pps action qc pass: qos ingress pps copp qc pass: qos egress pps copp qc pass: qos pps dapp ---------------------------------- 2021-10-24 13:37:49 qc pass: unicast+nsh over bgp qc pass: unicast+nsh over bgp with soft-reconfig qc pass: unicast+nsh over bgp with additional path ---------------------------------- 2021-10-24 13:58:36 no todo: bgp nsh sfc no todo: bgp vpns with sr-policy todo: traffic through bgp sr-policy todo: traffic through bgp nsh ---------------------------------- 2021-10-25 06:07:08 qc pass: p4lang: nsh qc pass: p4lang: vlan nsh ---------------------------------- 2021-10-26 04:48:37 todo: bgp layer2 flowspec ---------------------------------- 2021-10-27 20:26:55 qc pass: polka over ethernet qc pass: polka over ethernet vlan qc pass: polka over ethernet bridge qc pass: polka over hdlc qc pass: polka over ppp qc pass: polka over framerelay qc pass: polka over atmdxi qc pass: polka over gre qc pass: polka over broadcast subnet qc pass: polka over ethernet chain qc pass: bgp with polka qc pass: isis with polka qc pass: lsrp with polka qc pass: ospf with polka ---------------------------------- 2021-10-28 05:08:40 qc pass: pwe over polka qc pass: bgp vpns over polka ---------------------------------- 2021-10-28 11:04:49 qc pass: p4lang: polka qc pass: p4lang: vlan polka ---------------------------------- 2021-11-06 08:26:03 no todo: consider bgp neigh recursive-nexthop knob with proper limiters qc pass: bgp without recursion qc pass: bgp with recursion ---------------------------------- 2021-11-08 04:21:51 no todo: interactive switch for traceroute to mimic mtr with class util.dampening, similar to mtr - display traceroute with the same parameters or so ---------------------------------- 2021-11-08 10:43:58 qc pass: bgp with route flap dampening ---------------------------------- 2021-11-08 16:39:31 qc pass: isis default address suppression qc pass: integrated isis default address suppression qc pass: isis address unsuppression qc pass: integrated isis address unsuppression qc pass: ospf default address suppression qc pass: ospf address unsuppression ---------------------------------- 2021-11-08 18:16:21 qc pass: babel default address suppression qc pass: babel address unsuppression qc pass: eigrp default address suppression qc pass: eigrp address unsuppression qc pass: olsr default address suppression qc pass: olsr address unsuppression qc pass: rip default address suppression qc pass: rip address unsuppression ---------------------------------- 2021-11-09 09:49:46 no todo: ttl handling follow the selected forwarder, reconfigurable if more no todo: interface name tabbing no todo: vdc name tabbing no todo: interface range command no todo: temper: web access log no todo: terminal mode resolve no todo: http host upload optional different authentication todo: name tabbing ---------------------------------- 2021-11-09 10:32:58 no todo: hostwatch to execute script on acl match ---------------------------------- 2021-11-10 08:40:06 qc pass: ospf maximum metric ---------------------------------- 2021-11-13 12:01:04 no todo: int eth1/int eth2 no todo: name tabbing ---------------------------------- 2021-11-14 04:54:30 no todo: preallocate qos buffers ---------------------------------- 2021-11-20 07:25:54 qc pass: static bmp peer qc pass: dynamic bmp peer ---------------------------------- 2021-11-26 06:14:57 qc pass: capwap over ipv4 qc pass: capwap over ipv6 qc pass: capwap over loopback qc pass: hdlc tunneling with capwap qc pass: ppp tunneling with capwap qc pass: lapb tunneling with capwap qc pass: framerelay tunneling with capwap qc pass: atmdxi tunneling with capwap qc pass: isdn tunneling with capwap qc pass: sep tunneling with capwap qc pass: ethernet tunneling with capwap qc pass: vlan tunneling with capwap qc pass: tunnel interface with capwap qc pass: lwapp over ipv4 qc pass: lwapp over ipv6 qc pass: lwapp over loopback qc pass: hdlc tunneling with lwapp qc pass: ppp tunneling with lwapp qc pass: lapb tunneling with lwapp qc pass: framerelay tunneling with lwapp qc pass: atmdxi tunneling with lwapp qc pass: isdn tunneling with lwapp qc pass: sep tunneling with lwapp qc pass: ethernet tunneling with lwapp qc pass: vlan tunneling with lwapp qc pass: tunnel interface with lwapp ---------------------------------- 2021-12-02 18:44:59 no qc pass: ospf authentication no qc pass: interop8: ospf authentication no qc pass: interop2: ospf authentication no qc pass: interop1: ospf authentication qc pass: interop1: ospf text authentication qc pass: interop1: ospf md5 authentication qc pass: interop2: ospf text authentication qc pass: interop2: ospf md5 authentication qc pass: interop8: ospf text authentication qc pass: interop8: ospf md5 authentication qc pass: ospf text authentication qc pass: ospf md5 authentication ---------------------------------- 2021-12-03 11:05:40 no qc pass: isis lsp authentication no qc pass: isis authentication no qc pass: interop9: isis lsp authentication no qc pass: interop8: isis authentication no qc pass: interop2: isis lsp authentication no qc pass: interop2: isis authentication no qc pass: interop1: isis lsp authentication no qc pass: interop1: isis authentication qc pass: interop1: isis text authentication qc pass: interop1: isis lsp text authentication qc pass: interop1: isis md5 authentication qc pass: interop1: isis lsp md5 authentication qc pass: interop2: isis text authentication qc pass: interop2: isis lsp text authentication qc pass: interop2: isis text authentication qc pass: interop2: isis lsp text authentication qc pass: interop8: isis text authentication qc pass: interop9: isis lsp text authentication qc pass: isis text authentication qc pass: isis lsp text authentication qc pass: isis md5 authentication qc pass: isis lsp md5 authentication ---------------------------------- 2021-12-03 12:35:57 no qc pass: interop2: isis lsp text authentication no qc pass: interop2: isis text authentication qc pass: interop2: isis md5 authentication qc pass: interop2: isis lsp md5 authentication qc pass: interop9: isis lsp md5 authentication qc pass: interop9: isis text authentication qc pass: interop9: isis md5 authentication ---------------------------------- 2021-12-03 13:33:35 qc pass: interop8: isis lsp text authentication qc pass: interop8: isis lsp md5 authentication qc pass: interop8: isis text authentication qc pass: interop8: isis md5 authentication qc pass: interop9: ospf text authentication qc pass: interop9: ospf md5 authentication ---------------------------------- 2021-12-03 16:29:47 qc pass: hdlc ---------------------------------- 2021-12-03 17:29:16 qc pass: fragmentation and reassembly qc pass: no fragmentation nor reassembly ---------------------------------- 2021-12-05 06:37:53 qc pass: interop1: fragmentation and reassembly qc pass: interop2: fragmentation and reassembly qc pass: interop8: fragmentation and reassembly qc pass: interop9: fragmentation and reassembly ---------------------------------- 2021-12-05 07:02:17 no qc pass: olab bgp ingress route filtering with routemap no qc pass: labels bgp ingress route filtering with routemap no qc pass: interop8: isis text authentication qc pass: precise mtu enforcement ---------------------------------- 2021-12-05 08:55:38 no todo: shame texts in cmd.err ---------------------------------- 2021-12-06 09:25:02 qc pass: p4lang: replay window with openvpn qc pass: p4lang: replay window with wireguard ---------------------------------- 2021-12-07 07:42:31 qc pass: lsrp dynamic metric qc pass: pvrp dynamic metric ---------------------------------- 2021-12-08 16:40:08 no qc pass: pvrp dynamic metric no qc pass: lsrp dynamic metric qc pass: lsrp dynamic inband metric qc pass: lsrp dynamic icmp metric qc pass: lsrp dynamic udp metric qc pass: lsrp dynamic twamp metric qc pass: pvrp dynamic inband metric qc pass: pvrp dynamic icmp metric qc pass: pvrp dynamic udp metric qc pass: pvrp dynamic twamp metric ---------------------------------- 2021-12-09 10:45:49 qc pass: isis dynamic icmp metric qc pass: isis dynamic udp metric qc pass: isis dynamic twamp metric qc pass: ospf dynamic icmp cost qc pass: ospf dynamic udp cost qc pass: ospf dynamic twamp cost ---------------------------------- 2021-12-21 21:13:40 qc pass: monitor session over tunnel qc pass: monitor session over pwhe ---------------------------------- 2021-12-21 21:27:35 qc pass: ingress mask matching access list qc pass: egress mask matching access list ---------------------------------- 2022-01-10 14:14:43 qc pass: vrf route limit ---------------------------------- 2022-01-12 09:09:57 qc pass: static routing with udp tracker qc pass: static routing with twamp tracker qc pass: static routing with interface tracker qc pass: static routing with prefix tracker qc pass: static routing with other tracker qc pass: static routing with check tracker qc pass: static routing with nrpe tracker ---------------------------------- 2022-01-15 09:53:32 no qc pass: p4lang: openvpn with aes256 no qc pass: p4lang: openvpn with aes192 no qc pass: p4lang: openvpn with aes128 no qc pass: p4lang: ipsec with aes256 no qc pass: p4lang: ipsec with aes192 no qc pass: p4lang: ipsec with aes128 no qc pass: p4lang: macsec with aes256 no qc pass: p4lang: macsec with aes192 no qc pass: p4lang: macsec with aes128 no qc pass: interop1: ike2 with aes256 no qc pass: interop1: ike2 with aes192 no qc pass: interop1: ike2 with aes128 no qc pass: interop1: ike1 with aes256 no qc pass: interop1: ike1 with aes192 no qc pass: interop1: ike1 with aes128 no qc pass: swipe with aes256 no qc pass: swipe with aes192 no qc pass: swipe with aes128 no qc pass: skip with aes256 no qc pass: skip with aes192 no qc pass: skip with aes128 no qc pass: satp with aes256 no qc pass: satp with aes192 no qc pass: satp with aes128 no qc pass: openvpn with aes256 no qc pass: openvpn with aes192 no qc pass: openvpn with aes128 no qc pass: macsec with aes256 no qc pass: macsec with aes192 no qc pass: macsec with aes128 no qc pass: inlsp with aes256 no qc pass: inlsp with aes192 no qc pass: inlsp with aes128 no qc pass: ike2 with aes256 no qc pass: ike2 with aes192 no qc pass: ike2 with aes128 no qc pass: ike1 with aes256 no qc pass: ike1 with aes192 no qc pass: ike1 with aes128 qc pass: ike1 with aes128cbc qc pass: ike1 with aes192cbc qc pass: ike1 with aes256cbc qc pass: ike2 with aes128cbc qc pass: ike2 with aes192cbc qc pass: ike2 with aes256cbc qc pass: inlsp with aes128cbc qc pass: inlsp with aes192cbc qc pass: inlsp with aes256cbc qc pass: macsec with aes128cbc qc pass: macsec with aes192cbc qc pass: macsec with aes256cbc qc pass: openvpn with aes128cbc qc pass: openvpn with aes192cbc qc pass: openvpn with aes256cbc qc pass: satp with aes128cbc qc pass: satp with aes192cbc qc pass: satp with aes256cbc qc pass: skip with aes128cbc qc pass: skip with aes192cbc qc pass: skip with aes256cbc qc pass: swipe with aes128cbc qc pass: swipe with aes192cbc qc pass: swipe with aes256cbc qc pass: interop1: ike1 with aes128cbc qc pass: interop1: ike1 with aes192cbc qc pass: interop1: ike1 with aes256cbc qc pass: interop1: ike2 with aes128cbc qc pass: interop1: ike2 with aes192cbc qc pass: interop1: ike2 with aes256cbc qc pass: p4lang: macsec with aes128cbc qc pass: p4lang: macsec with aes192cbc qc pass: p4lang: macsec with aes256cbc qc pass: p4lang: ipsec with aes128cbc qc pass: p4lang: ipsec with aes192cbc qc pass: p4lang: ipsec with aes256cbc qc pass: p4lang: openvpn with aes128cbc qc pass: p4lang: openvpn with aes192cbc qc pass: p4lang: openvpn with aes256cbc ---------------------------------- 2022-01-15 13:26:55 qc pass: inlsp with aes128cfb qc pass: inlsp with aes192cfb qc pass: inlsp with aes256cfb qc pass: inlsp with aes128ecb qc pass: inlsp with aes192ecb qc pass: inlsp with aes256ecb qc pass: inlsp with aes128gcm qc pass: inlsp with aes192gcm qc pass: inlsp with aes256gcm qc pass: inlsp with sha224 qc pass: inlsp with sha384 qc pass: inlsp with sha3224 qc pass: inlsp with sha3256 qc pass: inlsp with sha3384 qc pass: inlsp with sha3512 ---------------------------------- 2022-01-15 13:34:30 qc pass: openvpn with aes128cfb qc pass: openvpn with aes192cfb qc pass: openvpn with aes256cfb qc pass: openvpn with aes128ecb qc pass: openvpn with aes192ecb qc pass: openvpn with aes256ecb qc pass: openvpn with aes128gcm qc pass: openvpn with aes192gcm qc pass: openvpn with aes256gcm qc pass: openvpn with sha224 qc pass: openvpn with sha384 qc pass: openvpn with sha3224 qc pass: openvpn with sha3256 qc pass: openvpn with sha3384 qc pass: openvpn with sha3512 ---------------------------------- 2022-01-15 13:43:19 qc pass: satp with aes128cfb qc pass: satp with aes192cfb qc pass: satp with aes256cfb qc pass: satp with aes128ecb qc pass: satp with aes192ecb qc pass: satp with aes256ecb qc pass: satp with aes128gcm qc pass: satp with aes192gcm qc pass: satp with aes256gcm qc pass: satp with sha224 qc pass: satp with sha384 qc pass: satp with sha3224 qc pass: satp with sha3256 qc pass: satp with sha3384 qc pass: satp with sha3512 ---------------------------------- 2022-01-15 13:52:46 qc pass: skip with aes128cfb qc pass: skip with aes192cfb qc pass: skip with aes256cfb qc pass: skip with aes128ecb qc pass: skip with aes192ecb qc pass: skip with aes256ecb qc pass: skip with aes128gcm qc pass: skip with aes192gcm qc pass: skip with aes256gcm qc pass: skip with sha224 qc pass: skip with sha384 qc pass: skip with sha3224 qc pass: skip with sha3256 qc pass: skip with sha3384 qc pass: skip with sha3512 ---------------------------------- 2022-01-15 14:00:10 qc pass: swipe with aes128cfb qc pass: swipe with aes192cfb qc pass: swipe with aes256cfb qc pass: swipe with aes128ecb qc pass: swipe with aes192ecb qc pass: swipe with aes256ecb qc pass: swipe with aes128gcm qc pass: swipe with aes192gcm qc pass: swipe with aes256gcm qc pass: swipe with sha224 qc pass: swipe with sha384 qc pass: swipe with sha3224 qc pass: swipe with sha3256 qc pass: swipe with sha3384 qc pass: swipe with sha3512 ---------------------------------- 2022-01-15 14:08:49 qc pass: macsec with aes128cfb qc pass: macsec with aes192cfb qc pass: macsec with aes256cfb qc pass: macsec with aes128ecb qc pass: macsec with aes192ecb qc pass: macsec with aes256ecb qc pass: macsec with aes128gcm qc pass: macsec with aes192gcm qc pass: macsec with aes256gcm qc pass: macsec with sha224 qc pass: macsec with sha384 qc pass: macsec with sha3224 qc pass: macsec with sha3256 qc pass: macsec with sha3384 qc pass: macsec with sha3512 ---------------------------------- 2022-01-15 15:06:45 qc pass: p4lang: openvpn with aes128cfb qc pass: p4lang: openvpn with aes192cfb qc pass: p4lang: openvpn with aes256cfb qc pass: p4lang: openvpn with aes128ecb qc pass: p4lang: openvpn with aes192ecb qc pass: p4lang: openvpn with aes256ecb qc pass: p4lang: openvpn with sha224 qc pass: p4lang: openvpn with sha384 qc pass: p4lang: openvpn with sha3224 qc pass: p4lang: macsec with aes128cfb qc pass: p4lang: macsec with aes192cfb qc pass: p4lang: macsec with aes256cfb qc pass: p4lang: macsec with aes128ecb qc pass: p4lang: macsec with aes192ecb qc pass: p4lang: macsec with aes256ecb qc pass: p4lang: macsec with sha224 qc pass: p4lang: macsec with sha384 qc pass: p4lang: macsec with sha3224 ---------------------------------- 2022-01-15 15:28:23 no qc pass: p4lang: macsec with sha3224 no qc pass: p4lang: openvpn with sha3224 ---------------------------------- 2022-01-15 20:20:32 qc pass: access total qc pass: access tracker qc pass: access negated tracker qc pass: access follow tracker ---------------------------------- 2022-01-16 13:50:41 qc pass: bgp routemap filtering with nexthop qc pass: bgp routepolicy filtering with nexthop qc pass: bgp routemap filtering with nexthop with soft-reconfig qc pass: bgp routepolicy filtering with nexthop with soft-reconfig ---------------------------------- 2022-01-23 06:12:55 qc pass: arcnet encapsulation qc pass: infini encapsulation ---------------------------------- 2022-01-30 08:19:54 no qc pass: swipe with aes256gcm no qc pass: swipe with aes192gcm no qc pass: swipe with aes128gcm no qc pass: skip with aes256gcm no qc pass: skip with aes192gcm no qc pass: skip with aes128gcm no qc pass: satp with aes256gcm no qc pass: satp with aes192gcm no qc pass: satp with aes128gcm no qc pass: openvpn with aes256gcm no qc pass: openvpn with aes192gcm no qc pass: openvpn with aes128gcm no qc pass: macsec with aes256gcm no qc pass: macsec with aes192gcm no qc pass: macsec with aes128gcm no qc pass: inlsp with aes256gcm no qc pass: inlsp with aes192gcm no qc pass: inlsp with aes128gcm qc pass: inlsp with none encryption qc pass: inlsp with none hash qc pass: macsec with none encryption qc pass: macsec with none hash qc pass: openvpn with none encryption qc pass: openvpn with none hash qc pass: satp with none encryption qc pass: satp with none hash qc pass: skip with none encryption qc pass: skip with none hash qc pass: swipe with none encryption qc pass: swipe with none hash ---------------------------------- 2022-01-30 08:49:57 qc pass: p4lang: openvpn with none encryption qc pass: p4lang: openvpn with none hash qc pass: p4lang: macsec with none encryption qc pass: p4lang: macsec with none hash ---------------------------------- 2022-01-30 14:39:53 qc pass: macsec with aes128gcm and hash qc pass: macsec with aes192gcm and hash qc pass: macsec with aes256gcm and hash qc pass: macsec with aes128gcm and aead qc pass: macsec with aes192gcm and aead qc pass: macsec with aes256gcm and aead ---------------------------------- 2022-01-30 14:48:15 qc pass: p4lang: macsec with aes128gcm and hash qc pass: p4lang: macsec with aes192gcm and hash qc pass: p4lang: macsec with aes256gcm and hash qc pass: p4lang: macsec with aes128gcm and aead qc pass: p4lang: macsec with aes192gcm and aead qc pass: p4lang: macsec with aes256gcm and aead ---------------------------------- 2022-02-03 07:55:32 todo: p4dpdk multiseg rx/tx loop ---------------------------------- 2022-02-05 03:03:13 no qc pass: bridged mac rewrite qc pass: bridge mac rewrite qc pass: bridge port security qc pass: bridge static address ---------------------------------- 2022-02-07 02:29:39 qc pass: bgp routemap filtering with asend qc pass: bgp routemap filtering with asend with soft-reconfig qc pass: bgp routepolicy filtering with asend qc pass: bgp routepolicy filtering with asend with soft-reconfig qc pass: bgp routemap filtering with asmid qc pass: bgp routemap filtering with asmid with soft-reconfig qc pass: bgp routepolicy filtering with asmid qc pass: bgp routepolicy filtering with asmid with soft-reconfig ---------------------------------- 2022-02-07 22:00:35 todo: punt ace mode to the dataplanes, use it for reflexive acls, consider for ip inspect usage ---------------------------------- 2022-02-08 10:08:19 qc pass: p4lang: reflexive access list ---------------------------------- 2022-02-08 18:30:17 no qc pass: p4lang: reflexive access list qc pass: p4lang: ingress reflexive access list qc pass: p4lang: egress reflexive access list ---------------------------------- 2022-02-09 05:11:48 no todo: punt ace mode to the dataplanes, use it for reflexive acls, consider for ip inspect usage ---------------------------------- 2022-02-09 11:29:32 todo: rtr-hw2.txt, hwsn knob ---------------------------------- 2022-02-09 19:44:39 qc pass: p4lang: interface inspection with egress drop qc pass: p4lang: interface inspection with ingress drop ---------------------------------- 2022-02-09 20:22:55 no todo: rtr-hw2.txt, hwsn knob ---------------------------------- 2022-02-12 07:38:09 qc pass: p4lang: vlan interface inspection with egress drop qc pass: p4lang: vlan interface inspection with ingress drop ---------------------------------- 2022-02-16 05:48:11 qc pass: interface inspection with member ingress drop qc pass: interface inspection with member egress drop ---------------------------------- 2022-02-17 22:06:06 qc pass: mpolka over ethernet qc pass: mpolka over ethernet vlan qc pass: mpolka over ethernet bridge qc pass: mpolka over hdlc qc pass: mpolka over ppp qc pass: mpolka over framerelay qc pass: mpolka over atmdxi qc pass: mpolka over gre qc pass: mpolka over ethernet qc pass: isis with mpolka qc pass: lsrp with mpolka qc pass: ospf with mpolka ---------------------------------- 2022-02-19 15:33:04 qc pass: sgt ethernet encapsulation qc pass: sgt vlan encapsulation qc pass: sgt bridge encapsulation qc pass: sgt bundle encapsulation qc pass: sgt hdlc encapsulation qc pass: sgt ppp encapsulation qc pass: sgt framerelay encapsulation qc pass: sgt atmdxi encapsulation qc pass: sgt isdn encapsulation qc pass: sgt sep encapsulation qc pass: sgt tunnel encapsulation qc pass: interop1: sgt encapsulation ---------------------------------- 2022-02-19 17:34:29 qc pass: qos ingress sgt matcher qc pass: qos egress sgt matcher ---------------------------------- 2022-02-19 18:09:06 qc pass: ingress sgt matching access list qc pass: egress sgt matching access list ---------------------------------- 2022-02-20 04:39:23 qc pass: qos ingress sgt set qc pass: qos egress sgt set ---------------------------------- 2022-02-20 04:54:59 qc pass: sgt ethernet chain encapsulation qc pass: sgt vlan chain encapsulation qc pass: sgt vlan map out encapsulation qc pass: sgt tunnel map out encapsulation ---------------------------------- 2022-02-20 06:20:19 qc pass: p4lang: sgt over ethernet qc pass: p4lang: sgt over vlan qc pass: p4lang: sgt over gre qc pass: p4lang: sgt over pppoe qc pass: p4lang: sgt over l2tp qc pass: p4lang: sgt over hairpin ---------------------------------- 2022-02-20 07:29:16 qc pass: sgt over macsec ethernet encapsulation qc pass: sgt over macsec vlan encapsulation qc pass: p4lang: sgt over macsec over ethernet qc pass: p4lang: sgt over macsec over vlan ---------------------------------- 2022-02-20 07:57:01 qc pass: sgt hairpin encapsulation qc pass: no sgt ethernet encapsulation qc pass: p4lang: sgt ingress access list qc pass: p4lang: sgt egress access list qc pass: p4lang: sgt vlan ingress access list qc pass: p4lang: sgt vlan egress access list ---------------------------------- 2022-02-20 09:51:31 qc pass: p4lang: mpolka core qc pass: p4lang: mpolka vlan core qc pass: p4lang: mpolka edge qc pass: p4lang: mpolka vlan edge ---------------------------------- 2022-02-22 14:42:51 qc pass: sgt encapsulation with ingress allow qc pass: sgt encapsulation with egress allow qc pass: sgt encapsulation with ingress forbid qc pass: sgt encapsulation with egress forbid ---------------------------------- 2022-02-22 17:10:39 no qc pass: p4lang: egress hibryd access list no qc pass: p4lang: ingress hibryd access list no qc pass: egress destination port matching hibryd access list no qc pass: ingress destination port matching hibryd access list no qc pass: egress source port matching hibryd access list no qc pass: ingress source port matching hibryd access list no qc pass: egress source matching hibryd access list no qc pass: ingress source matching hibryd access list no qc pass: egress destination matching hibryd access list no qc pass: ingress destination matching hibryd access list qc pass: ingress destination matching hybrid access list qc pass: egress destination matching hybrid access list qc pass: ingress source matching hybrid access list qc pass: egress source matching hybrid access list qc pass: ingress source port matching hybrid access list qc pass: egress source port matching hybrid access list qc pass: ingress destination port matching hybrid access list qc pass: egress destination port matching hybrid access list qc pass: p4lang: ingress hybrid access list qc pass: p4lang: egress hybrid access list ---------------------------------- 2022-02-23 08:14:30 qc pass: bgp routemap filtering with asbeg qc pass: bgp routemap filtering with asbeg with soft-reconfig qc pass: bgp routepolicy filtering with asbeg qc pass: bgp routepolicy filtering with asbeg with soft-reconfig ---------------------------------- 2022-02-27 20:32:47 qc pass: p4lang: bridge interface inspection with ingress drop qc pass: p4lang: bridge interface inspection with egress drop qc pass: p4lang: pppoe interface inspection with ingress drop qc pass: p4lang: pppoe interface inspection with egress drop qc pass: p4lang: gre interface inspection with ingress drop qc pass: p4lang: gre interface inspection with egress drop qc pass: p4lang: l2tp interface inspection with ingress drop qc pass: p4lang: l2tp interface inspection with egress drop ---------------------------------- 2022-02-27 20:53:59 qc pass: p4lang: interface verify source qc pass: p4lang: vlan interface verify source qc pass: p4lang: bridge interface verify source qc pass: p4lang: pppoe interface verify source qc pass: p4lang: gre interface verify source qc pass: p4lang: l2tp interface verify source ---------------------------------- 2022-02-27 21:02:01 qc pass: verify source with ethernet encapsulation qc pass: interop1: verify source qc pass: interop2: verify source qc pass: interop8: verify source qc pass: interop9: verify source qc pass: verify source with static routing ---------------------------------- 2022-02-27 21:16:26 qc pass: loose verify source with ethernet encapsulation qc pass: p4lang: interface loose verify source qc pass: p4lang: vlan interface loose verify source qc pass: p4lang: bridge interface loose verify source qc pass: p4lang: pppoe interface loose verify source qc pass: p4lang: gre interface loose verify source qc pass: p4lang: l2tp interface loose verify source qc pass: loose verify source with static routing ---------------------------------- 2022-03-01 17:43:52 qc pass: p4lang demultiplexer qc pass: p4lang downlink ---------------------------------- 2022-03-01 18:08:42 no qc pass: p4lang downlink no qc pass: p4lang demultiplexer qc pass: unnamed qc pass: unnamed ---------------------------------- 2022-03-01 18:18:03 no qc pass: unnamed no qc pass: unnamed qc pass: p4lang demultiplexer qc pass: p4lang downlink ---------------------------------- 2022-03-03 06:49:36 todo: quic todo: bgp flowspec v2 todo: tcp window scale ---------------------------------- 2022-03-03 08:07:30 todo: update gtp stack to the latest standards, add to dataplanes ---------------------------------- 2022-03-03 11:37:03 qc pass: ipv4 over gtp qc pass: ipv6 over gtp qc pass: ipv4 and ipv6 over gtp ---------------------------------- 2022-03-03 11:46:08 no qc pass: ipv4 and ipv6 over gtp no qc pass: ipv6 over gtp qc pass: unnamed qc pass: unnamed ---------------------------------- 2022-03-03 11:54:43 no qc pass: unnamed no qc pass: unnamed qc pass: ipv6 over gtp qc pass: ipv4 and ipv6 over gtp ---------------------------------- 2022-03-03 12:31:33 qc pass: gtp tunnel ---------------------------------- 2022-03-03 17:30:24 qc pass: p4lang: ingress gtp access list qc pass: p4lang: egress gtp access list qc pass: p4lang: gtp server over ipv4 qc pass: p4lang: gtp server over ipv6 qc pass: p4lang: gtp server over ipv4 loopback qc pass: p4lang: gtp server over ipv6 loopback ---------------------------------- 2022-03-07 06:41:13 no todo: update gtp stack to the latest standards, add to dataplanes todo: update gtp stack to the latest standards ---------------------------------- 2022-03-08 16:56:26 qc pass: sdwan over ipv4 qc pass: sdwan over ipv6 ---------------------------------- 2022-03-10 06:14:25 qc pass: sdwan with fixed addresses qc pass: sdwan hub and spoke ---------------------------------- 2022-03-11 07:56:22 no todo: tcp window scale ---------------------------------- 2022-03-11 09:59:39 qc pass: secondary dns server qc pass: sdwan with mixed addresses ---------------------------------- 2022-03-21 22:08:40 no qc pass: ppp address propagation failed: ppp address propagation ---------------------------------- 2022-03-21 22:44:12 no failed: ppp address propagation qc pass: ppp address propagation ---------------------------------- 2022-03-22 05:33:09 todo: incremental fib calculation from bgp change list ---------------------------------- 2022-03-28 14:51:21 no todo: trustpoint for certificates ---------------------------------- 2022-03-29 13:09:15 no todo: incremental fib calculation from bgp change list ---------------------------------- 2022-03-29 13:48:35 todo: aliases with sticky parameters todo: disableable door code in temper ---------------------------------- 2022-03-30 04:34:50 22.3.30 todo: lsrp pvrp forbid remote dynamic metric todo: changelog converter with start point ---------------------------------- 2022-03-30 07:02:48 22.3.30 no todo: lsrp pvrp forbid remote dynamic metric ---------------------------------- 2022-03-30 07:59:57 22.3.30 no todo: changelog converter with start point ---------------------------------- 2022-03-30 08:45:44 22.3.30 no todo: aliases with sticky parameters ---------------------------------- 2022-03-30 08:58:47 22.3.30 todo: default playlist in player ---------------------------------- 2022-03-30 10:07:16 22.3.30 no todo: default playlist in player ---------------------------------- 2022-03-30 10:55:30 22.3.30 no todo: disableable door code in temper ---------------------------------- 2022-03-30 14:26:22 22.3.30 todo: default parameter for aliases ---------------------------------- 2022-03-30 17:35:13 22.3.30 no todo: default parameter for aliases ---------------------------------- 2022-03-31 06:23:02 22.3.31 qc pass: bgp change in metric with labels qc pass: ibgp rr prefix movement with labels qc pass: ouni bgp change in metric qc pass: ouni ibgp rr prefix movement qc pass: olab bgp change in metric qc pass: olab ibgp rr prefix movement qc pass: bgp vpns change in metric qc pass: ibgp rr vpns prefix movement qc pass: bgp othervpns change in metric qc pass: ibgp rr othervpns prefix movement ---------------------------------- 2022-03-31 19:16:12 22.3.31 qc pass: ibgp rr prefix withdraw with labels qc pass: ouni ibgp rr prefix withdraw qc pass: olab ibgp rr prefix withdraw qc pass: ibgp rr vpns prefix withdraw qc pass: ibgp rr othervpns prefix withdraw qc pass: olab ibgp fullmesh prefix withdraw ---------------------------------- 2022-04-01 05:31:47 22.4.1 qc pass: ebgp with safe policy qc pass: ibgp with safe policy qc pass: confed bgp with safe policy qc pass: ibgp rr with safe policy qc pass: bgp route server with safe policy qc pass: safe ebgp policy with prefixlist qc pass: safe ebgp policy with routemap qc pass: safe ebgp policy with routepolicy ---------------------------------- 2022-04-03 05:44:11 22.4.3 qc pass: llcudp over ipv4 qc pass: llcudp over ipv6 qc pass: llcudp over loopback qc pass: hdlc tunneling with llcudp qc pass: ppp tunneling with llcudp qc pass: lapb tunneling with llcudp qc pass: framerelay tunneling with llcudp qc pass: atmdxi tunneling with llcudp qc pass: isdn tunneling with llcudp qc pass: sep tunneling with llcudp qc pass: ethernet tunneling with llcudp qc pass: vlan tunneling with llcudp qc pass: tunnel interface with llcudp qc pass: tzsp over ipv4 qc pass: tzsp over ipv6 qc pass: tzsp over loopback qc pass: hdlc tunneling with tzsp qc pass: ppp tunneling with tzsp qc pass: lapb tunneling with tzsp qc pass: framerelay tunneling with tzsp qc pass: atmdxi tunneling with tzsp qc pass: isdn tunneling with tzsp qc pass: sep tunneling with tzsp qc pass: ethernet tunneling with tzsp qc pass: vlan tunneling with tzsp qc pass: tunnel interface with tzsp ---------------------------------- 2022-04-10 10:09:04 22.4.10 qc pass: bridge port split horizon qc pass: bridge port unsplit horizon ---------------------------------- 2022-04-12 16:04:05 22.4.12 todo: tcpmss on bridges todo: allow command to be a substring of an other ---------------------------------- 2022-04-12 17:33:21 22.4.12 no todo: tcpmss on bridges ---------------------------------- 2022-04-14 08:36:56 22.4.14 todo: readvertise knob under routers ---------------------------------- 2022-04-14 16:08:47 22.4.14 todo: rt4/6import/export under vrfs ---------------------------------- 2022-04-15 07:56:58 22.4.15 no todo: rt4/6import/export under vrfs ---------------------------------- 2022-04-15 16:53:32 22.4.15 no todo: readvertise knob under routers ---------------------------------- 2022-04-15 17:04:59 22.4.15 qc pass: redistribution by prefix ---------------------------------- 2022-04-15 17:34:03 22.4.15 qc pass: redistribution with tag ---------------------------------- 2022-04-18 06:00:54 22.4.18 qc pass: ppp labeled gateway qc pass: ppp no remote address qc pass: p4lang: bundle mpls pop qc pass: p4lang: bundle vlan mpls pop qc pass: p4lang: pppoe mpls pop qc pass: p4lang: gre mpls pop qc pass: p4lang: l2tp mpls pop qc pass: p4lang: bundle mpls push qc pass: p4lang: bundle vlan mpls push qc pass: p4lang: pppoe mpls push qc pass: p4lang: gre mpls push qc pass: p4lang: l2tp mpls push ---------------------------------- 2022-04-19 07:36:59 22.4.19 qc pass: ppp no local address qc pass: ebgp over common subnet ---------------------------------- 2022-04-27 06:19:54 22.4.27 qc pass: p4lang: lpm routing qc pass: static routing with lpm ---------------------------------- 2022-04-28 04:15:39 22.4.28 qc pass: p4lang: l2vpn over bundle mpls qc pass: p4lang: l2vpn over bundle vlan mpls qc pass: p4lang: l2vpn over pppoe mpls qc pass: p4lang: l2vpn over gre mpls qc pass: p4lang: l2vpn over l2tp mpls qc pass: p4lang: l3vpn over bundle mpls qc pass: p4lang: l3vpn over bundle vlan mpls qc pass: p4lang: l3vpn over pppoe mpls qc pass: p4lang: l3vpn over gre mpls qc pass: p4lang: l3vpn over l2tp mpls ---------------------------------- 2022-04-29 17:51:12 22.4.29 qc pass: interop1: vpls/ldp cw over bgp qc pass: interop1: ethernet over mpls cw qc pass: vpls/ldp cw over ebgp qc pass: vpls/ldp cw over ibgp qc pass: vpls/ldp cw over bgp additional path qc pass: vpls/ldp cw over ibgp rr qc pass: vpls/ldp cw over confed bgp qc pass: vpls/ldp cw over bgp route server qc pass: vpls/ldp cw over bgp with soft-reconfig qc pass: unicast+vpls/ldp cw over bgp qc pass: unicast+vpls/ldp cw over bgp with soft-reconfig qc pass: unicast+vpls/ldp cw over bgp additional path ---------------------------------- 2022-05-05 13:33:24 22.5.5 todo: sho run server ---------------------------------- 2022-05-08 07:29:17 22.5.8 todo: multiple listen stanzas for bgp listen todo: backplane header in the dataplanes with bridge_id, vrf_id and nexthop_id ---------------------------------- 2022-05-08 08:49:15 22.5.8 no todo: multiple listen stanzas for bgp listen ---------------------------------- 2022-05-09 17:17:48 22.5.9 qc pass: redistribution filtering with prefixlist in routemap qc pass: redistribution filtering with prefixlist in routepolicy qc pass: redistribution filtering with accesslist in routemap qc pass: redistribution filtering with accesslist in routepolicy ---------------------------------- 2022-05-09 18:05:52 22.5.9 qc pass: redistribution filtering with routepolicy in routemap qc pass: redistribution filtering with routemap in routepolicy ---------------------------------- 2022-05-10 05:10:26 22.5.10 todo: backup path support to the spf class todo: wcmp support to the spf class todo: bgp shadow route reflection ---------------------------------- 2022-05-10 18:06:28 22.5.10 no todo: backplane header in the dataplanes with bridge_id, vrf_id and nexthop_id todo: backplane/stacking capability ---------------------------------- 2022-05-10 19:49:37 22.5.10 no todo: sho run server ---------------------------------- 2022-05-15 11:12:50 22.5.15 qc pass: p4lang: routing over backplane ---------------------------------- 2022-05-15 13:44:40 22.5.15 qc pass: p4lang: bridging over backplane ---------------------------------- 2022-05-16 07:27:38 22.5.16 no todo: backplane/stacking capability ---------------------------------- 2022-05-18 14:49:11 22.5.18 no qc pass: p4lang downlink no qc pass: p4lang demultiplexer failed: p4lang demultiplexer failed: p4lang downlink ---------------------------------- 2022-05-18 16:13:14 22.5.18 no failed: p4lang downlink no failed: p4lang demultiplexer qc pass: p4lang demultiplexer qc pass: p4lang downlink ---------------------------------- 2022-05-19 07:31:45 22.5.19 no qc pass: dummy test qc pass: unnamed ---------------------------------- 2022-05-19 07:48:07 22.5.19 no qc pass: unnamed qc pass: dummy test qc pass: interface with slot qc pass: subinterface with slot ---------------------------------- 2022-06-01 07:23:39 22.6.1 qc pass: p4lang: mpls core over backplane qc pass: p4lang: mpls vpn over backplane ---------------------------------- 2022-06-04 20:03:25 22.6.4 todo: pcapng format for packet captures todo: configurable netflow parameters ---------------------------------- 2022-06-04 20:39:06 22.6.4 no todo: pcapng format for packet captures ---------------------------------- 2022-06-04 21:19:25 22.6.4 no todo: configurable netflow parameters ---------------------------------- 2022-06-16 12:16:09 22.6.16 no todo: bridge security from dhcp, slaac, whatever server ---------------------------------- 2022-06-16 17:21:15 22.6.16 qc pass: dhcp with arp/nd security qc pass: secure arp/nd ---------------------------------- 2022-06-23 18:48:35 22.6.23 qc pass: p4lang: local connect qc pass: p4lang: vlan local connect ---------------------------------- 2022-06-27 13:33:05 22.6.27 todo: test tstmat ---------------------------------- 2022-06-27 16:46:12 22.6.27 no todo: test tstmat ---------------------------------- 2022-07-03 12:03:44 22.7.3 qc pass: ebgp with backup peer qc pass: ibgp with backup peer qc pass: confed bgp with backup peer qc pass: route server bgp with backup peer ---------------------------------- 2022-07-05 09:45:37 22.7.5 todo: mpls static label mapping ---------------------------------- 2022-07-05 17:41:50 22.7.5 no todo: mpls static label mapping ---------------------------------- 2022-07-05 18:58:51 22.7.5 qc pass: static labels qc pass: static labels with ldp ---------------------------------- 2022-07-05 23:36:45 22.7.5 todo: ipv4/6 host-rate todo: pmtud tool ---------------------------------- 2022-07-06 00:03:31 22.7.6 todo: interface rate-limit-in/out ---------------------------------- 2022-07-06 07:39:15 22.7.6 no todo: interface rate-limit-in/out todo: test cases for interface rate-limit-in/out ---------------------------------- 2022-07-06 07:56:30 22.7.6 todo: arping ---------------------------------- 2022-07-06 08:19:21 22.7.6 no todo: ipv4/6 host-rate ---------------------------------- 2022-07-06 09:59:08 22.7.6 no todo: arping ---------------------------------- 2022-07-06 11:11:16 22.7.6 no todo: pmtud tool ---------------------------------- 2022-07-06 17:07:42 22.7.6 no todo: test cases for interface rate-limit-in/out qc pass: qos ingress policer action qc pass: qos egress policer action ---------------------------------- 2022-07-07 09:03:08 22.7.7 qc pass: pmtud qc pass: p4lang: pmtud ---------------------------------- 2022-07-07 12:38:52 22.7.7 qc pass: tcp mss in qc pass: tcp mss out ---------------------------------- 2022-07-07 13:47:14 22.7.7 no qc pass: pmtud qc pass: pmtud out qc pass: pmtud in ---------------------------------- 2022-07-07 14:00:43 22.7.7 qc pass: p4lang: vlan pmtud ---------------------------------- 2022-07-07 14:26:09 22.7.7 todo: test acl reports todo: test for ttl in ip and mpls, even in p4 todo: test for p4 tcpmss todo: bridge pmtud todo: test for bridge pmtud and tcpmss, even in p4 ---------------------------------- 2022-07-07 15:11:18 22.7.7 no qc pass: pmtud out ---------------------------------- 2022-07-07 15:23:06 22.7.7 no todo: test for p4 tcpmss qc pass: pmtud out qc pass: p4lang: tcpmss qc pass: p4lang: vlan tcpmss ---------------------------------- 2022-07-07 15:49:13 22.7.7 no todo: test acl reports ---------------------------------- 2022-07-07 16:06:55 22.7.7 no todo: test for ttl in ip and mpls, even in p4 qc pass: ip ttl exceed qc pass: mpls ttl exceed ---------------------------------- 2022-07-07 19:40:55 22.7.7 no todo: test for bridge pmtud and tcpmss, even in p4 no todo: bridge pmtud qc pass: bridge tcp mss in qc pass: bridge tcp mss out todo: bridge pmtud, even in p4 ---------------------------------- 2022-07-07 19:51:24 22.7.7 qc pass: p4lang: bridge tcpmss qc pass: p4lang: vlan bridge tcpmss ---------------------------------- 2022-07-07 21:08:45 22.7.7 no todo: bridge pmtud, even in p4 qc pass: bridge pmtud in qc pass: bridge pmtud out todo: bridge pmtud in p4 ---------------------------------- 2022-07-07 21:24:03 22.7.7 no todo: bridge pmtud in p4 qc pass: p4lang: bridge pmtud qc pass: p4lang: vlan bridge pmtud ---------------------------------- 2022-07-08 06:14:46 22.7.8 qc pass: p4lang: ip ttl exceed qc pass: p4lang: mpls ttl exceed ---------------------------------- 2022-07-09 10:01:06 22.7.9 qc pass: unnamed qc pass: unnamed ---------------------------------- 2022-07-09 10:26:30 22.7.9 no qc pass: unnamed no qc pass: unnamed qc pass: precise mac enforcement qc pass: bridge mac enforcement ---------------------------------- 2022-07-10 18:26:58 22.7.10 qc pass: unicast+rtfilter over bgp qc pass: unicast+rtfilter over bgp with soft-reconfig qc pass: unicast+rtfilter over bgp with additional path qc pass: unicast+rtfilter over ibgp rr ---------------------------------- 2022-07-11 08:11:43 22.7.11 qc pass: vpns with rtfilter in qc pass: vpns with rtfilter out ---------------------------------- 2022-07-11 08:24:20 22.7.11 no qc pass: vpns with rtfilter out no qc pass: vpns with rtfilter in qc pass: vpns with ingress rtfilter qc pass: vpns with egress rtfilter ---------------------------------- 2022-07-11 09:30:48 22.7.11 qc pass: othervpns with ingress rtfilter qc pass: othervpns with egress rtfilter ---------------------------------- 2022-07-11 13:15:50 22.7.11 qc pass: vpls/ldp with ingress rtfilter qc pass: vpls/ldp with egress rtfilter ---------------------------------- 2022-07-11 13:32:48 22.7.11 qc pass: evpn/pbb with ingress rtfilter qc pass: evpn/pbb with egress rtfilter ---------------------------------- 2022-07-20 15:33:55 22.7.20 qc pass: p4lang: multilink pppoe routing qc pass: p4lang: multilink pppoe mpls qc pass: p4lang: multilink l2tp routing over ipv4 qc pass: p4lang: multilink l2tp routing over ipv6 qc pass: p4lang: multilink l2tp routing over vlan qc pass: p4lang: multilink l2tp mpls over ipv4 qc pass: p4lang: multilink l2tp mpls over ipv6 qc pass: p4lang: multilink l2tp mpls over vlan ---------------------------------- 2022-07-20 18:03:43 22.7.20 qc pass: p4lang: multilink l2tp routing over bundle qc pass: p4lang: multilink l2tp mpls over bundle ---------------------------------- 2022-07-22 15:21:43 22.7.22 qc pass: dhcp with static allocation qc pass: dhcp with excluded address ---------------------------------- 2022-07-25 07:13:03 22.7.25 qc pass: ebgp ao password ---------------------------------- 2022-07-25 08:27:06 22.7.25 qc pass: interop1: bgp ao authentication qc pass: interop2: bgp ao authentication qc pass: interop9: bgp ao authentication ---------------------------------- 2022-07-25 22:02:31 22.7.25 no qc pass: bgp maximum prefix qc pass: bgp maximum prefix in qc pass: bgp maximum prefix out ---------------------------------- 2022-07-26 06:20:36 22.7.26 qc pass: bgp attribute filtering ---------------------------------- 2022-07-26 20:00:34 22.7.26 qc pass: bgp routemap filtering with unknown attribute qc pass: bgp routepolicy filtering with unknown attribute ---------------------------------- 2022-07-26 20:10:37 22.7.26 qc pass: bgp unknown attribute ingress qc pass: bgp unknown attribute egress ---------------------------------- 2022-07-30 21:34:14 22.7.30 qc pass: ingress fragment matching access list qc pass: ingress alert matching access list ---------------------------------- 2022-08-05 07:21:41 22.8.5 qc pass: bgp with ctp over sr qc pass: bgp with php ctp over sr qc pass: ebgp with ctp qc pass: ibgp with ctp qc pass: bgp additional path with ctp qc pass: ebgp with php ctp qc pass: ibgp with php ctp qc pass: bgp additional path with php ctp qc pass: ibgp rr with ctp qc pass: confed bgp with ctp qc pass: bgp route server with ctp qc pass: bgp soft-reconfig with ctp qc pass: ctp bgp ingress route filtering with prefixlist qc pass: ctp bgp egress route filtering with prefixlist qc pass: ctp bgp ingress route filtering with routemap qc pass: ctp bgp egress route filtering with routemap qc pass: ctp bgp ingress route filtering with prefixlist with soft-reconfig qc pass: ctp bgp egress route filtering with prefixlist with soft-reconfig qc pass: ctp bgp ingress route filtering with routemap with soft-reconfig qc pass: ctp bgp egress route filtering with routemap with soft-reconfig qc pass: ctp bgp ingress route filtering with routepolicy qc pass: ctp bgp egress route filtering with routepolicy qc pass: ctp bgp ingress route filtering with routepolicy with soft-reconfig qc pass: ctp bgp egress route filtering with routepolicy with soft-reconfig qc pass: ctp bgp default route qc pass: ctp bgp aggregation qc pass: bgp change in metric with ctp qc pass: ibgp rr prefix movement with ctp qc pass: ibgp rr prefix withdraw with ctp qc pass: unicast+octp over ebgp qc pass: unicast+octp over bgp with soft-reconfig qc pass: unicast+octp over bgp with additional path qc pass: unicast+octp over bgp route server qc pass: unicast+octp over ibgp qc pass: unicast+octp over ibgp rr qc pass: unicast+octp over confed bgp qc pass: octp over srv6 over ibgp qc pass: octp over srv6 over ebgp qc pass: octp over srv6 over ibgp rr qc pass: octp over srv6 over confed bgp qc pass: octp over srv6 over bgp route server qc pass: octp over srv6 over bgp with soft-reconfig qc pass: octp over srv6 over bgp additional path qc pass: octp bgp default route qc pass: octp bgp ingress route filtering with prefixlist qc pass: octp bgp egress route filtering with prefixlist qc pass: octp bgp ingress route filtering with routemap qc pass: octp bgp egress route filtering with routemap qc pass: octp bgp ingress route filtering with prefixlist with soft-reconfig qc pass: octp bgp egress route filtering with prefixlist with soft-reconfig qc pass: octp bgp ingress route filtering with routemap with soft-reconfig qc pass: octp bgp egress route filtering with routemap with soft-reconfig qc pass: octp bgp ingress route filtering with routepolicy qc pass: octp bgp egress route filtering with routepolicy qc pass: octp bgp ingress route filtering with routepolicy with soft-reconfig qc pass: octp bgp egress route filtering with routepolicy with soft-reconfig qc pass: octp bgp aggregation qc pass: octp bgp change in metric qc pass: octp ibgp rr prefix movement qc pass: octp ibgp rr prefix withdraw qc pass: octp ibgp fullmesh prefix withdraw qc pass: olab+octp over ebgp qc pass: redistribution with bgp ctp qc pass: redistribution with octp bgp ---------------------------------- 2022-08-05 07:48:52 22.8.5 qc pass: interop9: bgp with ctp qc pass: interop9: bgp with php ctp ---------------------------------- 2022-08-07 10:15:50 22.8.7 qc pass: bgp routemap rd rewrite qc pass: bgp routepolicy filtering with rd ---------------------------------- 2022-08-07 10:53:37 22.8.7 no qc pass: bgp routepolicy filtering with rd no qc pass: qos egress policer action no qc pass: qos ingress policer action no qc pass: mpolka over ethernet qc pass: mpolka over bridge qc pass: qos ingress rate limit action qc pass: qos egress rate limit action qc pass: bgp routepolicy rd rewrite ---------------------------------- 2022-08-08 06:39:37 22.8.8 qc pass: bgp csc vpn with ctp qc pass: redistribution route limit ---------------------------------- 2022-08-26 06:20:48 22.8.26 todo: colorful bgp lu implementation accroding to https://www.facebook.com/mc36mc36/posts/pfbid02jN7yrSNcqj1qEwMjJ5nmqaFFP6EN3wzyyMgPBjwgCnoeq5G6NoBSNc5mT5DmrvL4l ---------------------------------- 2022-08-28 04:17:39 22.8.28 no todo: p4dpdk multiseg rx/tx loop ---------------------------------- 2022-08-30 09:48:27 22.8.30 todo: todo: allowed v4/v6 range to temper ---------------------------------- 2022-08-30 11:03:45 22.8.30 no todo: colorful bgp lu implementation accroding to https://www.facebook.com/mc36mc36/posts/pfbid02jN7yrSNcqj1qEwMjJ5nmqaFFP6EN3wzyyMgPBjwgCnoeq5G6NoBSNc5mT5DmrvL4l no todo: todo: allowed v4/v6 range to temper todo: allowed v4/v6 range to temper todo: colorful bgp lu implementation accroding to https://lists.geant.org/sympa/arc/rare-dev/2022-08/msg00042.html ---------------------------------- 2022-08-30 18:18:06 22.8.30 todo: sho ipv4 bgp x flaps todo: fix enter in spacetab term behaviour ---------------------------------- 2022-11-10 06:00:07 22.11.10 no todo: sho ipv4 bgp x flaps ---------------------------------- 2022-12-14 22:17:07 22.12.14 no todo: rift4, rift6 ---------------------------------- 2022-12-15 01:09:25 22.12.15 qc pass: interop9: point2point rift qc pass: rift point2point connection qc pass: rift point2point chain qc pass: rift metric qc pass: rift address suppression qc pass: rift route filtering with prefixlist qc pass: rift route filtering with routemap qc pass: rift route filtering with routepolicy qc pass: rift tag qc pass: rift default route qc pass: rift with bfd qc pass: rift peer template qc pass: rift prefix withdraw qc pass: rift change in metric qc pass: rift change in tag qc pass: rift auto mesh tunnel qc pass: rift triangle connection qc pass: rift prefix movement qc pass: rift autoroute qc pass: rift default address suppression qc pass: rift address unsuppression qc pass: rift over point2point ethernet qc pass: rift point2point connection with bidir check qc pass: rift ecmp connection ---------------------------------- 2022-12-15 01:20:12 22.12.15 no todo: fix enter in spacetab term behaviour ---------------------------------- 2022-12-15 04:43:48 22.12.15 qc pass: rift with bgp linkstate qc pass: rift inter level chain ---------------------------------- 2022-12-15 11:21:02 22.12.15 no todo: allowed v4/v6 range to temper ---------------------------------- 2022-12-15 16:41:37 22.12.15 no todo: xot, x75 switching ---------------------------------- 2022-12-15 17:42:29 22.12.15 no todo: x25 ---------------------------------- 2022-12-16 10:02:42 22.12.16 qc pass: xot pad qc pass: rift dynamic icmp metric qc pass: rift dynamic udp metric qc pass: rift dynamic twamp metric ---------------------------------- 2022-12-20 10:49:45 22.12.20 todo: mpls inband network telemetry ---------------------------------- 2022-12-21 14:37:00 22.12.21 no qc pass: dhcp with excluded address failed: dhcp with excluded address ---------------------------------- 2022-12-21 15:47:24 22.12.21 no failed: dhcp with excluded address qc pass: dhcp with excluded address ---------------------------------- 2022-12-22 11:36:31 22.12.22 no todo: colorful bgp lu implementation accroding to https://lists.geant.org/sympa/arc/rare-dev/2022-08/msg00042.html ---------------------------------- 2022-12-22 13:16:57 22.12.22 qc pass: colors over ebgp qc pass: colors over ibgp qc pass: other colors over ebgp qc pass: other colors over ibgp todo: colorful spf class ---------------------------------- 2022-12-22 14:10:22 22.12.22 no qc pass: other colors over ebgp qc pass: colors over ibgp ---------------------------------- 2022-12-22 15:43:36 22.12.22 no qc pass: colors over ibgp qc pass: other colors over ebgp qc pass: colors over bgp additional path qc pass: other colors over bgp additional path qc pass: colors over ibgp rr qc pass: other colors over ibgp rr qc pass: colors over confed bgp qc pass: other colors over confed bgp ---------------------------------- 2022-12-22 17:25:58 22.12.22 qc pass: colors over bgp route server qc pass: other colors over bgp route server qc pass: colors over bgp with soft-reconfig qc pass: other colors over bgp with soft-reconfig ---------------------------------- 2022-12-27 05:54:01 22.12.27 no todo: colorful spf class no qc pass: lsrp database authentication failed: lsrp database authentication ---------------------------------- 2022-12-27 06:18:45 22.12.27 qc pass: lsrp flexalgo ---------------------------------- 2022-12-27 07:40:59 22.12.27 qc pass: ospf flexalgo ---------------------------------- 2022-12-27 11:29:53 22.12.27 qc pass: isis flexalgo qc pass: integrated isis address unsuppression ---------------------------------- 2022-12-27 11:51:48 22.12.27 no failed: lsrp database authentication no qc pass: integrated isis address unsuppression qc pass: integrated isis flexalgo qc pass: lsrp database authentication ---------------------------------- 2022-12-28 18:16:18 22.12.28 no todo: bgp strict bfd mode ---------------------------------- 2022-12-28 19:51:04 22.12.28 qc pass: ebgp with strict bfd ---------------------------------- 2022-12-29 02:53:35 22.12.29 qc pass: ebgp with asymmetric bfd ---------------------------------- 2022-12-30 03:18:28 22.12.30 todo: bgp route policy distribution ---------------------------------- 2022-12-30 10:04:33 22.12.30 no todo: bgp route policy distribution qc pass: unicast+rpd over bgp qc pass: unicast+rpd over bgp with soft-reconfig qc pass: unicast+rpd over bgp with additional path ---------------------------------- 2022-12-30 18:41:33 22.12.30 todo: policy from bgp rpd ---------------------------------- 2022-12-31 14:56:27 22.12.31 qc pass: legacy bgp session ---------------------------------- 2023-01-02 20:12:39 23.1.2 qc pass: pvrp with sr qc pass: pvrp with bier qc pass: pvrp with srgb sr qc pass: pvrp with selective sr qc pass: pvrp with selective bier qc pass: pvrp with polka ---------------------------------- 2023-01-03 13:04:28 23.1.3 qc pass: ipv4 target port selection qc pass: ipv6 target port selection ---------------------------------- 2023-01-03 15:07:51 23.1.3 todo: tcam compression to tabRoute todo: route filtering to p4lang ---------------------------------- 2023-01-04 07:12:28 23.1.4 qc pass: p4lang: null routing ---------------------------------- 2023-01-04 08:49:14 23.1.4 no todo: route filtering to p4lang ---------------------------------- 2023-01-04 09:57:53 23.1.4 qc pass: p4lang: route filtering with prefixlist qc pass: p4lang: route filtering with routemap qc pass: p4lang: route filtering with routepolicy ---------------------------------- 2023-01-04 17:44:39 23.1.4 no todo: tcam compression to tabRoute todo: tcam compression to routing protocols, p4lang ---------------------------------- 2023-01-05 01:27:03 23.1.5 no todo: tcam compression to routing protocols, p4lang todo: tcam compression to p4lang ---------------------------------- 2023-01-05 02:56:14 23.1.5 qc pass: babel auto summarization qc pass: eigrp auto summarization qc pass: olsr auto summarization qc pass: pvrp auto summarization qc pass: rip auto summarization ---------------------------------- 2023-01-05 03:43:48 23.1.5 qc pass: bgp aggregation ---------------------------------- 2023-01-05 03:55:40 23.1.5 no qc pass: bgp aggregation qc pass: bgp auto summarization ---------------------------------- 2023-01-05 05:06:44 23.1.5 qc pass: p4lang: routing with fib compression qc pass: p4lang: mpls with fib compression ---------------------------------- 2023-01-05 06:20:09 23.1.5 no todo: mpls inband network telemetry no todo: tcam compression to p4lang todo: mpls inband performance measurement ---------------------------------- 2023-01-20 07:37:54 23.1.20 qc pass: bgp interas vpn with multiple labels qc pass: bgp interas othervpn with multiple labels ---------------------------------- 2023-01-22 13:43:49 23.1.22 qc pass: bgp interas labels with multiple labels qc pass: bgp interas ctp with multiple labels ---------------------------------- 2023-02-04 19:54:36 23.2.4 qc pass: ebgp with hostname qc pass: ebgp with software ---------------------------------- 2023-02-07 04:22:27 23.2.7 qc pass: redistribution with rift ---------------------------------- 2023-02-07 07:37:30 23.2.7 qc pass: bgp with car over sr qc pass: bgp with php car over sr qc pass: ebgp with ctp qc pass: ibgp with ctp qc pass: bgp additional path with ctp qc pass: ebgp with php ctp qc pass: ibgp with php ctp qc pass: bgp additional path with php ctp qc pass: ibgp rr with ctp qc pass: confed bgp with ctp qc pass: bgp route server with ctp qc pass: bgp soft-reconfig with ctp qc pass: ctp bgp ingress route filtering with prefixlist qc pass: ctp bgp egress route filtering with prefixlist qc pass: ctp bgp ingress route filtering with routemap qc pass: ctp bgp egress route filtering with routemap qc pass: ctp bgp ingress route filtering with prefixlist with soft-reconfig qc pass: ctp bgp egress route filtering with prefixlist with soft-reconfig qc pass: ctp bgp ingress route filtering with routemap with soft-reconfig qc pass: ctp bgp egress route filtering with routemap with soft-reconfig qc pass: ctp bgp ingress route filtering with routepolicy qc pass: ctp bgp egress route filtering with routepolicy qc pass: ctp bgp ingress route filtering with routepolicy with soft-reconfig qc pass: ctp bgp egress route filtering with routepolicy with soft-reconfig qc pass: ctp bgp default route qc pass: ctp bgp aggregation qc pass: bgp change in metric with ctp qc pass: ibgp rr prefix movement with ctp qc pass: ibgp rr prefix withdraw with ctp qc pass: unicast+octp over ebgp qc pass: unicast+octp over bgp with soft-reconfig qc pass: unicast+octp over bgp with additional path qc pass: unicast+octp over bgp route server qc pass: unicast+octp over ibgp qc pass: unicast+octp over ibgp rr qc pass: unicast+octp over confed bgp qc pass: octp over srv6 over ibgp qc pass: octp over srv6 over ebgp qc pass: octp over srv6 over ibgp rr qc pass: octp over srv6 over confed bgp qc pass: octp over srv6 over bgp route server qc pass: octp over srv6 over bgp with soft-reconfig qc pass: octp over srv6 over bgp additional path qc pass: octp bgp default route qc pass: octp bgp ingress route filtering with prefixlist qc pass: octp bgp egress route filtering with prefixlist qc pass: octp bgp ingress route filtering with routemap qc pass: octp bgp egress route filtering with routemap qc pass: octp bgp ingress route filtering with prefixlist with soft-reconfig qc pass: octp bgp egress route filtering with prefixlist with soft-reconfig qc pass: octp bgp ingress route filtering with routemap with soft-reconfig qc pass: octp bgp egress route filtering with routemap with soft-reconfig qc pass: octp bgp ingress route filtering with routepolicy qc pass: octp bgp egress route filtering with routepolicy qc pass: octp bgp ingress route filtering with routepolicy with soft-reconfig qc pass: octp bgp egress route filtering with routepolicy with soft-reconfig qc pass: octp bgp aggregation qc pass: octp bgp change in metric qc pass: octp ibgp rr prefix movement qc pass: octp ibgp rr prefix withdraw qc pass: octp ibgp fullmesh prefix withdraw qc pass: olab+octp over ebgp qc pass: ocar+octp over ebgp qc pass: bgp csc vpn with ctp qc pass: bgp interas ctp with multiple labels ---------------------------------- 2023-02-07 07:49:15 23.2.7 no qc pass: other colors over bgp with soft-reconfig no qc pass: colors over bgp with soft-reconfig no qc pass: colors over bgp route server no qc pass: other colors over confed bgp no qc pass: colors over confed bgp no qc pass: other colors over ibgp rr no qc pass: colors over ibgp rr no qc pass: other colors over bgp additional path no qc pass: colors over bgp additional path no qc pass: other colors over ibgp no qc pass: colors over ibgp no qc pass: other colors over ebgp no qc pass: colors over ebgp qc pass: ctp colors over ebgp qc pass: other ctp colors over ebgp qc pass: ctp colors over ibgp qc pass: other ctp colors over ibgp qc pass: ctp colors over bgp additional path qc pass: other ctp colors over bgp additional path qc pass: ctp colors over ibgp rr qc pass: other ctp colors over ibgp rr qc pass: ctp colors over confed bgp qc pass: other ctp colors over confed bgp qc pass: ctp colors over bgp route server qc pass: ctp colors over bgp with soft-reconfig qc pass: other ctp colors over bgp with soft-reconfig ---------------------------------- 2023-02-07 08:05:50 23.2.7 no qc pass: other colors over bgp route server qc pass: other ctp colors over bgp route server qc pass: car colors over ebgp qc pass: other car colors over ebgp qc pass: car colors over ibgp qc pass: other car colors over ibgp qc pass: car colors over bgp additional path qc pass: other car colors over bgp additional path qc pass: car colors over ibgp rr qc pass: other car colors over ibgp rr qc pass: car colors over confed bgp qc pass: other car colors over confed bgp qc pass: car colors over bgp route server qc pass: other car colors over bgp route server qc pass: car colors over bgp with soft-reconfig qc pass: other car colors over bgp with soft-reconfig ---------------------------------- 2023-02-07 08:48:05 23.2.7 no qc pass: bgp interas ctp with multiple labels no qc pass: bgp csc vpn with ctp no qc pass: olab+octp over ebgp no qc pass: octp ibgp fullmesh prefix withdraw no qc pass: octp ibgp rr prefix withdraw no qc pass: octp ibgp rr prefix movement no qc pass: octp bgp change in metric no qc pass: octp bgp aggregation no qc pass: octp bgp egress route filtering with routepolicy with soft-reconfig no qc pass: octp bgp ingress route filtering with routepolicy with soft-reconfig no qc pass: octp bgp egress route filtering with routepolicy no qc pass: octp bgp ingress route filtering with routepolicy no qc pass: octp bgp egress route filtering with routemap with soft-reconfig no qc pass: octp bgp ingress route filtering with routemap with soft-reconfig no qc pass: octp bgp egress route filtering with prefixlist with soft-reconfig no qc pass: octp bgp ingress route filtering with prefixlist with soft-reconfig no qc pass: octp bgp egress route filtering with routemap no qc pass: octp bgp ingress route filtering with routemap no qc pass: octp bgp egress route filtering with prefixlist no qc pass: octp bgp ingress route filtering with prefixlist no qc pass: octp bgp default route no qc pass: octp over srv6 over bgp additional path no qc pass: octp over srv6 over bgp with soft-reconfig no qc pass: octp over srv6 over bgp route server no qc pass: octp over srv6 over confed bgp no qc pass: octp over srv6 over ibgp rr no qc pass: octp over srv6 over ebgp no qc pass: octp over srv6 over ibgp no qc pass: unicast+octp over confed bgp no qc pass: unicast+octp over ibgp rr no qc pass: unicast+octp over ibgp no qc pass: unicast+octp over bgp route server no qc pass: unicast+octp over bgp with additional path no qc pass: unicast+octp over bgp with soft-reconfig no qc pass: unicast+octp over ebgp no qc pass: ibgp rr prefix withdraw with ctp no qc pass: ibgp rr prefix movement with ctp no qc pass: bgp change in metric with ctp no qc pass: ctp bgp aggregation no qc pass: ctp bgp default route no qc pass: ctp bgp egress route filtering with routepolicy with soft-reconfig no qc pass: ctp bgp ingress route filtering with routepolicy with soft-reconfig no qc pass: ctp bgp egress route filtering with routepolicy no qc pass: ctp bgp ingress route filtering with routepolicy no qc pass: ctp bgp egress route filtering with routemap with soft-reconfig no qc pass: ctp bgp ingress route filtering with routemap with soft-reconfig no qc pass: ctp bgp egress route filtering with prefixlist with soft-reconfig no qc pass: ctp bgp ingress route filtering with prefixlist with soft-reconfig no qc pass: ctp bgp egress route filtering with routemap no qc pass: ctp bgp ingress route filtering with routemap no qc pass: ctp bgp egress route filtering with prefixlist no qc pass: ctp bgp ingress route filtering with prefixlist no qc pass: bgp soft-reconfig with ctp no qc pass: bgp route server with ctp no qc pass: confed bgp with ctp no qc pass: ibgp rr with ctp no qc pass: bgp additional path with php ctp no qc pass: ibgp with php ctp no qc pass: ebgp with php ctp no qc pass: bgp additional path with ctp no qc pass: ibgp with ctp no qc pass: ebgp with ctp qc pass: ebgp with car qc pass: ibgp with car qc pass: bgp additional path with car qc pass: ebgp with php car qc pass: ibgp with php car qc pass: bgp additional path with php car qc pass: ibgp rr with car qc pass: confed bgp with car qc pass: bgp route server with car qc pass: bgp soft-reconfig with car qc pass: car bgp ingress route filtering with prefixlist qc pass: car bgp egress route filtering with prefixlist qc pass: car bgp ingress route filtering with routemap qc pass: car bgp egress route filtering with routemap qc pass: car bgp ingress route filtering with prefixlist with soft-reconfig qc pass: car bgp egress route filtering with prefixlist with soft-reconfig qc pass: car bgp ingress route filtering with routemap with soft-reconfig qc pass: car bgp egress route filtering with routemap with soft-reconfig qc pass: car bgp ingress route filtering with routepolicy qc pass: car bgp egress route filtering with routepolicy qc pass: car bgp ingress route filtering with routepolicy with soft-reconfig qc pass: car bgp egress route filtering with routepolicy with soft-reconfig qc pass: car bgp default route qc pass: car bgp aggregation qc pass: bgp change in metric with car qc pass: ibgp rr prefix movement with car qc pass: ibgp rr prefix withdraw with car qc pass: unicast+ocar over ebgp qc pass: unicast+ocar over bgp with soft-reconfig qc pass: unicast+ocar over bgp with additional path qc pass: unicast+ocar over bgp route server qc pass: unicast+ocar over ibgp qc pass: unicast+ocar over ibgp rr qc pass: unicast+ocar over confed bgp qc pass: ocar over srv6 over ibgp qc pass: ocar over srv6 over ebgp qc pass: ocar over srv6 over ibgp rr qc pass: ocar over srv6 over confed bgp qc pass: ocar over srv6 over bgp route server qc pass: ocar over srv6 over bgp with soft-reconfig qc pass: ocar over srv6 over bgp additional path qc pass: ocar bgp default route qc pass: ocar bgp ingress route filtering with prefixlist qc pass: ocar bgp egress route filtering with prefixlist qc pass: ocar bgp ingress route filtering with routemap qc pass: ocar bgp egress route filtering with routemap qc pass: ocar bgp ingress route filtering with prefixlist with soft-reconfig qc pass: ocar bgp egress route filtering with prefixlist with soft-reconfig qc pass: ocar bgp ingress route filtering with routemap with soft-reconfig qc pass: ocar bgp egress route filtering with routemap with soft-reconfig qc pass: ocar bgp ingress route filtering with routepolicy qc pass: ocar bgp egress route filtering with routepolicy qc pass: ocar bgp ingress route filtering with routepolicy with soft-reconfig qc pass: ocar bgp egress route filtering with routepolicy with soft-reconfig qc pass: ocar bgp aggregation qc pass: ocar bgp change in metric qc pass: ocar ibgp rr prefix movement qc pass: ocar ibgp rr prefix withdraw qc pass: ocar ibgp fullmesh prefix withdraw qc pass: olab+ocar over ebgp qc pass: bgp csc vpn with car qc pass: bgp interas car with multiple labels ---------------------------------- 2023-02-08 20:02:57 23.2.8 no qc pass: p4lang: route filtering with routepolicy no qc pass: p4lang: route filtering with prefixlist qc pass: p4lang: fib route filtering with prefixlist qc pass: p4lang: fib filtering with routepolicy ---------------------------------- 2023-02-08 20:15:01 23.2.8 no qc pass: p4lang: route filtering with routemap no qc pass: p4lang: fib route filtering with prefixlist qc pass: p4lang: fib filtering with prefixlist qc pass: p4lang: fib filtering with routemap ---------------------------------- 2023-02-10 09:44:07 23.2.10 qc pass: interop1: igmp3/mld2 qc pass: interop1: pim ---------------------------------- 2023-02-11 00:13:06 23.2.10 todo: more tabbables ---------------------------------- 2023-02-11 02:58:09 23.2.11 todo: rework snmp to use sensors ---------------------------------- 2023-02-11 05:09:19 23.2.11 todo: router asdf vrf qwer, converted to current form todo: interface lo0 as lo-core, persistently ---------------------------------- 2023-02-11 11:03:46 23.2.11 todo: consider term caps todo: bgp to have xr-alike neighbor/template statements with upgrade-cli todo: more upgrade-cli knobs ---------------------------------- 2023-02-11 11:29:25 23.2.11 no todo: router asdf vrf qwer, converted to current form ---------------------------------- 2023-02-11 11:44:40 23.2.11 todo: more renamers ---------------------------------- 2023-02-15 13:46:45 23.2.15 todo: show ipv4 isis 1 graph 2 pretty ---------------------------------- 2023-02-15 19:17:11 23.2.15 no todo: show ipv4 isis 1 graph 2 pretty no qc pass: interop1: pim no qc pass: interop1: igmp3/mld2 qc pass: interop8: igmp3/mld2 qc pass: interop8: pim ---------------------------------- 2023-02-20 10:54:28 23.2.20 no todo: consider term caps ---------------------------------- 2023-02-26 06:23:16 23.2.26 todo: vnc console to the vdc definition todo: boot order to vdc definition ---------------------------------- 2023-02-26 07:28:36 23.2.26 todo: dn42ix-vm-switch#terminal no tablemode [fancy]--- % unknown exec command entered ---------------------------------- 2023-02-26 12:02:25 23.2.26 todo: fuckup from yesterday: the colsole times out now, go for it asap you crazy fool XD ---------------------------------- 2023-02-27 09:29:28 23.2.27 no todo: fuckup from yesterday: the colsole times out now, go for it asap you crazy fool XD ---------------------------------- 2023-02-27 11:02:25 23.2.27 no todo: boot order to vdc definition no todo: dn42ix-vm-switch#terminal no tablemode [fancy]--- % unknown exec command entered ---------------------------------- 2023-02-27 12:28:07 23.2.27 no todo: vnc console to the vdc definition ---------------------------------- 2023-02-27 20:25:01 23.2.27 todo: pastebin for the cli ---------------------------------- 2023-02-27 22:16:18 23.2.27 todo: server http and : in the file names ---------------------------------- 2023-02-28 00:58:52 23.2.28 no todo: server http and : in the file names ---------------------------------- 2023-02-28 15:53:45 23.2.28 todo: noflash -hw.txt knob, automatically on for vdcs ---------------------------------- 2023-02-28 17:18:05 23.2.28 no todo: noflash -hw.txt knob, automatically on for vdcs ---------------------------------- 2023-02-28 17:33:09 23.2.28 todo: send ttyX exec command ---------------------------------- 2023-02-28 20:27:52 23.2.28 no todo: send ttyX exec command ---------------------------------- 2023-03-01 09:33:37 23.3.1 todo: terminal background and foreground ---------------------------------- 2023-03-01 16:51:43 23.3.1 no todo: pastebin for the cli todo: curl ---------------------------------- 2023-03-01 17:04:00 23.3.1 todo: afi-vrf asdf setvrf todo: asn for remote-as -1 in shows ---------------------------------- 2023-03-03 12:24:49 23.3.3 no todo: afi-vrf asdf setvrf todo: test for afi-vrf asdf setvrf ---------------------------------- 2023-03-05 21:49:13 23.3.5 todo: zenmaster cli knob ---------------------------------- 2023-03-06 05:49:01 23.3.6 no todo: zenmaster cli knob ---------------------------------- 2023-03-06 20:11:29 23.3.6 qc pass: vpn colors over ebgp qc pass: vpn colors over ibgp ---------------------------------- 2023-03-06 21:10:20 23.3.6 no todo: asn for remote-as -1 in shows no todo: test for afi-vrf asdf setvrf ---------------------------------- 2023-03-11 08:50:49 23.3.11 qc pass: ebgp with any remote qc pass: ibgp with any remote ---------------------------------- 2023-03-15 17:24:03 23.3.13 todo: server smtp auto-reply editor/text/etc ---------------------------------- 2023-03-15 18:03:19 23.3.15 todo: ignorance kills ---------------------------------- 2023-03-15 21:16:50 23.3.15 no todo: ignorance kills ---------------------------------- 2023-03-15 21:59:25 23.3.15 todo: in servers, where applicable, introduce Files.setPosixFilePermissions(path, PosixFilePermissions.fromString("rw-r-----")); ---------------------------------- 2023-03-15 22:23:41 23.3.15 no todo: in servers, where applicable, introduce Files.setPosixFilePermissions(path, PosixFilePermissions.fromString("rw-r-----")); todo: in servers, where applicable, introduce Files.setPosixFilePermissions(path, PosixFilePermissions.fromString("rw-r-----")); or with http://www.java2s.com/Tutorials/Java/Java_io/1030__Java_nio_File_Owner_Permissions.htm ---------------------------------- 2023-03-16 03:32:01 23.3.16 todo: config committed with check for saved and backup config ---------------------------------- 2023-03-16 16:47:17 23.3.16 todo: renew the signing key! ---------------------------------- 2023-03-17 16:17:53 23.3.17 todo: rfc9340 todo: rfc9373 ---------------------------------- 2023-03-18 02:43:11 23.3.17 no todo: quic todo: quic when it have at least adjustmss... ---------------------------------- 2023-03-18 05:53:04 23.3.18 todo: lsrp / pvrp path-mtu-discovery / single-session todo: bgp/msdp: neigh x.x.x.x path-mtu-discovery todo: bgp/msdp: neigh x.x.x.x single-session todo: bgp/msdp: neigh x.x.x.x multi-session todo: bgp/msdp: neigh x.x.x.x zero-session ---------------------------------- 2023-03-18 20:37:15 23.3.18 no todo: bgp/msdp: neigh x.x.x.x zero-session no todo: bgp/msdp: neigh x.x.x.x multi-session no todo: bgp/msdp: neigh x.x.x.x single-session ---------------------------------- 2023-03-21 06:23:27 23.3.21 todo: server http / host * searchbar ---------------------------------- 2023-03-21 08:29:34 23.3.21 todo: server smtp / ptmud todo: server http / host * ptmud ---------------------------------- 2023-03-21 10:58:53 23.3.21 todo: server http / host * user-agent matcher todo: server http / host * custom-header ---------------------------------- 2023-04-28 03:40:47 23.4.28 no qc pass: qos ingress shaper action failed: qos ingress shaper action ---------------------------------- 2023-04-28 03:53:58 23.4.28 no failed: qos ingress shaper action qc pass: qos ingress shaper action ---------------------------------- 2023-05-02 16:50:00 23.5.2 no qc pass: dhcp with excluded address failed: dhcp with excluded address ---------------------------------- 2023-05-03 02:29:22 23.5.3 no failed: dhcp with excluded address qc pass: dhcp with excluded address ---------------------------------- 2023-05-08 00:05:09 23.5.7 todo: change the flash upgrade key ---------------------------------- 2023-05-08 02:59:05 23.5.8 todo: make polka configurable like the crypto stuff ---------------------------------- 2023-05-09 22:45:58 23.5.9 no todo: make polka configurable like the crypto stuff ---------------------------------- 2023-05-10 07:56:46 23.5.10 todo: test macaddr to convert to colon format todo: stop undver vpdn ---------------------------------- 2023-05-10 11:15:19 23.5.10 no todo: test macaddr to convert to colon format ---------------------------------- 2023-05-10 11:52:22 23.5.10 no todo: stop undver vpdn ---------------------------------- 2023-05-10 18:32:40 23.5.10 no todo: change the flash upgrade key ---------------------------------- 2023-05-12 00:34:28 23.5.10 todo: bgp neigh xxx collect-unknowns ---------------------------------- 2023-05-14 12:23:37 23.5.14 no todo: bgp neigh xxx collect-unknowns ---------------------------------- 2023-05-15 15:16:42 23.5.15 todo: sho run cons ---------------------------------- 2023-05-15 15:43:22 23.5.15 no todo: bgp/msdp: neigh x.x.x.x path-mtu-discovery no todo: lsrp / pvrp path-mtu-discovery / single-session no todo: server http / host * custom-header no todo: server http / host * user-agent matcher no todo: sho run cons todo: server http / host * custom-header knob todo: server http / host * user-agent matcher with redirect todo: lsrp / pvrp pmtud todo: bgp/msdp: neigh x.x.x.x pmtud ---------------------------------- 2023-05-15 18:37:55 23.5.15 todo: test access-list
$a" freeRtr-24.11.16/misc/bogon/add6.html 0000664 0000000 0000000 00000000507 14716276021 0017132 0 ustar 00root root 0000000 0000000
$a" freeRtr-24.11.16/misc/bogon/del4.html 0000664 0000000 0000000 00000000507 14716276021 0017144 0 ustar 00root root 0000000 0000000
$a" freeRtr-24.11.16/misc/bogon/del6.html 0000664 0000000 0000000 00000000507 14716276021 0017146 0 ustar 00root root 0000000 0000000
$a" freeRtr-24.11.16/misc/bogon/home.html 0000664 0000000 0000000 00000000755 14716276021 0017251 0 ustar 00root root 0000000 0000000
$a" freeRtr-24.11.16/misc/bogon/show6.tcl 0000664 0000000 0000000 00000000264 14716276021 0017200 0 ustar 00root root 0000000 0000000 set ipa a set ipb a set tag a set vrf a script local.tcl local set a [exec "show startup | reginc ipv6.route.*tag.$tag"] puts "bogons:
$a" freeRtr-24.11.16/misc/captures/ 0000775 0000000 0000000 00000000000 14716276021 0016146 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/misc/captures/buffer.sh 0000775 0000000 0000000 00000000037 14716276021 0017756 0 ustar 00root root 0000000 0000000 #!/bin/sh pcapfix -d eth1.pcap freeRtr-24.11.16/misc/captures/live-tcpdump.sh 0000775 0000000 0000000 00000000061 14716276021 0021113 0 ustar 00root root 0000000 0000000 #!/bin/sh tail -f -c +0 eth1.pcap | tcpdump -r - freeRtr-24.11.16/misc/captures/live-tshark.sh 0000775 0000000 0000000 00000000060 14716276021 0020732 0 ustar 00root root 0000000 0000000 #!/bin/sh tail -f -c +0 eth1.pcap | tshark -i - freeRtr-24.11.16/misc/captures/live-wireshark.sh 0000775 0000000 0000000 00000000066 14716276021 0021443 0 ustar 00root root 0000000 0000000 #!/bin/sh tail -f -c +0 eth1.pcap | wireshark -k -i - freeRtr-24.11.16/misc/check/ 0000775 0000000 0000000 00000000000 14716276021 0015375 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/misc/check/bgp-rr.txt 0000664 0000000 0000000 00000001405 14716276021 0017327 0 ustar 00root root 0000000 0000000 check uni4 command sho ipv4 bgp 65535 unicast compare 10.5.1.10 10.26.26.2 cluster locpref train description ipv4 bgp unicast consistency error-text inconsistent advertisements exit check uni6 command sho ipv6 bgp 65535 unicast compare 2001:db8:36::2 2001:db8:1026:1001::2 cluster locpref train description ipv6 bgp unicast consistency error-text inconsistent advertisements exit check vpn4 command sho ipv4 bgp 65535 vpnuni compare 10.5.1.10 10.26.26.2 cluster locpref train description ipv4 bgp vpnuni consistency error-text inconsistent advertisements exit check vpn6 command sho ipv6 bgp 65535 vpnuni compare 2001:db8:36::2 2001:db8:1026:1001::2 cluster locpref train description ipv6 bgp vpnuni consistency error inconsistent advertisements exit freeRtr-24.11.16/misc/check/isis.txt 0000664 0000000 0000000 00000000365 14716276021 0017111 0 ustar 00root root 0000000 0000000 check isis4 command sho ipv4 isis 1 spf | include able description ipv4 isis reachability error-text nodes changed train exit check isis6 command sho ipv6 isis 1 spf | include able description ipv6 isis reachability inherit isis4 exit freeRtr-24.11.16/misc/check/lsrp.txt 0000664 0000000 0000000 00000000365 14716276021 0017122 0 ustar 00root root 0000000 0000000 check lsrp4 command sho ipv4 lsrp 1 spf | include able description ipv4 lsrp reachability error-text nodes changed train exit check lsrp6 command sho ipv6 lsrp 1 spf | include able description ipv6 lsrp reachability inherit lsrp4 exit freeRtr-24.11.16/misc/check/ospf.txt 0000664 0000000 0000000 00000000365 14716276021 0017111 0 ustar 00root root 0000000 0000000 check ospf4 command sho ipv4 ospf 1 spf | include able description ipv4 ospf reachability error-text nodes changed train exit check ospf6 command sho ipv6 ospf 1 spf | include able description ipv6 ospf reachability inherit ospf4 exit freeRtr-24.11.16/misc/consistency/ 0000775 0000000 0000000 00000000000 14716276021 0016661 5 ustar 00root root 0000000 0000000 freeRtr-24.11.16/misc/consistency/bgp-advertised-ipv4mul.tcl 0000664 0000000 0000000 00000000116 14716276021 0023661 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast route-policy advertised"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-advertised-ipv4uni.tcl 0000664 0000000 0000000 00000000114 14716276021 0023655 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast route-policy advertised"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-advertised-ipv6mul.tcl 0000664 0000000 0000000 00000000116 14716276021 0023663 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 multicast route-policy advertised"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-advertised-ipv6uni.tcl 0000664 0000000 0000000 00000000114 14716276021 0023657 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 unicast route-policy advertised"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-evpn.tcl 0000664 0000000 0000000 00000000151 14716276021 0023267 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 evpn compare 195.111.97.93 195.111.97.179 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-ipv4mul.tcl 0000664 0000000 0000000 00000000156 14716276021 0023724 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast compare 195.111.97.93 195.111.97.179 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-ipv4uni.tcl 0000664 0000000 0000000 00000000164 14716276021 0023721 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast compare 195.111.97.93 195.111.97.179 cluster extcomm | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-ipv6mul.tcl 0000664 0000000 0000000 00000000155 14716276021 0023725 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 multicast compare 2001:738::c 2001:738::179:1 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-ipv6uni.tcl 0000664 0000000 0000000 00000000163 14716276021 0023722 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 unicast compare 2001:738::c 2001:738::179:1 cluster extcomm | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-mvpn.tcl 0000664 0000000 0000000 00000000151 14716276021 0023277 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 mvpn compare 195.111.97.93 195.111.97.179 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-omvpn.tcl 0000664 0000000 0000000 00000000151 14716276021 0023456 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 mvpn compare 195.111.97.93 195.111.97.179 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-srte.tcl 0000664 0000000 0000000 00000000151 14716276021 0023274 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 srte compare 195.111.97.93 195.111.97.179 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-vpls.tcl 0000664 0000000 0000000 00000000161 14716276021 0023304 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 vpls compare 195.111.97.93 195.111.97.179 cluster extcomm | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-vpnv4.tcl 0000664 0000000 0000000 00000000163 14716276021 0023377 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 vpnuni compare 195.111.97.93 195.111.97.179 cluster extcomm | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-consistent-vpnv6.tcl 0000664 0000000 0000000 00000000154 14716276021 0023401 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 ovpnuni compare 195.111.97.93 195.111.97.179 cluster | first 20"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-default-ipv4.tcl 0000664 0000000 0000000 00000000130 14716276021 0022431 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast allroute 0.0.0.0/0 | include update"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-default-ipv6.tcl 0000664 0000000 0000000 00000000123 14716276021 0022435 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 unicast allroute ::/0 | include update"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-default4mul.tcl 0000664 0000000 0000000 00000000132 14716276021 0022355 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast allroute 0.0.0.0/0 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-default4uni.tcl 0000664 0000000 0000000 00000000130 14716276021 0022351 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast allroute 0.0.0.0/0 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-default6mul.tcl 0000664 0000000 0000000 00000000125 14716276021 0022361 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 multicast allroute ::/0 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-default6uni.tcl 0000664 0000000 0000000 00000000123 14716276021 0022355 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 unicast allroute ::/0 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-flapstat-ipv4.tcl 0000664 0000000 0000000 00000000073 14716276021 0022631 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 logger 1955 flapstat 10"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-flapstat-ipv6.tcl 0000664 0000000 0000000 00000000073 14716276021 0022633 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 logger 1955 flapstat 10"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-193-224mul.tcl 0000664 0000000 0000000 00000000137 14716276021 0023162 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast allroute 193.224.0.0/15 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-193-224uni.tcl 0000664 0000000 0000000 00000000135 14716276021 0023156 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast allroute 193.224.0.0/15 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-193-6mul.tcl 0000664 0000000 0000000 00000000135 14716276021 0023016 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast allroute 193.6.0.0/16 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-193-6uni.tcl 0000664 0000000 0000000 00000000133 14716276021 0023012 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast allroute 193.6.0.0/16 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-195-111mul.tcl 0000664 0000000 0000000 00000000137 14716276021 0023157 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast allroute 195.111.0.0/16 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-195-111uni.tcl 0000664 0000000 0000000 00000000135 14716276021 0023153 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast allroute 195.111.0.0/16 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-195-199mul.tcl 0000664 0000000 0000000 00000000137 14716276021 0023177 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 multicast allroute 195.199.0.0/16 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-195-199uni.tcl 0000664 0000000 0000000 00000000135 14716276021 0023173 0 ustar 00root root 0000000 0000000 set a [exec "show ipv4 bgp 1955 unicast allroute 195.199.0.0/16 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-2001-738mul.tcl 0000664 0000000 0000000 00000000136 14716276021 0023241 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 multicast allroute 2001:738::/32 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-network-2001-738uni.tcl 0000664 0000000 0000000 00000000134 14716276021 0023235 0 ustar 00root root 0000000 0000000 set a [exec "show ipv6 bgp 1955 unicast allroute 2001:738::/32 | inc preference"] puts "$a" freeRtr-24.11.16/misc/consistency/bgp-show.tcl 0000664 0000000 0000000 00000000700 14716276021 0021110 0 ustar 00root root 0000000 0000000 proc dosh { cmd } { global sh set res [exec "term tab html" $cmd] set sh "$sh$cmd